login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
15
Re: [patch 1/5] Debugobjects transition check (updated changelog)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Thomas Gleixner
Subject:
Re: [patch 1/5] Debugobjects transition check (updated changelog)
Date: Thursday, April 15, 2010 - 11:32 am
B1;2005;0cOn Tue, 6 Apr 2010, Mathieu Desnoyers wrote:
quoted text
> Implement a basic state machine checker in the debugobjects. > > This state machine checker detects races and inconsistencies within the "active" > life of a debugobject. The checker only keeps track of the current state; all > the state machine logic is kept at the object instance level. > > The checker works by adding a supplementary "unsigned int astate" field to the > debug_obj structure. It keeps track of the current "active state" of the object. > > The only constraints that are imposed on the states by the debugobjects system > is that: > > - activation of an object sets the current active state to 0, > - deactivation of an object expects the current active state to be 0. > > For the rest of the states, the state mapping is determined by the specific > object instance. Therefore, the logic keeping track of the state machine is > within the specialized instance, without any need to know about it at the > debugobject level. > > The current object active state is changed by calling: > > debug_object_active_state(addr, descr, expect, next) > > where "expect" is the expected state and "next" is the next state to move to if > the expected state is found. A warning is generated if the expected is not > found.
Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Please feel free to pull that into the rcu branch where the users are going to be. Thanks, tglx --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 0/5] RCU head debug (v5)
, Mathieu Desnoyers
, (Mon Mar 29, 7:34 am)
[patch 1/5] Debugobjects transition check
, Mathieu Desnoyers
, (Mon Mar 29, 7:34 am)
[patch 2/5] rcu head introduce rcu head init on stack
, Mathieu Desnoyers
, (Mon Mar 29, 7:34 am)
[patch 3/5] remove all rcu head initializations, except on ...
, Mathieu Desnoyers
, (Mon Mar 29, 7:34 am)
[patch 4/5] rcu head remove init
, Mathieu Desnoyers
, (Mon Mar 29, 7:34 am)
[patch 5/5] tree/tiny rcu: Add debug RCU head objects (v5)
, Mathieu Desnoyers
, (Mon Mar 29, 7:34 am)
[PATCH] rcu head debug consider on stack fixup
, Mathieu Desnoyers
, (Mon Mar 29, 8:14 am)
Re: [patch 1/5] Debugobjects transition check
, Thomas Gleixner
, (Tue Mar 30, 9:21 am)
Re: [patch 1/5] Debugobjects transition check
, Mathieu Desnoyers
, (Wed Mar 31, 6:31 am)
Re: [patch 1/5] Debugobjects transition check
, Thomas Gleixner
, (Wed Mar 31, 6:51 am)
Re: [patch 1/5] Debugobjects transition check
, Mathieu Desnoyers
, (Wed Mar 31, 7:27 am)
Re: [patch 1/5] Debugobjects transition check
, Thomas Gleixner
, (Tue Apr 6, 1:15 am)
[patch 1/5] Debugobjects transition check (updated changelog)
, Mathieu Desnoyers
, (Tue Apr 6, 5:53 am)
Re: [patch 1/5] Debugobjects transition check (updated cha ...
, Thomas Gleixner
, (Thu Apr 15, 11:32 am)
Re: [patch 1/5] Debugobjects transition check (updated cha ...
, Paul E. McKenney
, (Thu Apr 15, 11:37 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Ingo Molnar
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Andi Kleen
Re: - romsignature-checksum-cleanup-2.patch removed from -mm tree
Axel Lin
[PATCH] tc6393xb: fix wrong goto labels for error handling
git
:
Christian Jaeger
Re: Problem with Git.pm bidi_pipe methods
Linus Torvalds
Re: mingw, windows, crlf/lf, and git
Nicolas Pitre
Re: [PATCH 2/2] Implement a simple delta_base cache
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Jeff King
[PATCH 1/4] t4012: use test_cmp instead of cmp
git-commits-head
:
Linux Kernel Mailing List
i2c-i801: Add Intel Cougar Point device IDs
Linux Kernel Mailing List
Staging: batman-adv: splitting /proc vis file into vis_server and vis_data
Linux Kernel Mailing List
drm/i915: Add information on pinning and fencing to the i915 list debug.
Linux Kernel Mailing List
ocfs2: Stop orphan scan as early as possible during umount
Linux Kernel Mailing List
x86, apic: clean up spurious vector sanity check
linux-netdev
:
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Lennert Buytenhek
Re: [PATCH 3/6] [NET] dsa: add support for original DSA tagging format
Inaky Perez-Gonzalez
[PATCH 40/40] wimax/i2400m: add CREDITS and MAINTAINERS entries
Pavel Emelyanov
[PATCH net-2.6.26 2/2][NETNS]: The generic per-net pointers.
freebsd-current
:
Boris Samorodov
Re: twa + dump = sbwait
John Baldwin
Re: Possible case of sched_ule never honoring cpu_set affinity?
韓家標 Bill Hacker
Re: ZFS honesty
samira
sata atapi on ich9r
Bjoern A. Zeeb
Re: Can not boot 7.0-BETA3 with IPSEC
Colocation donated by:
Syndicate