v6 add lockdep-based diagnostics to rcu_dereference()
Subsystems (26)
cover v6 add lockdep-based diagnostics to rcu_dereference()
Hello!
This patch series adds lockdep-based checking to the rcu_dereference() primitive in order to flag misuses of RCU. The first four patches put the RCU infrastructure in place, the next eight use this infrastructure in the net, sched, vfs, radix-tree, idr, and security subsystems, and patch 13 documents how to use the new lockdep-checked rcu_dereference() primitives. The remaining eight patches are other changes that also need to be applied, including some relatively urgent RCU_STALL patches.
The new (and default-disabled) CONFIG_PROVE_RCU makes this safe to include in tip/core/rcu -- unlike v2 and earlier, your system won't complain about RCU misuse unless you ask it to. There are still several situations that trigger on systems I have access to (and I have email out on a couple of them), some of the remaining will be triggered only by hardware I don't have access to and kernel features I am unfamiliar with. So this is ready for much wider testing.
Changes since v5 (http://lkml.org/lkml/2010/2/17/271)
o Fix a deadlock located by Thomas Gleixner that affects
TREE_PREEMPT_RCU in some CPU-stall detection scenarios.
o Add Dan Carpenter's cleanup to a mod_timer() in rcutorture.
o Add a RCU_CPU_STALL_VERBOSE to enable dumping more information
on tasks stalling the current RCU grace period.
o Applied Acked-by lines that people have sent (thank you all!).
Changes since v4 (http://lkml.org/lkml/2010/2/11/356)
o Apply review comments from Peter Ziljstra.
o Another documentation update.
o Fixes that avoid overflowing signed integers.
o Rebased Thomas Gleixner's raw-spinlock patch on this series.
(Thomas's original at http://lkml.org/lkml/2010/2/17/182.)
Changes since v3 (http://lkml.org/lkml/2010/1/14/505)
o Fix a few more issues identified by the checking.
o Add a documentation update.
o Accelerate RCU grace periods when the current CPU is the last
non-dyntick-idle CPU in the system, which is important for some multi-core battery-powered devices.
Changes since v2 (http://lkml.org/lkml/2010/1/4/496):
o Removed references to the check condition for the non-lockdep
version of rcu_dereference_check(), thus preventing numerous build errors.
o Create a CONFIG_PROVE_RCU (default disabled) so that developers
who want to use lockdep only to debug locks aren't bothered by RCU-specific lockdep complaints that will no doubt persist for a little bit while some of the more obscure uses of RCU are reverse-engineered.
o Fix a few more issues identified by the checking.
o Add documentation in Documentation/RCU/lockdep.txt.
Changes since v1 (http://lkml.org/lkml/2009/12/15/553):
o Made SRCU have per-srcu_struct lockdep maps to prevent lockdep
from conflating independent uses of SRCU, and updated the rcu_dereference() checking in rcutorture to match.
o Fix a few issues identified by the checking.
o Disable checking within RCU list macros, RCU radix trees, and
IDR.
PATCH 1/21 rcu: introduce lockdep-based checking to RCU read-side primitives
Inspection is proving insufficient to catch all RCU misuses, which is understandable given that rcu_dereference() might be protected by any of four different flavors of RCU (RCU, RCU-bh, RCU-sched, and SRCU), and might also/instead be protected by any of a number of locking primitives. It is therefore time to enlist the aid of lockdep.
This set of patches is inspired by earlier work by Peter Zijlstra and Thomas Gleixner, and takes the following approach:
o Set up separate lockdep classes for RCU, RCU-bh, and RCU-sched.
o Set up separate lockdep classes for each instance of SRCU.
o Create primitives that check for being in an RCU read-side
critical section. These return exact answers if lockdep is fully enabled, but if unsure, report being in an RCU read-side critical section. (We want to avoid false positives!) The primitives are:
For RCU: rcu_read_lock_held(void)
For RCU-bh: rcu_read_lock_bh_held(void)
For RCU-sched: rcu_read_lock_sched_held(void)
For SRCU: srcu_read_lock_held(struct srcu_struct *sp)
o Add rcu_dereference_check(), which takes a second argument
in which one places a boolean expression based on the above primitives and/or lockdep_is_held().
o A new kernel configuration parameter, CONFIG_PROVE_RCU, enables
rcu_dereference_check(). This depends on CONFIG_PROVE_LOCKING, and should be quite helpful during the transition period while CONFIG_PROVE_RCU-unaware patches are in flight.
The existing rcu_dereference() primitive does no checking, but upcoming patches will change that.
--- include/linux/rcupdate.h | 126 ++++++++++++++++++++++++++++++++++++++++++---- include/linux/srcu.h | 87 +++++++++++++++++++++++++++++++- kernel/rcupdate.c | 10 ++++ kernel/rcutorture.c | 12 ++++- kernel/srcu.c | 50 ++++++++++++------ lib/Kconfig.debug | 12 ++++ lib/debug_locks.c | 1 + 7 files changed, 267 insertions(+), 31 deletions(-)
include/linux/rcupdate.h +116 -10
@@ -78,14 +78,120 @@ extern void rcu_init(void); } while (0)#ifdef CONFIG_DEBUG_LOCK_ALLOC +extern struct lockdep_map rcu_lock_map; -# define rcu_read_acquire () \ - lock_acquire(&rcu_lock_map, 0, 0, 2, 1, NULL, _THIS_IP_) +# define rcu_read_acquire () \ + lock_acquire(&rcu_lock_map, 0, 0, 2, 1, NULL, _THIS_IP_)# define rcu_read_release () lock_release(&rcu_lock_map, 1, _THIS_IP_) -#else -# define rcu_read_acquire () do { } while (0) -# define rcu_read_release () do { } while (0) -#endif + +extern struct lockdep_map rcu_bh_lock_map; +# define rcu_read_acquire_bh () \ + lock_acquire(&rcu_bh_lock_map, 0, 0, 2, 1, NULL, _THIS_IP_) +# define rcu_read_release_bh () lock_release(&rcu_bh_lock_map, 1, _THIS_IP_) + +extern struct lockdep_map rcu_sched_lock_map; +# define rcu_read_acquire_sched () \ + lock_acquire(&rcu_sched_lock_map, 0, 0, 2, 1, NULL, _THIS_IP_) +# define rcu_read_release_sched () \ + lock_release(&rcu_sched_lock_map, 1, _THIS_IP_) + +/** +* rcu_read_lock_held - might we be in RCU read-side critical section? +* +* If CONFIG_PROVE_LOCKING is selected and enabled, returns nonzero iff in +* an RCU read-side critical section. In absence of CONFIG_PROVE_LOCKING, +* this assumes we are in an RCU read-side critical section unless it can +* prove otherwise. +*/ +static inline int rcu_read_lock_held (void ) +{ +if (debug_locks) +return lock_is_held (&rcu_lock_map); +return 1 ; +} + +/** +* rcu_read_lock_bh_held - might we be in RCU-bh read-side critical section? +* +* If CONFIG_PROVE_LOCKING is selected and enabled, returns nonzero iff in +* an RCU-bh read-side critical section. In absence of CONFIG_PROVE_LOCKING, +* this assumes we are in an RCU-bh read-side critical section unless it can +* prove otherwise. +*/ +static inline int rcu_read_lock_bh_held (void ) +{ +if (debug_locks) +return lock_is_held (&rcu_bh_lock_map); +return 1 ; +} + +/** +* rcu_read_lock_sched_held - might we be in RCU-sched read-side critical section? +* +* If CONFIG_PROVE_LOCKING is selected and enabled, returns nonzero iff in an +* RCU-sched read-side critical section. In absence of CONFIG_PROVE_LOCKING, +* this assumes we are in an RCU-sched read-side critical section unless it +* can prove otherwise. Note that disabling of preemption (including +* disabling irqs) counts as an RCU-sched read-side critical section. +*/ +static inline int rcu_read_lock_sched_held (void ) +{ +int lockdep_opinion =0 ; + +if (debug_locks) + lockdep_opinion =lock_is_held (&rcu_sched_lock_map); +return lockdep_opinion ||preempt_count () !=0 ; +} + +#else /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ + +# define rcu_read_acquire () do { } while (0) +# define rcu_read_release () do { } while (0) +# define rcu_read_acquire_bh () do { } while (0) +# define rcu_read_release_bh () do { } while (0) +# define rcu_read_acquire_sched () do { } while (0) +# define rcu_read_release_sched () do { } while (0) + +static inline int rcu_read_lock_held (void ) +{ +return 1 ; +} + +static inline int rcu_read_lock_bh_held (void ) +{ +return 1 ; +} + +static inline int rcu_read_lock_sched_held (void ) +{ +return preempt_count () !=0 ; +} + +#endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */ + +#ifdef CONFIG_PROVE_RCU + +/** +* rcu_dereference_check - rcu_dereference with debug checking +* +* Do an rcu_dereference(), but check that the context is correct. +* For example, rcu_dereference_check(gp, rcu_read_lock_held()) to +* ensure that the rcu_dereference_check() executes within an RCU +* read-side critical section. It is also possible to check for +* locks being held, for example, by using lockdep_is_held(). +*/ +#define rcu_dereference_check (p, c) \ + ({ \ + if (debug_locks) \ + WARN_ON_ONCE(!(c)); \ + rcu_dereference(p); \ + }) + +#else /* #ifdef CONFIG_PROVE_RCU */ + +#define rcu_dereference_check (p, c) rcu_dereference(p) + +#endif /* #else #ifdef CONFIG_PROVE_RCU */ /** * rcu_read_lock - mark the beginning of an RCU read-side critical section.
@@ -160,7 +266,7 @@ static inline void rcu_read_lock_bh(void) {__rcu_read_lock_bh ();__acquire (RCU_BH ); -rcu_read_acquire (); +rcu_read_acquire_bh (); }/*
@@ -170,7 +276,7 @@ static inline void rcu_read_lock_bh(void)*/ static inline void rcu_read_unlock_bh (void ) { -rcu_read_release (); +rcu_read_release_bh ();__release (RCU_BH );__rcu_read_unlock_bh (); }
@@ -188,7 +294,7 @@ static inline void rcu_read_lock_sched(void) {preempt_disable ();__acquire (RCU_SCHED ); -rcu_read_acquire (); +rcu_read_acquire_sched (); }/* Used by lockdep and tracing: cannot be traced, cannot call lockdep. */
@@ -205,7 +311,7 @@ static inline notrace void rcu_read_lock_sched_notrace(void)*/ static inline void rcu_read_unlock_sched (void ) { -rcu_read_release (); +rcu_read_release_sched ();__release (RCU_SCHED );preempt_enable (); }
include/linux/srcu.h +85 -2
103 lines not on this page · raw message
kernel/rcupdate.c +10 -0
@@ -50,6 +50,16 @@ static struct lock_class_key rcu_lock_key;struct lockdep_map rcu_lock_map =STATIC_LOCKDEP_MAP_INIT ("rcu_read_lock" , &rcu_lock_key);EXPORT_SYMBOL_GPL (rcu_lock_map); + +static struct lock_class_key rcu_bh_lock_key; +struct lockdep_map rcu_bh_lock_map = +STATIC_LOCKDEP_MAP_INIT ("rcu_read_lock_bh" , &rcu_bh_lock_key); +EXPORT_SYMBOL_GPL (rcu_bh_lock_map); + +static struct lock_class_key rcu_sched_lock_key; +struct lockdep_map rcu_sched_lock_map = +STATIC_LOCKDEP_MAP_INIT ("rcu_read_lock_sched" , &rcu_sched_lock_key); +EXPORT_SYMBOL_GPL (rcu_sched_lock_map);#endif /*
kernel/rcutorture.c +10 -2
@@ -796,7 +796,11 @@ static void rcu_torture_timer(unsigned long unused) idx = cur_ops->readlock (); completed = cur_ops->completed (); - p =rcu_dereference (rcu_torture_current); + p =rcu_dereference_check (rcu_torture_current, +rcu_read_lock_held () || +rcu_read_lock_bh_held () || +rcu_read_lock_sched_held () || +srcu_read_lock_held (&srcu_ctl));if (p ==NULL ) {/* Leave because rcu_torture_writer is not yet underway */ cur_ops->readunlock (idx);
@@ -853,7 +857,11 @@ rcu_torture_reader(void *arg) } idx = cur_ops->readlock (); completed = cur_ops->completed (); - p =rcu_dereference (rcu_torture_current); + p =rcu_dereference_check (rcu_torture_current, +rcu_read_lock_held () || +rcu_read_lock_bh_held () || +rcu_read_lock_sched_held () || +srcu_read_lock_held (&srcu_ctl));if (p ==NULL ) {/* Wait for rcu_torture_writer to get underway */ cur_ops->readunlock (idx);
kernel/srcu.c +33 -17
93 lines not on this page · raw message
lib/Kconfig.debug +12 -0
@@ -499,6 +499,18 @@ config PROVE_LOCKING For more details, see Documentation/lockdep-design.txt. +config PROVE_RCU + bool "RCU debugging: prove RCU correctness" + depends on PROVE_LOCKING + default n + help + This feature enables lockdep extensions that check for correct + use of RCU APIs. This is currently under development. Say Y + if you want to debug RCU usage or help work on the PROVE_RCU + feature. + + Say N if you are unsure. + config LOCKDEP bool depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
lib/debug_locks.c +1 -0
@@ -23,6 +23,7 @@* shut up after that. */ int debug_locks =1 ; +EXPORT_SYMBOL_GPL (debug_locks);/* * The locking-testsuite uses <debug_locks_silent> to get a
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Introduce lockdep-based checking to RCU read-side primitives
Commit-ID: 632ee200130899252508c478ad0e808222573fbc Gitweb: http://git.kernel.org/tip/632ee200130899252508c478ad0e808222573fbc Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:45 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 09:40:59 +0100
rcu: Introduce lockdep-based checking to RCU read-side primitives
Inspection is proving insufficient to catch all RCU misuses, which is understandable given that rcu_dereference() might be protected by any of four different flavors of RCU (RCU, RCU-bh, RCU-sched, and SRCU), and might also/instead be protected by any of a number of locking primitives. It is therefore time to enlist the aid of lockdep.
This set of patches is inspired by earlier work by Peter Zijlstra and Thomas Gleixner, and takes the following approach:
o Set up separate lockdep classes for RCU, RCU-bh, and RCU-sched.
o Set up separate lockdep classes for each instance of SRCU.
o Create primitives that check for being in an RCU read-side
critical section. These return exact answers if lockdep is fully enabled, but if unsure, report being in an RCU read-side critical section. (We want to avoid false positives!) The primitives are:
For RCU: rcu_read_lock_held(void)
For RCU-bh: rcu_read_lock_bh_held(void)
For RCU-sched: rcu_read_lock_sched_held(void)
For SRCU: srcu_read_lock_held(struct srcu_struct *sp)
o Add rcu_dereference_check(), which takes a second argument
in which one places a boolean expression based on the above primitives and/or lockdep_is_held().
o A new kernel configuration parameter, CONFIG_PROVE_RCU, enables
rcu_dereference_check(). This depends on CONFIG_PROVE_LOCKING, and should be quite helpful during the transition period while CONFIG_PROVE_RCU-unaware patches are in flight.
The existing rcu_dereference() primitive does no checking, but upcoming patches will change that.
LKML-Reference: <[email protected]>
--- include/linux/rcupdate.h | 126 ++++++++++++++++++++++++++++++++++++++++++---- include/linux/srcu.h | 87 +++++++++++++++++++++++++++++++- kernel/rcupdate.c | 10 ++++ kernel/rcutorture.c | 12 ++++- kernel/srcu.c | 50 ++++++++++++------ lib/Kconfig.debug | 12 ++++ lib/debug_locks.c | 1 + 7 files changed, 267 insertions(+), 31 deletions(-)
include/linux/rcupdate.h +116 -10
@@ -78,14 +78,120 @@ extern void rcu_init(void); } while (0)#ifdef CONFIG_DEBUG_LOCK_ALLOC +extern struct lockdep_map rcu_lock_map; -# define rcu_read_acquire () \ - lock_acquire(&rcu_lock_map, 0, 0, 2, 1, NULL, _THIS_IP_) +# define rcu_read_acquire () \ + lock_acquire(&rcu_lock_map, 0, 0, 2, 1, NULL, _THIS_IP_)# define rcu_read_release () lock_release(&rcu_lock_map, 1, _THIS_IP_) -#else -# define rcu_read_acquire () do { } while (0) -# define rcu_read_release () do { } while (0) -#endif + +extern struct lockdep_map rcu_bh_lock_map; +# define rcu_read_acquire_bh () \ + lock_acquire(&rcu_bh_lock_map, 0, 0, 2, 1, NULL, _THIS_IP_) +# define rcu_read_release_bh () lock_release(&rcu_bh_lock_map, 1, _THIS_IP_) + +extern struct lockdep_map rcu_sched_lock_map; +# define rcu_read_acquire_sched () \ + lock_acquire(&rcu_sched_lock_map, 0, 0, 2, 1, NULL, _THIS_IP_) +# define rcu_read_release_sched () \ + lock_release(&rcu_sched_lock_map, 1, _THIS_IP_) + +/** +* rcu_read_lock_held - might we be in RCU read-side critical section? +* +* If CONFIG_PROVE_LOCKING is selected and enabled, returns nonzero iff in +* an RCU read-side critical section. In absence of CONFIG_PROVE_LOCKING, +* this assumes we are in an RCU read-side critical section unless it can +* prove otherwise. +*/ +static inline int rcu_read_lock_held (void ) +{ +if (debug_locks) +return lock_is_held (&rcu_lock_map); +return 1 ; +} + +/** +* rcu_read_lock_bh_held - might we be in RCU-bh read-side critical section? +* +* If CONFIG_PROVE_LOCKING is selected and enabled, returns nonzero iff in +* an RCU-bh read-side critical section. In absence of CONFIG_PROVE_LOCKING, +* this assumes we are in an RCU-bh read-side critical section unless it can +* prove otherwise. +*/ +static inline int rcu_read_lock_bh_held (void ) +{ +if (debug_locks) +return lock_is_held (&rcu_bh_lock_map); +return 1 ; +} + +/** +* rcu_read_lock_sched_held - might we be in RCU-sched read-side critical section? +* +* If CONFIG_PROVE_LOCKING is selected and enabled, returns nonzero iff in an +* RCU-sched read-side critical section. In absence of CONFIG_PROVE_LOCKING, +* this assumes we are in an RCU-sched read-side critical section unless it +* can prove otherwise. Note that disabling of preemption (including +* disabling irqs) counts as an RCU-sched read-side critical section. +*/ +static inline int rcu_read_lock_sched_held (void ) +{ +int lockdep_opinion =0 ; + +if (debug_locks) + lockdep_opinion =lock_is_held (&rcu_sched_lock_map); +return lockdep_opinion ||preempt_count () !=0 ; +} + +#else /* #ifdef CONFIG_DEBUG_LOCK_ALLOC */ + +# define rcu_read_acquire () do { } while (0) +# define rcu_read_release () do { } while (0) +# define rcu_read_acquire_bh () do { } while (0) +# define rcu_read_release_bh () do { } while (0) +# define rcu_read_acquire_sched () do { } while (0) +# define rcu_read_release_sched () do { } while (0) + +static inline int rcu_read_lock_held (void ) +{ +return 1 ; +} + +static inline int rcu_read_lock_bh_held (void ) +{ +return 1 ; +} + +static inline int rcu_read_lock_sched_held (void ) +{ +return preempt_count () !=0 ; +} + +#endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */ + +#ifdef CONFIG_PROVE_RCU + +/** +* rcu_dereference_check - rcu_dereference with debug checking +* +* Do an rcu_dereference(), but check that the context is correct. +* For example, rcu_dereference_check(gp, rcu_read_lock_held()) to +* ensure that the rcu_dereference_check() executes within an RCU +* read-side critical section. It is also possible to check for +* locks being held, for example, by using lockdep_is_held(). +*/ +#define rcu_dereference_check (p, c) \ + ({ \ + if (debug_locks) \ + WARN_ON_ONCE(!(c)); \ + rcu_dereference(p); \ + }) + +#else /* #ifdef CONFIG_PROVE_RCU */ + +#define rcu_dereference_check (p, c) rcu_dereference(p) + +#endif /* #else #ifdef CONFIG_PROVE_RCU */ /** * rcu_read_lock - mark the beginning of an RCU read-side critical section.
@@ -160,7 +266,7 @@ static inline void rcu_read_lock_bh(void) {__rcu_read_lock_bh ();__acquire (RCU_BH ); -rcu_read_acquire (); +rcu_read_acquire_bh (); }/*
@@ -170,7 +276,7 @@ static inline void rcu_read_lock_bh(void)*/ static inline void rcu_read_unlock_bh (void ) { -rcu_read_release (); +rcu_read_release_bh ();__release (RCU_BH );__rcu_read_unlock_bh (); }
@@ -188,7 +294,7 @@ static inline void rcu_read_lock_sched(void) {preempt_disable ();__acquire (RCU_SCHED ); -rcu_read_acquire (); +rcu_read_acquire_sched (); }/* Used by lockdep and tracing: cannot be traced, cannot call lockdep. */
@@ -205,7 +311,7 @@ static inline notrace void rcu_read_lock_sched_notrace(void)*/ static inline void rcu_read_unlock_sched (void ) { -rcu_read_release (); +rcu_read_release_sched ();__release (RCU_SCHED );preempt_enable (); }
include/linux/srcu.h +85 -2
103 lines not on this page · raw message
kernel/rcupdate.c +10 -0
@@ -50,6 +50,16 @@ static struct lock_class_key rcu_lock_key;struct lockdep_map rcu_lock_map =STATIC_LOCKDEP_MAP_INIT ("rcu_read_lock" , &rcu_lock_key);EXPORT_SYMBOL_GPL (rcu_lock_map); + +static struct lock_class_key rcu_bh_lock_key; +struct lockdep_map rcu_bh_lock_map = +STATIC_LOCKDEP_MAP_INIT ("rcu_read_lock_bh" , &rcu_bh_lock_key); +EXPORT_SYMBOL_GPL (rcu_bh_lock_map); + +static struct lock_class_key rcu_sched_lock_key; +struct lockdep_map rcu_sched_lock_map = +STATIC_LOCKDEP_MAP_INIT ("rcu_read_lock_sched" , &rcu_sched_lock_key); +EXPORT_SYMBOL_GPL (rcu_sched_lock_map);#endif /*
kernel/rcutorture.c +10 -2
@@ -796,7 +796,11 @@ static void rcu_torture_timer(unsigned long unused) idx = cur_ops->readlock (); completed = cur_ops->completed (); - p =rcu_dereference (rcu_torture_current); + p =rcu_dereference_check (rcu_torture_current, +rcu_read_lock_held () || +rcu_read_lock_bh_held () || +rcu_read_lock_sched_held () || +srcu_read_lock_held (&srcu_ctl));if (p ==NULL ) {/* Leave because rcu_torture_writer is not yet underway */ cur_ops->readunlock (idx);
@@ -853,7 +857,11 @@ rcu_torture_reader(void *arg) } idx = cur_ops->readlock (); completed = cur_ops->completed (); - p =rcu_dereference (rcu_torture_current); + p =rcu_dereference_check (rcu_torture_current, +rcu_read_lock_held () || +rcu_read_lock_bh_held () || +rcu_read_lock_sched_held () || +srcu_read_lock_held (&srcu_ctl));if (p ==NULL ) {/* Wait for rcu_torture_writer to get underway */ cur_ops->readunlock (idx);
kernel/srcu.c +33 -17
93 lines not on this page · raw message
lib/Kconfig.debug +12 -0
@@ -499,6 +499,18 @@ config PROVE_LOCKING For more details, see Documentation/lockdep-design.txt. +config PROVE_RCU + bool "RCU debugging: prove RCU correctness" + depends on PROVE_LOCKING + default n + help + This feature enables lockdep extensions that check for correct + use of RCU APIs. This is currently under development. Say Y + if you want to debug RCU usage or help work on the PROVE_RCU + feature. + + Say N if you are unsure. + config LOCKDEP bool depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
lib/debug_locks.c +1 -0
@@ -23,6 +23,7 @@* shut up after that. */ int debug_locks =1 ; +EXPORT_SYMBOL_GPL (debug_locks);/* * The locking-testsuite uses <debug_locks_silent> to get a
PATCH 2/21 rcu: add lockdep-enabled variants of rcu_dereference()
In reply to Paul E. McKenneyMake rcu_dereference() check for being in an RCU read-side critical section, and create rcu_dereference_bh(), rcu_dereference_sched(), and srcu_dereference() to check for the other flavors of RCU. Also create rcu_dereference_raw() to avoid checking, and make rcu_dereference_check() use rcu_dereference_raw().
--- include/linux/rcupdate.h | 41 ++++++++++++++++++++++++++++++++++------- include/linux/srcu.h | 8 ++++++++ 2 files changed, 42 insertions(+), 7 deletions(-)
include/linux/rcupdate.h +34 -7
@@ -184,12 +184,12 @@ static inline int rcu_read_lock_sched_held(void) ({ \if (debug_locks) \WARN_ON_ONCE (!(c)); \ -rcu_dereference (p); \ +rcu_dereference_raw (p); \ })#else /* #ifdef CONFIG_PROVE_RCU */ -#define rcu_dereference_check (p, c) rcu_dereference(p) +#define rcu_dereference_check (p, c) rcu_dereference_raw(p)#endif /* #else #ifdef CONFIG_PROVE_RCU */
@@ -325,22 +325,49 @@ static inline notrace void rcu_read_unlock_sched_notrace(void)/** -* rcu_dereference - fetch an RCU-protected pointer in an -* RCU read-side critical section. This pointer may later -* be safely dereferenced. +* rcu_dereference_raw - fetch an RCU-protected pointer +* +* The caller must be within some flavor of RCU read-side critical +* section, or must be otherwise preventing the pointer from changing, +* for example, by holding an appropriate lock. This pointer may later +* be safely dereferenced. It is the caller's responsibility to have +* done the right thing, as this primitive does no checking of any kind. * * Inserts memory barriers on architectures that require them * (currently only the Alpha), and, more importantly, documents * exactly which pointers are protected by RCU. */ - -#define rcu_dereference (p) ({ \ +#define rcu_dereference_raw (p) ({ \ typeof(p) _________p1 = ACCESS_ONCE(p); \ smp_read_barrier_depends(); \ (_________p1); \ })/** +* rcu_dereference - fetch an RCU-protected pointer, checking for RCU +* +* Makes rcu_dereference_check() do the dirty work. +*/ +#define rcu_dereference (p) \ + rcu_dereference_check(p, rcu_read_lock_held()) + +/** +* rcu_dereference_bh - fetch an RCU-protected pointer, checking for RCU-bh +* +* Makes rcu_dereference_check() do the dirty work. +*/ +#define rcu_dereference_bh (p) \ + rcu_dereference_check(p, rcu_read_lock_bh_held()) + +/** +* rcu_dereference_sched - fetch RCU-protected pointer, checking for RCU-sched +* +* Makes rcu_dereference_check() do the dirty work. +*/ +#define rcu_dereference_sched (p) \ + rcu_dereference_check(p, rcu_read_lock_sched_held()) + +/** * rcu_assign_pointer - assign (publicize) a pointer to a newly * initialized structure that will be dereferenced by RCU read-side * critical sections. Returns the value assigned.
include/linux/srcu.h +8 -0
@@ -106,6 +106,14 @@ static inline int srcu_read_lock_held(struct srcu_struct *sp)#endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */ /** +* srcu_dereference - fetch SRCU-protected pointer with checking +* +* Makes rcu_dereference_check() do the dirty work. +*/ +#define srcu_dereference (p, sp) \ + rcu_dereference_check(p, srcu_read_lock_held(sp)) + +/** * srcu_read_lock - register a new reader for an SRCU-protected structure. * @sp: srcu_struct in which to register the new reader. *
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Add lockdep-enabled variants of rcu_dereference()
Commit-ID: c26d34a5858f96a564c45048bf5f09319d2abad1 Gitweb: http://git.kernel.org/tip/c26d34a5858f96a564c45048bf5f09319d2abad1 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:46 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 09:41:00 +0100
rcu: Add lockdep-enabled variants of rcu_dereference()
Make rcu_dereference() check for being in an RCU read-side critical section, and create rcu_dereference_bh(), rcu_dereference_sched(), and srcu_dereference() to check for the other flavors of RCU. Also create rcu_dereference_raw() to avoid checking, and make rcu_dereference_check() use rcu_dereference_raw().
LKML-Reference: <[email protected]>
--- include/linux/rcupdate.h | 41 ++++++++++++++++++++++++++++++++++------- include/linux/srcu.h | 8 ++++++++ 2 files changed, 42 insertions(+), 7 deletions(-)
include/linux/rcupdate.h +34 -7
@@ -184,12 +184,12 @@ static inline int rcu_read_lock_sched_held(void) ({ \if (debug_locks) \WARN_ON_ONCE (!(c)); \ -rcu_dereference (p); \ +rcu_dereference_raw (p); \ })#else /* #ifdef CONFIG_PROVE_RCU */ -#define rcu_dereference_check (p, c) rcu_dereference(p) +#define rcu_dereference_check (p, c) rcu_dereference_raw(p)#endif /* #else #ifdef CONFIG_PROVE_RCU */
@@ -325,22 +325,49 @@ static inline notrace void rcu_read_unlock_sched_notrace(void)/** -* rcu_dereference - fetch an RCU-protected pointer in an -* RCU read-side critical section. This pointer may later -* be safely dereferenced. +* rcu_dereference_raw - fetch an RCU-protected pointer +* +* The caller must be within some flavor of RCU read-side critical +* section, or must be otherwise preventing the pointer from changing, +* for example, by holding an appropriate lock. This pointer may later +* be safely dereferenced. It is the caller's responsibility to have +* done the right thing, as this primitive does no checking of any kind. * * Inserts memory barriers on architectures that require them * (currently only the Alpha), and, more importantly, documents * exactly which pointers are protected by RCU. */ - -#define rcu_dereference (p) ({ \ +#define rcu_dereference_raw (p) ({ \ typeof(p) _________p1 = ACCESS_ONCE(p); \ smp_read_barrier_depends(); \ (_________p1); \ })/** +* rcu_dereference - fetch an RCU-protected pointer, checking for RCU +* +* Makes rcu_dereference_check() do the dirty work. +*/ +#define rcu_dereference (p) \ + rcu_dereference_check(p, rcu_read_lock_held()) + +/** +* rcu_dereference_bh - fetch an RCU-protected pointer, checking for RCU-bh +* +* Makes rcu_dereference_check() do the dirty work. +*/ +#define rcu_dereference_bh (p) \ + rcu_dereference_check(p, rcu_read_lock_bh_held()) + +/** +* rcu_dereference_sched - fetch RCU-protected pointer, checking for RCU-sched +* +* Makes rcu_dereference_check() do the dirty work. +*/ +#define rcu_dereference_sched (p) \ + rcu_dereference_check(p, rcu_read_lock_sched_held()) + +/** * rcu_assign_pointer - assign (publicize) a pointer to a newly * initialized structure that will be dereferenced by RCU read-side * critical sections. Returns the value assigned.
include/linux/srcu.h +8 -0
@@ -106,6 +106,14 @@ static inline int srcu_read_lock_held(struct srcu_struct *sp)#endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */ /** +* srcu_dereference - fetch SRCU-protected pointer with checking +* +* Makes rcu_dereference_check() do the dirty work. +*/ +#define srcu_dereference (p, sp) \ + rcu_dereference_check(p, srcu_read_lock_held(sp)) + +/** * srcu_read_lock - register a new reader for an SRCU-protected structure. * @sp: srcu_struct in which to register the new reader. *
PATCH 3/21 rcu: integrate rcu_dereference_check() message into lockdep
In reply to Paul E. McKenneyMake rcu_dereference_check() print the list of held locks in addition to the stack dump to ease debugging.
--- include/linux/lockdep.h | 4 ++++ include/linux/rcupdate.h | 4 ++-- kernel/lockdep.c | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-)
include/linux/lockdep.h +4 -0
@@ -534,4 +534,8 @@ do { \# define might_lock_read (lock) do { } while (0)#endif +#ifdef CONFIG_PROVE_RCU +extern void lockdep_rcu_dereference (const char *file,const int line); +#endif +#endif /* __LINUX_LOCKDEP_H */
include/linux/rcupdate.h +2 -2
@@ -182,8 +182,8 @@ static inline int rcu_read_lock_sched_held(void)*/ #define rcu_dereference_check (p, c) \ ({ \ - if (debug_locks) \ - WARN_ON_ONCE(!(c)); \ + if (debug_locks && !(c)) \ + lockdep_rcu_dereference(__FILE__, __LINE__); \ rcu_dereference_raw(p); \ })
kernel/lockdep.c +18 -0
@@ -3809,3 +3809,21 @@ void lockdep_sys_exit(void)lockdep_print_held_locks (curr); } } + +void lockdep_rcu_dereference (const char *file,const int line) +{ +struct task_struct *curr = current; + +if (!debug_locks_off ()) +return ; +printk ("\n==============================================\n" ); +printk ("[ BUG: Unsafe rcu_dereference_check() usage! ]\n" ); +printk ("----------------------------------------------\n" ); +printk ("%s:%d invoked rcu_dereference_check() without protection!\n" , + file, line); +printk ("\nother info that might help us debug this:\n\n" ); +lockdep_print_held_locks (curr); +printk ("\nstack backtrace:\n" ); +dump_stack (); +} +EXPORT_SYMBOL_GPL (lockdep_rcu_dereference);
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Integrate rcu_dereference_check() message into lockdep
Commit-ID: 0632eb3d7563d6a76d49a3860b6352d800c92854 Gitweb: http://git.kernel.org/tip/0632eb3d7563d6a76d49a3860b6352d800c92854 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:47 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 09:41:01 +0100
rcu: Integrate rcu_dereference_check() message into lockdep
Make rcu_dereference_check() print the list of held locks in addition to the stack dump to ease debugging.
LKML-Reference: <[email protected]>
--- include/linux/lockdep.h | 4 ++++ include/linux/rcupdate.h | 4 ++-- kernel/lockdep.c | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-)
include/linux/lockdep.h +4 -0
@@ -534,4 +534,8 @@ do { \# define might_lock_read (lock) do { } while (0)#endif +#ifdef CONFIG_PROVE_RCU +extern void lockdep_rcu_dereference (const char *file,const int line); +#endif +#endif /* __LINUX_LOCKDEP_H */
include/linux/rcupdate.h +2 -2
@@ -182,8 +182,8 @@ static inline int rcu_read_lock_sched_held(void)*/ #define rcu_dereference_check (p, c) \ ({ \ - if (debug_locks) \ - WARN_ON_ONCE(!(c)); \ + if (debug_locks && !(c)) \ + lockdep_rcu_dereference(__FILE__, __LINE__); \ rcu_dereference_raw(p); \ })
kernel/lockdep.c +18 -0
@@ -3809,3 +3809,21 @@ void lockdep_sys_exit(void)lockdep_print_held_locks (curr); } } + +void lockdep_rcu_dereference (const char *file,const int line) +{ +struct task_struct *curr = current; + +if (!debug_locks_off ()) +return ; +printk ("\n==============================================\n" ); +printk ("[ BUG: Unsafe rcu_dereference_check() usage! ]\n" ); +printk ("----------------------------------------------\n" ); +printk ("%s:%d invoked rcu_dereference_check() without protection!\n" , + file, line); +printk ("\nother info that might help us debug this:\n\n" ); +lockdep_print_held_locks (curr); +printk ("\nstack backtrace:\n" ); +dump_stack (); +} +EXPORT_SYMBOL_GPL (lockdep_rcu_dereference);
PATCH 4/21 rcu: disable lockdep checking in RCU list-traversal primitives
In reply to Paul E. McKenneyThe theory is that use of bare rcu_dereference() is more prone to error than use of the RCU list-traversal primitives. Therefore, disable lockdep RCU read-side critical-section checking in these primitives for the time being. Once all of the rcu_dereference() uses have been dealt with, it may be time to re-enable lockdep checking for the RCU list-traversal primitives.
--- include/linux/rculist.h | 14 +++++++------- include/linux/rculist_nulls.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-)
include/linux/rculist.h +7 -7
@@ -208,7 +208,7 @@ static inline void list_splice_init_rcu(struct list_head *list,* primitives such as list_add_rcu() as long as it's guarded by rcu_read_lock(). */ #define list_entry_rcu (ptr, type, member) \ - container_of(rcu_dereference(ptr), type, member) + container_of(rcu_dereference_raw(ptr), type, member)/** * list_first_entry_rcu - get the first element from a list
@@ -225,9 +225,9 @@ static inline void list_splice_init_rcu(struct list_head *list, list_entry_rcu((ptr)->next, type, member)#define __list_for_each_rcu (pos, head) \ - for (pos = rcu_dereference((head)->next); \ + for (pos = rcu_dereference_raw((head)->next); \ pos != (head); \ - pos = rcu_dereference(pos->next)) + pos = rcu_dereference_raw(pos->next))/** * list_for_each_entry_rcu - iterate over rcu list of given type
@@ -257,9 +257,9 @@ static inline void list_splice_init_rcu(struct list_head *list,* as long as the traversal is guarded by rcu_read_lock(). */ #define list_for_each_continue_rcu (pos, head) \ - for ((pos) = rcu_dereference((pos)->next); \ + for ((pos) = rcu_dereference_raw((pos)->next); \ prefetch((pos)->next), (pos) != (head); \ - (pos) = rcu_dereference((pos)->next)) + (pos) = rcu_dereference_raw((pos)->next))/** * list_for_each_entry_continue_rcu - continue iteration over list of given type
@@ -418,10 +418,10 @@ static inline void hlist_add_after_rcu(struct hlist_node *prev,* as long as the traversal is guarded by rcu_read_lock(). */ #define hlist_for_each_entry_rcu (tpos, pos, head, member) \ - for (pos = rcu_dereference((head)->first); \ + for (pos = rcu_dereference_raw((head)->first); \ pos && ({ prefetch(pos->next); 1; }) && \ ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1; }); \ - pos = rcu_dereference(pos->next)) + pos = rcu_dereference_raw(pos->next))#endif /* __KERNEL__ */ #endif
include/linux/rculist_nulls.h +2 -2
@@ -101,10 +101,10 @@ static inline void hlist_nulls_add_head_rcu(struct hlist_nulls_node *n,* */ #define hlist_nulls_for_each_entry_rcu (tpos, pos, head, member) \ - for (pos = rcu_dereference((head)->first); \ + for (pos = rcu_dereference_raw((head)->first); \ (!is_a_nulls(pos)) && \ ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1; }); \ - pos = rcu_dereference(pos->next)) + pos = rcu_dereference_raw(pos->next))#endif #endif
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Disable lockdep checking in RCU list-traversal primitives
Commit-ID: 3120438ad68601f341e61e7cb1323b0e1a6ca367 Gitweb: http://git.kernel.org/tip/3120438ad68601f341e61e7cb1323b0e1a6ca367 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:48 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 09:41:02 +0100
rcu: Disable lockdep checking in RCU list-traversal primitives
The theory is that use of bare rcu_dereference() is more prone to error than use of the RCU list-traversal primitives. Therefore, disable lockdep RCU read-side critical-section checking in these primitives for the time being. Once all of the rcu_dereference() uses have been dealt with, it may be time to re-enable lockdep checking for the RCU list-traversal primitives.
LKML-Reference: <[email protected]>
--- include/linux/rculist.h | 14 +++++++------- include/linux/rculist_nulls.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-)
include/linux/rculist.h +7 -7
@@ -208,7 +208,7 @@ static inline void list_splice_init_rcu(struct list_head *list,* primitives such as list_add_rcu() as long as it's guarded by rcu_read_lock(). */ #define list_entry_rcu (ptr, type, member) \ - container_of(rcu_dereference(ptr), type, member) + container_of(rcu_dereference_raw(ptr), type, member)/** * list_first_entry_rcu - get the first element from a list
@@ -225,9 +225,9 @@ static inline void list_splice_init_rcu(struct list_head *list, list_entry_rcu((ptr)->next, type, member)#define __list_for_each_rcu (pos, head) \ - for (pos = rcu_dereference((head)->next); \ + for (pos = rcu_dereference_raw((head)->next); \ pos != (head); \ - pos = rcu_dereference(pos->next)) + pos = rcu_dereference_raw(pos->next))/** * list_for_each_entry_rcu - iterate over rcu list of given type
@@ -257,9 +257,9 @@ static inline void list_splice_init_rcu(struct list_head *list,* as long as the traversal is guarded by rcu_read_lock(). */ #define list_for_each_continue_rcu (pos, head) \ - for ((pos) = rcu_dereference((pos)->next); \ + for ((pos) = rcu_dereference_raw((pos)->next); \ prefetch((pos)->next), (pos) != (head); \ - (pos) = rcu_dereference((pos)->next)) + (pos) = rcu_dereference_raw((pos)->next))/** * list_for_each_entry_continue_rcu - continue iteration over list of given type
@@ -418,10 +418,10 @@ static inline void hlist_add_after_rcu(struct hlist_node *prev,* as long as the traversal is guarded by rcu_read_lock(). */ #define hlist_for_each_entry_rcu (tpos, pos, head, member) \ - for (pos = rcu_dereference((head)->first); \ + for (pos = rcu_dereference_raw((head)->first); \ pos && ({ prefetch(pos->next); 1; }) && \ ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1; }); \ - pos = rcu_dereference(pos->next)) + pos = rcu_dereference_raw(pos->next))#endif /* __KERNEL__ */ #endif
include/linux/rculist_nulls.h +2 -2
@@ -101,10 +101,10 @@ static inline void hlist_nulls_add_head_rcu(struct hlist_nulls_node *n,* */ #define hlist_nulls_for_each_entry_rcu (tpos, pos, head, member) \ - for (pos = rcu_dereference((head)->first); \ + for (pos = rcu_dereference_raw((head)->first); \ (!is_a_nulls(pos)) && \ ({ tpos = hlist_nulls_entry(pos, typeof(*tpos), member); 1; }); \ - pos = rcu_dereference(pos->next)) + pos = rcu_dereference_raw(pos->next))#endif #endif
PATCH 5/21 net: add checking to rcu_dereference() primitives
In reply to Paul E. McKenneyUpdate rcu_dereference() primitives to use new lockdep-based checking. The rcu_dereference() in __in6_dev_get() may be protected either by rcu_read_lock() or RTNL, per Eric Dumazet. The rcu_dereference() in __sk_free() is protected by the fact that it is never reached if an update could change it. Check for this by using rcu_dereference_check() to verify that the struct sock's ->sk_wmem_alloc counter is zero.
--- include/linux/rtnetlink.h | 3 +++ include/net/addrconf.h | 4 +++- net/core/dev.c | 2 +- net/core/filter.c | 6 +++--- net/core/rtnetlink.c | 8 ++++++++ net/core/sock.c | 3 ++- net/decnet/dn_route.c | 14 +++++++------- net/ipv4/route.c | 14 +++++++------- net/packet/af_packet.c | 2 +- 9 files changed, 35 insertions(+), 21 deletions(-)
include/linux/rtnetlink.h +3 -0
@@ -735,6 +735,9 @@ extern void rtnl_lock(void);extern void rtnl_unlock (void );extern int rtnl_trylock (void );extern int rtnl_is_locked (void ); +#ifdef CONFIG_PROVE_LOCKING +extern int lockdep_rtnl_is_held (void ); +#endif /* #ifdef CONFIG_PROVE_LOCKING */ extern void rtnetlink_init (void );extern void __rtnl_unlock (void );
include/net/addrconf.h +3 -1
@@ -177,7 +177,9 @@ extern int unregister_inet6addr_notifier(struct notifier_block *nb);static inline struct inet6_dev *__in6_dev_get (struct net_device *dev) { -return rcu_dereference (dev->ip6_ptr); +return rcu_dereference_check (dev->ip6_ptr, +rcu_read_lock_held () || +lockdep_rtnl_is_held ()); } static inline struct inet6_dev *
net/core/dev.c +1 -1
@@ -2041,7 +2041,7 @@ gso:rcu_read_lock_bh (); txq =dev_pick_tx (dev, skb); - q =rcu_dereference (txq->qdisc); + q =rcu_dereference_bh (txq->qdisc);#ifdef CONFIG_NET_CLS_ACT skb->tc_verd =SET_TC_AT (skb->tc_verd,AT_EGRESS );
net/core/filter.c +3 -3
@@ -86,7 +86,7 @@ int sk_filter(struct sock *sk, struct sk_buff *skb)return err;rcu_read_lock_bh (); - filter =rcu_dereference (sk->sk_filter); + filter =rcu_dereference_bh (sk->sk_filter);if (filter) {unsigned int pkt_len =sk_run_filter (skb, filter->insns, filter->len);
@@ -521,7 +521,7 @@ int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk) }rcu_read_lock_bh (); - old_fp =rcu_dereference (sk->sk_filter); + old_fp =rcu_dereference_bh (sk->sk_filter);rcu_assign_pointer (sk->sk_filter, fp);rcu_read_unlock_bh ();
@@ -536,7 +536,7 @@ int sk_detach_filter(struct sock *sk)struct sk_filter *filter;rcu_read_lock_bh (); - filter =rcu_dereference (sk->sk_filter); + filter =rcu_dereference_bh (sk->sk_filter);if (filter) {rcu_assign_pointer (sk->sk_filter,NULL );sk_filter_delayed_uncharge (sk, filter);
net/core/rtnetlink.c +8 -0
@@ -89,6 +89,14 @@ int rtnl_is_locked(void) }EXPORT_SYMBOL (rtnl_is_locked); +#ifdef CONFIG_PROVE_LOCKING +int lockdep_rtnl_is_held (void ) +{ +return lockdep_is_held (&rtnl_mutex); +} +EXPORT_SYMBOL (lockdep_rtnl_is_held); +#endif /* #ifdef CONFIG_PROVE_LOCKING */ +static struct rtnl_link *rtnl_msg_handlers[NPROTO ];static inline int rtm_msgindex (int msgtype)
net/core/sock.c +2 -1
@@ -1073,7 +1073,8 @@ static void __sk_free(struct sock *sk)if (sk->sk_destruct) sk->sk_destruct (sk); - filter =rcu_dereference (sk->sk_filter); + filter =rcu_dereference_check (sk->sk_filter, +atomic_read (&sk->sk_wmem_alloc) ==0 );if (filter) {sk_filter_uncharge (sk, filter);rcu_assign_pointer (sk->sk_filter,NULL );
net/decnet/dn_route.c +7 -7
@@ -1155,8 +1155,8 @@ static int __dn_route_output_key(struct dst_entry **pprt, const struct flowi *flif (!(flags &MSG_TRYHARD )) {rcu_read_lock_bh (); -for (rt =rcu_dereference (dn_rt_hash_table[hash].chain); rt; - rt =rcu_dereference (rt->u.dst.dn_next)) { +for (rt =rcu_dereference_bh (dn_rt_hash_table[hash].chain); rt; + rt =rcu_dereference_bh (rt->u.dst.dn_next)) { if ((flp->fld_dst == rt->fl.fld_dst) && (flp->fld_src == rt->fl.fld_src) && (flp->mark == rt->fl.mark) &&
@@ -1618,9 +1618,9 @@ int dn_cache_dump(struct sk_buff *skb, struct netlink_callback *cb)if (h > s_h) s_idx =0 ;rcu_read_lock_bh (); -for (rt =rcu_dereference (dn_rt_hash_table[h].chain), idx =0 ; +for (rt =rcu_dereference_bh (dn_rt_hash_table[h].chain), idx =0 ; rt; - rt =rcu_dereference (rt->u.dst.dn_next), idx++) { + rt =rcu_dereference_bh (rt->u.dst.dn_next), idx++) {if (idx < s_idx)continue ;skb_dst_set (skb,dst_clone (&rt->u.dst));
@@ -1654,12 +1654,12 @@ static struct dn_route *dn_rt_cache_get_first(struct seq_file *seq)for (s->bucket = dn_rt_hash_mask; s->bucket >=0 ; --s->bucket) {rcu_read_lock_bh (); - rt = dn_rt_hash_table[s->bucket].chain; + rt =rcu_dereference_bh (dn_rt_hash_table[s->bucket].chain);if (rt)break ;rcu_read_unlock_bh (); } -return rcu_dereference (rt); +return rt; }static struct dn_route *dn_rt_cache_get_next (struct seq_file *seq,struct dn_route *rt)
@@ -1674,7 +1674,7 @@ static struct dn_route *dn_rt_cache_get_next(struct seq_file *seq, struct dn_rourcu_read_lock_bh (); rt = dn_rt_hash_table[s->bucket].chain; } -return rcu_dereference (rt); +return rcu_dereference_bh (rt); }static void *dn_rt_cache_seq_start (struct seq_file *seq,loff_t *pos)
net/ipv4/route.c +7 -7
@@ -287,12 +287,12 @@ static struct rtable *rt_cache_get_first(struct seq_file *seq)if (!rt_hash_table[st->bucket].chain)continue ;rcu_read_lock_bh (); - r =rcu_dereference (rt_hash_table[st->bucket].chain); + r =rcu_dereference_bh (rt_hash_table[st->bucket].chain);while (r) {if (dev_net (r->u.dst.dev) ==seq_file_net (seq) && r->rt_genid == st->genid)return r; - r =rcu_dereference (r->u.dst.rt_next); + r =rcu_dereference_bh (r->u.dst.rt_next); }rcu_read_unlock_bh (); }
@@ -314,7 +314,7 @@ static struct rtable *__rt_cache_get_next(struct seq_file *seq,rcu_read_lock_bh (); r = rt_hash_table[st->bucket].chain; } -return rcu_dereference (r); +return rcu_dereference_bh (r); } static struct rtable *rt_cache_get_next(struct seq_file *seq,
@@ -2687,8 +2687,8 @@ int __ip_route_output_key(struct net *net, struct rtable **rp, hash =rt_hash (flp->fl4_dst, flp->fl4_src, flp->oif,rt_genid (net));rcu_read_lock_bh (); -for (rth =rcu_dereference (rt_hash_table[hash].chain); rth; - rth =rcu_dereference (rth->u.dst.rt_next)) { +for (rth =rcu_dereference_bh (rt_hash_table[hash].chain); rth; + rth =rcu_dereference_bh (rth->u.dst.rt_next)) { if (rth->fl.fl4_dst == flp->fl4_dst && rth->fl.fl4_src == flp->fl4_src && rth->fl.iif == 0 &&
@@ -3006,8 +3006,8 @@ int ip_rt_dump(struct sk_buff *skb, struct netlink_callback *cb)if (!rt_hash_table[h].chain)continue ;rcu_read_lock_bh (); -for (rt =rcu_dereference (rt_hash_table[h].chain), idx =0 ; rt; - rt =rcu_dereference (rt->u.dst.rt_next), idx++) { +for (rt =rcu_dereference_bh (rt_hash_table[h].chain), idx =0 ; rt; + rt =rcu_dereference_bh (rt->u.dst.rt_next), idx++) {if (!net_eq (dev_net (rt->u.dst.dev), net) || idx < s_idx)continue ;if (rt_is_expired (rt))
net/packet/af_packet.c +1 -1
@@ -508,7 +508,7 @@ static inline unsigned int run_filter(struct sk_buff *skb, struct sock *sk,struct sk_filter *filter;rcu_read_lock_bh (); - filter =rcu_dereference (sk->sk_filter); + filter =rcu_dereference_bh (sk->sk_filter);if (filter !=NULL ) res =sk_run_filter (skb, filter->insns, filter->len);rcu_read_unlock_bh ();
Signature · 1 line
1.6.6
[tip:core/rcu] net: Add checking to rcu_dereference() primitives
Commit-ID: a898def29e4119bc01ebe7ca97423181f4c0ea2d Gitweb: http://git.kernel.org/tip/a898def29e4119bc01ebe7ca97423181f4c0ea2d Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:49 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 09:41:03 +0100
net: Add checking to rcu_dereference() primitives
Update rcu_dereference() primitives to use new lockdep-based checking. The rcu_dereference() in __in6_dev_get() may be protected either by rcu_read_lock() or RTNL, per Eric Dumazet. The rcu_dereference() in __sk_free() is protected by the fact that it is never reached if an update could change it. Check for this by using rcu_dereference_check() to verify that the struct sock's ->sk_wmem_alloc counter is zero.
LKML-Reference: <[email protected]>
--- include/linux/rtnetlink.h | 3 +++ include/net/addrconf.h | 4 +++- net/core/dev.c | 2 +- net/core/filter.c | 6 +++--- net/core/rtnetlink.c | 8 ++++++++ net/core/sock.c | 3 ++- net/decnet/dn_route.c | 14 +++++++------- net/ipv4/route.c | 14 +++++++------- net/packet/af_packet.c | 2 +- 9 files changed, 35 insertions(+), 21 deletions(-)
include/linux/rtnetlink.h +3 -0
@@ -735,6 +735,9 @@ extern void rtnl_lock(void);extern void rtnl_unlock (void );extern int rtnl_trylock (void );extern int rtnl_is_locked (void ); +#ifdef CONFIG_PROVE_LOCKING +extern int lockdep_rtnl_is_held (void ); +#endif /* #ifdef CONFIG_PROVE_LOCKING */ extern void rtnetlink_init (void );extern void __rtnl_unlock (void );
include/net/addrconf.h +3 -1
@@ -177,7 +177,9 @@ extern int unregister_inet6addr_notifier(struct notifier_block *nb);static inline struct inet6_dev *__in6_dev_get (struct net_device *dev) { -return rcu_dereference (dev->ip6_ptr); +return rcu_dereference_check (dev->ip6_ptr, +rcu_read_lock_held () || +lockdep_rtnl_is_held ()); } static inline struct inet6_dev *
net/core/dev.c +1 -1
@@ -2041,7 +2041,7 @@ gso:rcu_read_lock_bh (); txq =dev_pick_tx (dev, skb); - q =rcu_dereference (txq->qdisc); + q =rcu_dereference_bh (txq->qdisc);#ifdef CONFIG_NET_CLS_ACT skb->tc_verd =SET_TC_AT (skb->tc_verd,AT_EGRESS );
net/core/filter.c +3 -3
@@ -86,7 +86,7 @@ int sk_filter(struct sock *sk, struct sk_buff *skb)return err;rcu_read_lock_bh (); - filter =rcu_dereference (sk->sk_filter); + filter =rcu_dereference_bh (sk->sk_filter);if (filter) {unsigned int pkt_len =sk_run_filter (skb, filter->insns, filter->len);
@@ -521,7 +521,7 @@ int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk) }rcu_read_lock_bh (); - old_fp =rcu_dereference (sk->sk_filter); + old_fp =rcu_dereference_bh (sk->sk_filter);rcu_assign_pointer (sk->sk_filter, fp);rcu_read_unlock_bh ();
@@ -536,7 +536,7 @@ int sk_detach_filter(struct sock *sk)struct sk_filter *filter;rcu_read_lock_bh (); - filter =rcu_dereference (sk->sk_filter); + filter =rcu_dereference_bh (sk->sk_filter);if (filter) {rcu_assign_pointer (sk->sk_filter,NULL );sk_filter_delayed_uncharge (sk, filter);
net/core/rtnetlink.c +8 -0
@@ -89,6 +89,14 @@ int rtnl_is_locked(void) }EXPORT_SYMBOL (rtnl_is_locked); +#ifdef CONFIG_PROVE_LOCKING +int lockdep_rtnl_is_held (void ) +{ +return lockdep_is_held (&rtnl_mutex); +} +EXPORT_SYMBOL (lockdep_rtnl_is_held); +#endif /* #ifdef CONFIG_PROVE_LOCKING */ +static struct rtnl_link *rtnl_msg_handlers[NPROTO ];static inline int rtm_msgindex (int msgtype)
net/core/sock.c +2 -1
@@ -1073,7 +1073,8 @@ static void __sk_free(struct sock *sk)if (sk->sk_destruct) sk->sk_destruct (sk); - filter =rcu_dereference (sk->sk_filter); + filter =rcu_dereference_check (sk->sk_filter, +atomic_read (&sk->sk_wmem_alloc) ==0 );if (filter) {sk_filter_uncharge (sk, filter);rcu_assign_pointer (sk->sk_filter,NULL );
net/decnet/dn_route.c +7 -7
@@ -1155,8 +1155,8 @@ static int __dn_route_output_key(struct dst_entry **pprt, const struct flowi *flif (!(flags &MSG_TRYHARD )) {rcu_read_lock_bh (); -for (rt =rcu_dereference (dn_rt_hash_table[hash].chain); rt; - rt =rcu_dereference (rt->u.dst.dn_next)) { +for (rt =rcu_dereference_bh (dn_rt_hash_table[hash].chain); rt; + rt =rcu_dereference_bh (rt->u.dst.dn_next)) { if ((flp->fld_dst == rt->fl.fld_dst) && (flp->fld_src == rt->fl.fld_src) && (flp->mark == rt->fl.mark) &&
@@ -1618,9 +1618,9 @@ int dn_cache_dump(struct sk_buff *skb, struct netlink_callback *cb)if (h > s_h) s_idx =0 ;rcu_read_lock_bh (); -for (rt =rcu_dereference (dn_rt_hash_table[h].chain), idx =0 ; +for (rt =rcu_dereference_bh (dn_rt_hash_table[h].chain), idx =0 ; rt; - rt =rcu_dereference (rt->u.dst.dn_next), idx++) { + rt =rcu_dereference_bh (rt->u.dst.dn_next), idx++) {if (idx < s_idx)continue ;skb_dst_set (skb,dst_clone (&rt->u.dst));
@@ -1654,12 +1654,12 @@ static struct dn_route *dn_rt_cache_get_first(struct seq_file *seq)for (s->bucket = dn_rt_hash_mask; s->bucket >=0 ; --s->bucket) {rcu_read_lock_bh (); - rt = dn_rt_hash_table[s->bucket].chain; + rt =rcu_dereference_bh (dn_rt_hash_table[s->bucket].chain);if (rt)break ;rcu_read_unlock_bh (); } -return rcu_dereference (rt); +return rt; }static struct dn_route *dn_rt_cache_get_next (struct seq_file *seq,struct dn_route *rt)
@@ -1674,7 +1674,7 @@ static struct dn_route *dn_rt_cache_get_next(struct seq_file *seq, struct dn_rourcu_read_lock_bh (); rt = dn_rt_hash_table[s->bucket].chain; } -return rcu_dereference (rt); +return rcu_dereference_bh (rt); }static void *dn_rt_cache_seq_start (struct seq_file *seq,loff_t *pos)
net/ipv4/route.c +7 -7
@@ -287,12 +287,12 @@ static struct rtable *rt_cache_get_first(struct seq_file *seq)if (!rt_hash_table[st->bucket].chain)continue ;rcu_read_lock_bh (); - r =rcu_dereference (rt_hash_table[st->bucket].chain); + r =rcu_dereference_bh (rt_hash_table[st->bucket].chain);while (r) {if (dev_net (r->u.dst.dev) ==seq_file_net (seq) && r->rt_genid == st->genid)return r; - r =rcu_dereference (r->u.dst.rt_next); + r =rcu_dereference_bh (r->u.dst.rt_next); }rcu_read_unlock_bh (); }
@@ -314,7 +314,7 @@ static struct rtable *__rt_cache_get_next(struct seq_file *seq,rcu_read_lock_bh (); r = rt_hash_table[st->bucket].chain; } -return rcu_dereference (r); +return rcu_dereference_bh (r); } static struct rtable *rt_cache_get_next(struct seq_file *seq,
@@ -2689,8 +2689,8 @@ int __ip_route_output_key(struct net *net, struct rtable **rp, hash =rt_hash (flp->fl4_dst, flp->fl4_src, flp->oif,rt_genid (net));rcu_read_lock_bh (); -for (rth =rcu_dereference (rt_hash_table[hash].chain); rth; - rth =rcu_dereference (rth->u.dst.rt_next)) { +for (rth =rcu_dereference_bh (rt_hash_table[hash].chain); rth; + rth =rcu_dereference_bh (rth->u.dst.rt_next)) { if (rth->fl.fl4_dst == flp->fl4_dst && rth->fl.fl4_src == flp->fl4_src && rth->fl.iif == 0 &&
@@ -3008,8 +3008,8 @@ int ip_rt_dump(struct sk_buff *skb, struct netlink_callback *cb)if (!rt_hash_table[h].chain)continue ;rcu_read_lock_bh (); -for (rt =rcu_dereference (rt_hash_table[h].chain), idx =0 ; rt; - rt =rcu_dereference (rt->u.dst.rt_next), idx++) { +for (rt =rcu_dereference_bh (rt_hash_table[h].chain), idx =0 ; rt; + rt =rcu_dereference_bh (rt->u.dst.rt_next), idx++) {if (!net_eq (dev_net (rt->u.dst.dev), net) || idx < s_idx)continue ;if (rt_is_expired (rt))
net/packet/af_packet.c +1 -1
@@ -508,7 +508,7 @@ static inline unsigned int run_filter(struct sk_buff *skb, struct sock *sk,struct sk_filter *filter;rcu_read_lock_bh (); - filter =rcu_dereference (sk->sk_filter); + filter =rcu_dereference_bh (sk->sk_filter);if (filter !=NULL ) res =sk_run_filter (skb, filter->insns, filter->len);rcu_read_unlock_bh ();
PATCH 6/21 sched: use lockdep-based checking on rcu_dereference()
In reply to Paul E. McKenneyUpdate the rcu_dereference() usages to take advantage of the new lockdep-based checking.
--- include/linux/cgroup.h | 5 ++++- include/linux/cred.h | 2 +- init/main.c | 2 ++ kernel/cgroup.c | 12 ++++++++++++ kernel/exit.c | 14 +++++++++++--- kernel/fork.c | 1 + kernel/notifier.c | 6 +++--- kernel/pid.c | 2 +- kernel/sched.c | 11 ++++++++--- 9 files changed, 43 insertions(+), 12 deletions(-)
include/linux/cgroup.h +4 -1
@@ -28,6 +28,7 @@ struct css_id;extern int cgroup_init_early (void );extern int cgroup_init (void );extern void cgroup_lock (void ); +extern int cgroup_lock_is_held (void );extern bool cgroup_lock_live_group (struct cgroup *cgrp);extern void cgroup_unlock (void );extern void cgroup_fork (struct task_struct *p);
@@ -486,7 +487,9 @@ static inline struct cgroup_subsys_state *cgroup_subsys_state(static inline struct cgroup_subsys_state *task_subsys_state (struct task_struct *task,int subsys_id) { -return rcu_dereference (task->cgroups->subsys[subsys_id]); +return rcu_dereference_check (task->cgroups->subsys[subsys_id], +rcu_read_lock_held () || +cgroup_lock_is_held ()); } static inline struct cgroup* task_cgroup(struct task_struct *task,
include/linux/cred.h +1 -1
@@ -280,7 +280,7 @@ static inline void put_cred(const struct cred *_cred)* task or by holding tasklist_lock to prevent it from being unlinked. */ #define __task_cred (task) \ - ((const struct cred *)(rcu_dereference((task)->real_cred))) + ((const struct cred *)(rcu_dereference_check((task)->real_cred, rcu_read_lock_held() || lockdep_is_held(&tasklist_lock))))/** * get_task_cred - Get another task's objective credentials
init/main.c +2 -0
@@ -416,7 +416,9 @@ static noinline void __init_refok rest_init(void)kernel_thread (kernel_init,NULL ,CLONE_FS |CLONE_SIGHAND );numa_default_policy (); pid =kernel_thread (kthreadd,NULL ,CLONE_FS |CLONE_FILES ); +rcu_read_lock (); kthreadd_task =find_task_by_pid_ns (pid, &init_pid_ns); +rcu_read_unlock ();unlock_kernel ();/*
kernel/cgroup.c +12 -0
@@ -166,6 +166,18 @@ static DEFINE_SPINLOCK(hierarchy_id_lock);*/ static int need_forkexit_callback__read_mostly ; +#ifdef CONFIG_PROVE_LOCKING +int cgroup_lock_is_held (void ) +{ +return lockdep_is_held (&cgroup_mutex); +} +#else /* #ifdef CONFIG_PROVE_LOCKING */ +int cgroup_lock_is_held (void ) +{ +return mutex_is_locked (&cgroup_mutex); +} +#endif /* #else #ifdef CONFIG_PROVE_LOCKING */ +/* convenient tests for these bits */ inline int cgroup_is_removed (const struct cgroup *cgrp) {
kernel/exit.c +11 -3
@@ -85,7 +85,9 @@ static void __exit_signal(struct task_struct *tsk)BUG_ON (!sig);BUG_ON (!atomic_read (&sig->count)); - sighand =rcu_dereference (tsk->sighand); + sighand =rcu_dereference_check (tsk->sighand, +rcu_read_lock_held () || +lockdep_is_held (&tasklist_lock));spin_lock (&sighand->siglock);posix_cpu_timers_exit (tsk);
@@ -170,8 +172,10 @@ void release_task(struct task_struct * p) repeat:tracehook_prepare_release_task (p);/* don't need to get the RCU readlock here - the process is dead and -* can't be modifying its own credentials */ +* can't be modifying its own credentials. But shut RCU-lockdep up */ +rcu_read_lock ();atomic_dec (&__task_cred (p)->user->processes); +rcu_read_unlock ();proc_flush_task (p);
@@ -473,9 +477,11 @@ static void close_files(struct files_struct * files)/* * It is safe to dereference the fd table without RCU or * ->file_lock because this is the last reference to the -* files structure. +* files structure. But use RCU to shut RCU-lockdep up. */ +rcu_read_lock (); fdt =files_fdtable (files); +rcu_read_unlock ();for (;;) {unsigned long set; i = j * __NFDBITS;
@@ -521,10 +527,12 @@ void put_files_struct(struct files_struct *files)* at the end of the RCU grace period. Otherwise, * you can free files immediately. */ +rcu_read_lock (); fdt =files_fdtable (files);if (fdt != &files->fdtab)kmem_cache_free (files_cachep, files);free_fdtable (fdt); +rcu_read_unlock (); } }
kernel/fork.c +1 -0
@@ -86,6 +86,7 @@ int max_threads; /* tunable limit on nr_threads */ DEFINE_PER_CPU(unsigned long, process_counts) = 0;__cacheline_aligned DEFINE_RWLOCK (tasklist_lock );/* outer */ +EXPORT_SYMBOL_GPL (tasklist_lock);int nr_processes (void ) {
kernel/notifier.c +3 -3
@@ -78,10 +78,10 @@ static int __kprobes notifier_call_chain(struct notifier_block **nl,int ret =NOTIFY_DONE ;struct notifier_block *nb, *next_nb; - nb =rcu_dereference (*nl); + nb =rcu_dereference_raw (*nl);while (nb && nr_to_call) { - next_nb =rcu_dereference (nb->next); + next_nb =rcu_dereference_raw (nb->next);#ifdef CONFIG_DEBUG_NOTIFIERS if (unlikely (!func_ptr_is_kernel_text (nb->notifier_call))) {
@@ -309,7 +309,7 @@ int __blocking_notifier_call_chain(struct blocking_notifier_head *nh,* racy then it does not matter what the result of the test * is, we re-check the list after having taken the lock anyway: */ -if (rcu_dereference (nh->head)) { +if (rcu_dereference_raw (nh->head)) {down_read (&nh->rwsem); ret =notifier_call_chain (&nh->head, val, v, nr_to_call, nr_calls);
kernel/pid.c +1 -1
@@ -367,7 +367,7 @@ struct task_struct *pid_task(struct pid *pid, enum pid_type type)struct task_struct *result =NULL ;if (pid) {struct hlist_node *first; - first =rcu_dereference (pid->tasks[type].first); + first =rcu_dereference_check (pid->tasks[type].first,rcu_read_lock_held () ||lockdep_is_held (&tasklist_lock));if (first) result = hlist_entry(first, struct task_struct, pids[(type)].node); }
kernel/sched.c +8 -3
@@ -645,6 +645,11 @@ static inline int cpu_of(struct rq *rq)#endif } +#define for_each_domain_rd (p) \ + rcu_dereference_check((p), \ + rcu_read_lock_sched_held() || \ + lockdep_is_held(&sched_domains_mutex)) +/* * The domain tree (rq->sd) is protected by RCU's quiescent state transition. * See detach_destroy_domains: synchronize_sched for details.
@@ -653,7 +658,7 @@ static inline int cpu_of(struct rq *rq)* preempt-disabled sections. */ #define for_each_domain (cpu, __sd) \ - for (__sd = rcu_dereference(cpu_rq(cpu)->sd); __sd; __sd = __sd->parent) + for (__sd = for_each_domain_rd(cpu_rq(cpu)->sd); __sd; __sd = __sd->parent)#define cpu_rq (cpu) (&per_cpu(runqueues, (cpu)))#define this_rq () (&__get_cpu_var(runqueues))
@@ -1531,7 +1536,7 @@ static unsigned long target_load(int cpu, int type)static struct sched_group *group_of (int cpu) { -struct sched_domain *sd =rcu_dereference (cpu_rq (cpu)->sd); +struct sched_domain *sd =rcu_dereference_sched (cpu_rq (cpu)->sd);if (!sd)return NULL ;
@@ -4877,7 +4882,7 @@ static void run_rebalance_domains(struct softirq_action *h)static inline int on_null_domain (int cpu) { -return !rcu_dereference (cpu_rq (cpu)->sd); +return !rcu_dereference_sched (cpu_rq (cpu)->sd); }/*
Signature · 1 line
1.6.6
[tip:core/rcu] sched: Use lockdep-based checking on rcu_dereference()
Commit-ID: d11c563dd20ff35da5652c3e1c989d9e10e1d6d0 Gitweb: http://git.kernel.org/tip/d11c563dd20ff35da5652c3e1c989d9e10e1d6d0 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:50 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:26 +0100
sched: Use lockdep-based checking on rcu_dereference()
Update the rcu_dereference() usages to take advantage of the new lockdep-based checking.
LKML-Reference: <[email protected]>
--- include/linux/cgroup.h | 5 ++++- include/linux/cred.h | 2 +- init/main.c | 2 ++ kernel/cgroup.c | 14 ++++++++++++++ kernel/exit.c | 14 +++++++++++--- kernel/fork.c | 1 + kernel/notifier.c | 6 +++--- kernel/pid.c | 2 +- kernel/sched.c | 11 ++++++++--- 9 files changed, 45 insertions(+), 12 deletions(-)
include/linux/cgroup.h +4 -1
@@ -28,6 +28,7 @@ struct css_id;extern int cgroup_init_early (void );extern int cgroup_init (void );extern void cgroup_lock (void ); +extern int cgroup_lock_is_held (void );extern bool cgroup_lock_live_group (struct cgroup *cgrp);extern void cgroup_unlock (void );extern void cgroup_fork (struct task_struct *p);
@@ -486,7 +487,9 @@ static inline struct cgroup_subsys_state *cgroup_subsys_state(static inline struct cgroup_subsys_state *task_subsys_state (struct task_struct *task,int subsys_id) { -return rcu_dereference (task->cgroups->subsys[subsys_id]); +return rcu_dereference_check (task->cgroups->subsys[subsys_id], +rcu_read_lock_held () || +cgroup_lock_is_held ()); } static inline struct cgroup* task_cgroup(struct task_struct *task,
include/linux/cred.h +1 -1
@@ -280,7 +280,7 @@ static inline void put_cred(const struct cred *_cred)* task or by holding tasklist_lock to prevent it from being unlinked. */ #define __task_cred (task) \ - ((const struct cred *)(rcu_dereference((task)->real_cred))) + ((const struct cred *)(rcu_dereference_check((task)->real_cred, rcu_read_lock_held() || lockdep_is_held(&tasklist_lock))))/** * get_task_cred - Get another task's objective credentials
init/main.c +2 -0
@@ -416,7 +416,9 @@ static noinline void __init_refok rest_init(void)kernel_thread (kernel_init,NULL ,CLONE_FS |CLONE_SIGHAND );numa_default_policy (); pid =kernel_thread (kthreadd,NULL ,CLONE_FS |CLONE_FILES ); +rcu_read_lock (); kthreadd_task =find_task_by_pid_ns (pid, &init_pid_ns); +rcu_read_unlock ();unlock_kernel ();/*
kernel/cgroup.c +14 -0
@@ -166,6 +166,20 @@ static DEFINE_SPINLOCK(hierarchy_id_lock);*/ static int need_forkexit_callback__read_mostly ; +#ifdef CONFIG_PROVE_LOCKING +int cgroup_lock_is_held (void ) +{ +return lockdep_is_held (&cgroup_mutex); +} +#else /* #ifdef CONFIG_PROVE_LOCKING */ +int cgroup_lock_is_held (void ) +{ +return mutex_is_locked (&cgroup_mutex); +} +#endif /* #else #ifdef CONFIG_PROVE_LOCKING */ + +EXPORT_SYMBOL_GPL (cgroup_lock_is_held); +/* convenient tests for these bits */ inline int cgroup_is_removed (const struct cgroup *cgrp) {
kernel/exit.c +11 -3
@@ -85,7 +85,9 @@ static void __exit_signal(struct task_struct *tsk)BUG_ON (!sig);BUG_ON (!atomic_read (&sig->count)); - sighand =rcu_dereference (tsk->sighand); + sighand =rcu_dereference_check (tsk->sighand, +rcu_read_lock_held () || +lockdep_is_held (&tasklist_lock));spin_lock (&sighand->siglock);posix_cpu_timers_exit (tsk);
@@ -170,8 +172,10 @@ void release_task(struct task_struct * p) repeat:tracehook_prepare_release_task (p);/* don't need to get the RCU readlock here - the process is dead and -* can't be modifying its own credentials */ +* can't be modifying its own credentials. But shut RCU-lockdep up */ +rcu_read_lock ();atomic_dec (&__task_cred (p)->user->processes); +rcu_read_unlock ();proc_flush_task (p);
@@ -473,9 +477,11 @@ static void close_files(struct files_struct * files)/* * It is safe to dereference the fd table without RCU or * ->file_lock because this is the last reference to the -* files structure. +* files structure. But use RCU to shut RCU-lockdep up. */ +rcu_read_lock (); fdt =files_fdtable (files); +rcu_read_unlock ();for (;;) {unsigned long set; i = j * __NFDBITS;
@@ -521,10 +527,12 @@ void put_files_struct(struct files_struct *files)* at the end of the RCU grace period. Otherwise, * you can free files immediately. */ +rcu_read_lock (); fdt =files_fdtable (files);if (fdt != &files->fdtab)kmem_cache_free (files_cachep, files);free_fdtable (fdt); +rcu_read_unlock (); } }
kernel/fork.c +1 -0
@@ -86,6 +86,7 @@ int max_threads; /* tunable limit on nr_threads */ DEFINE_PER_CPU(unsigned long, process_counts) = 0;__cacheline_aligned DEFINE_RWLOCK (tasklist_lock );/* outer */ +EXPORT_SYMBOL_GPL (tasklist_lock);int nr_processes (void ) {
kernel/notifier.c +3 -3
@@ -78,10 +78,10 @@ static int __kprobes notifier_call_chain(struct notifier_block **nl,int ret =NOTIFY_DONE ;struct notifier_block *nb, *next_nb; - nb =rcu_dereference (*nl); + nb =rcu_dereference_raw (*nl);while (nb && nr_to_call) { - next_nb =rcu_dereference (nb->next); + next_nb =rcu_dereference_raw (nb->next);#ifdef CONFIG_DEBUG_NOTIFIERS if (unlikely (!func_ptr_is_kernel_text (nb->notifier_call))) {
@@ -309,7 +309,7 @@ int __blocking_notifier_call_chain(struct blocking_notifier_head *nh,* racy then it does not matter what the result of the test * is, we re-check the list after having taken the lock anyway: */ -if (rcu_dereference (nh->head)) { +if (rcu_dereference_raw (nh->head)) {down_read (&nh->rwsem); ret =notifier_call_chain (&nh->head, val, v, nr_to_call, nr_calls);
kernel/pid.c +1 -1
@@ -367,7 +367,7 @@ struct task_struct *pid_task(struct pid *pid, enum pid_type type)struct task_struct *result =NULL ;if (pid) {struct hlist_node *first; - first =rcu_dereference (pid->tasks[type].first); + first =rcu_dereference_check (pid->tasks[type].first,rcu_read_lock_held () ||lockdep_is_held (&tasklist_lock));if (first) result = hlist_entry(first, struct task_struct, pids[(type)].node); }
kernel/sched.c +8 -3
@@ -645,6 +645,11 @@ static inline int cpu_of(struct rq *rq)#endif } +#define for_each_domain_rd (p) \ + rcu_dereference_check((p), \ + rcu_read_lock_sched_held() || \ + lockdep_is_held(&sched_domains_mutex)) +/* * The domain tree (rq->sd) is protected by RCU's quiescent state transition. * See detach_destroy_domains: synchronize_sched for details.
@@ -653,7 +658,7 @@ static inline int cpu_of(struct rq *rq)* preempt-disabled sections. */ #define for_each_domain (cpu, __sd) \ - for (__sd = rcu_dereference(cpu_rq(cpu)->sd); __sd; __sd = __sd->parent) + for (__sd = for_each_domain_rd(cpu_rq(cpu)->sd); __sd; __sd = __sd->parent)#define cpu_rq (cpu) (&per_cpu(runqueues, (cpu)))#define this_rq () (&__get_cpu_var(runqueues))
@@ -1531,7 +1536,7 @@ static unsigned long target_load(int cpu, int type)static struct sched_group *group_of (int cpu) { -struct sched_domain *sd =rcu_dereference (cpu_rq (cpu)->sd); +struct sched_domain *sd =rcu_dereference_sched (cpu_rq (cpu)->sd);if (!sd)return NULL ;
@@ -4888,7 +4893,7 @@ static void run_rebalance_domains(struct softirq_action *h)static inline int on_null_domain (int cpu) { -return !rcu_dereference (cpu_rq (cpu)->sd); +return !rcu_dereference_sched (cpu_rq (cpu)->sd); }/*
[tip:core/rcu] sched, cgroups: Fix module export
In reply to Paul E. McKenneyCommit-ID: c50cc75271759373bd89a036eec4d4269b291616 Gitweb: http://git.kernel.org/tip/c50cc75271759373bd89a036eec4d4269b291616 Author: Ingo Molnar <[email protected]> AuthorDate: Thu, 25 Feb 2010 12:02:13 +0100 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 12:02:13 +0100
sched, cgroups: Fix module export
I have exported it in d11c563 - but cgroups.c did not have module.h included ...
Cc: Paul E. McKenney <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
--- kernel/cgroup.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
kernel/cgroup.c +1 -0
@@ -23,6 +23,7 @@*/ #include <linux/cgroup.h> +#include <linux/module.h> #include <linux/ctype.h> #include <linux/errno.h> #include <linux/fs.h>
PATCH 7/21 sched: better name for for_each_domain_rd
In reply to Paul E. McKenneyAs suggested by Peter Ziljstra, make better choice of name for for_each_domain_rd(), containing "rcu_dereference", given that it is but a wrapper for rcu_dereference_check(). The name rcu_dereference_check_sched_domain() does that and provides a separate per-subsystem name space.
--- kernel/sched.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
kernel/sched.c +2 -2
@@ -645,7 +645,7 @@ static inline int cpu_of(struct rq *rq)#endif } -#define for_each_domain_rd (p) \ +#define rcu_dereference_check_sched_domain (p) \ rcu_dereference_check((p), \ rcu_read_lock_sched_held() || \ lockdep_is_held(&sched_domains_mutex))
@@ -658,7 +658,7 @@ static inline int cpu_of(struct rq *rq)* preempt-disabled sections. */ #define for_each_domain (cpu, __sd) \ - for (__sd = for_each_domain_rd(cpu_rq(cpu)->sd); __sd; __sd = __sd->parent) + for (__sd = rcu_dereference_check_sched_domain(cpu_rq(cpu)->sd); __sd; __sd = __sd->parent)#define cpu_rq (cpu) (&per_cpu(runqueues, (cpu)))#define this_rq () (&__get_cpu_var(runqueues))
Signature · 1 line
1.6.6
[tip:core/rcu] sched: Better name for for_each_domain_rd
Commit-ID: 497f0ab39cd25bed317b29482c147c967f7ecd1f Gitweb: http://git.kernel.org/tip/497f0ab39cd25bed317b29482c147c967f7ecd1f Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:51 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:47 +0100
sched: Better name for for_each_domain_rd
As suggested by Peter Ziljstra, make better choice of name for for_each_domain_rd(), containing "rcu_dereference", given that it is but a wrapper for rcu_dereference_check(). The name rcu_dereference_check_sched_domain() does that and provides a separate per-subsystem name space.
LKML-Reference: <[email protected]>
--- kernel/sched.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
kernel/sched.c +2 -2
@@ -645,7 +645,7 @@ static inline int cpu_of(struct rq *rq)#endif } -#define for_each_domain_rd (p) \ +#define rcu_dereference_check_sched_domain (p) \ rcu_dereference_check((p), \ rcu_read_lock_sched_held() || \ lockdep_is_held(&sched_domains_mutex))
@@ -658,7 +658,7 @@ static inline int cpu_of(struct rq *rq)* preempt-disabled sections. */ #define for_each_domain (cpu, __sd) \ - for (__sd = for_each_domain_rd(cpu_rq(cpu)->sd); __sd; __sd = __sd->parent) + for (__sd = rcu_dereference_check_sched_domain(cpu_rq(cpu)->sd); __sd; __sd = __sd->parent)#define cpu_rq (cpu) (&per_cpu(runqueues, (cpu)))#define this_rq () (&__get_cpu_var(runqueues))
PATCH 8/21 vfs: apply lockdep-based checking to rcu_dereference() uses
In reply to Paul E. McKenneyAdd lockdep-ified RCU primitives to alloc_fd(), files_fdtable() and fcheck_files().
--- fs/file.c | 2 +- fs/proc/array.c | 2 ++ fs/proc/base.c | 6 +++++- include/linux/fdtable.h | 8 ++++++-- 4 files changed, 14 insertions(+), 4 deletions(-)
fs/file.c +1 -1
@@ -478,7 +478,7 @@ repeat: error = fd;#if 1 /* Sanity check */ -if (rcu_dereference (fdt->fd[fd]) !=NULL ) { +if (rcu_dereference_raw (fdt->fd[fd]) !=NULL ) {printk (KERN_WARNING "alloc_fd: slot %d not NULL!\n" , fd);rcu_assign_pointer (fdt->fd[fd],NULL ); }
fs/proc/array.c +2 -0
@@ -270,7 +270,9 @@ static inline void task_sig(struct seq_file *m, struct task_struct *p) blocked = p->blocked;collect_sigign_sigcatch (p, &ignored, &caught); num_threads =atomic_read (&p->signal->count); +rcu_read_lock ();/* FIXME: is this correct? */ qsize =atomic_read (&__task_cred (p)->user->sigpending); +rcu_read_unlock (); qlim = p->signal->rlim[RLIMIT_SIGPENDING ].rlim_cur;unlock_task_sighand (p, &flags); }
fs/proc/base.c +5 -1
@@ -1095,8 +1095,12 @@ static ssize_t proc_loginuid_write(struct file * file, const char __user * buf,if (!capable (CAP_AUDIT_CONTROL ))return -EPERM ; -if (current !=pid_task (proc_pid (inode),PIDTYPE_PID )) +rcu_read_lock (); +if (current !=pid_task (proc_pid (inode),PIDTYPE_PID )) { +rcu_read_unlock ();return -EPERM ; + } +rcu_read_unlock ();if (count >=PAGE_SIZE ) count =PAGE_SIZE -1 ;
include/linux/fdtable.h +6 -2
@@ -57,7 +57,11 @@ struct files_struct {struct file * fd_array[NR_OPEN_DEFAULT ]; }; -#define files_fdtable (files) (rcu_dereference((files)->fdt)) +#define files_fdtable (files) \ + (rcu_dereference_check((files)->fdt, \ + rcu_read_lock_held() || \ + lockdep_is_held(&(files)->file_lock) || \ + atomic_read(&files->count) == 1))struct file_operations ;struct vfsmount ;
@@ -78,7 +82,7 @@ static inline struct file * fcheck_files(struct files_struct *files, unsigned instruct fdtable *fdt =files_fdtable (files);if (fd < fdt->max_fds) - file =rcu_dereference (fdt->fd[fd]); + file =rcu_dereference_check (fdt->fd[fd],rcu_read_lock_held () ||lockdep_is_held (&files->file_lock) ||atomic_read (&files->count) ==1 );return file; }
Signature · 1 line
1.6.6
[tip:core/rcu] vfs: Apply lockdep-based checking to rcu_dereference() uses
Commit-ID: 7dc52157982ab771f40e3c0b7dc55b954c3c2d19 Gitweb: http://git.kernel.org/tip/7dc52157982ab771f40e3c0b7dc55b954c3c2d19 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:52 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:48 +0100
vfs: Apply lockdep-based checking to rcu_dereference() uses
Add lockdep-ified RCU primitives to alloc_fd(), files_fdtable() and fcheck_files().
LKML-Reference: <[email protected]>
--- fs/file.c | 2 +- fs/proc/array.c | 2 ++ fs/proc/base.c | 6 +++++- include/linux/fdtable.h | 8 ++++++-- 4 files changed, 14 insertions(+), 4 deletions(-)
fs/file.c +1 -1
@@ -478,7 +478,7 @@ repeat: error = fd;#if 1 /* Sanity check */ -if (rcu_dereference (fdt->fd[fd]) !=NULL ) { +if (rcu_dereference_raw (fdt->fd[fd]) !=NULL ) {printk (KERN_WARNING "alloc_fd: slot %d not NULL!\n" , fd);rcu_assign_pointer (fdt->fd[fd],NULL ); }
fs/proc/array.c +2 -0
@@ -270,7 +270,9 @@ static inline void task_sig(struct seq_file *m, struct task_struct *p) blocked = p->blocked;collect_sigign_sigcatch (p, &ignored, &caught); num_threads =atomic_read (&p->signal->count); +rcu_read_lock ();/* FIXME: is this correct? */ qsize =atomic_read (&__task_cred (p)->user->sigpending); +rcu_read_unlock (); qlim = p->signal->rlim[RLIMIT_SIGPENDING ].rlim_cur;unlock_task_sighand (p, &flags); }
fs/proc/base.c +5 -1
@@ -1095,8 +1095,12 @@ static ssize_t proc_loginuid_write(struct file * file, const char __user * buf,if (!capable (CAP_AUDIT_CONTROL ))return -EPERM ; -if (current !=pid_task (proc_pid (inode),PIDTYPE_PID )) +rcu_read_lock (); +if (current !=pid_task (proc_pid (inode),PIDTYPE_PID )) { +rcu_read_unlock ();return -EPERM ; + } +rcu_read_unlock ();if (count >=PAGE_SIZE ) count =PAGE_SIZE -1 ;
include/linux/fdtable.h +6 -2
@@ -57,7 +57,11 @@ struct files_struct {struct file * fd_array[NR_OPEN_DEFAULT ]; }; -#define files_fdtable (files) (rcu_dereference((files)->fdt)) +#define files_fdtable (files) \ + (rcu_dereference_check((files)->fdt, \ + rcu_read_lock_held() || \ + lockdep_is_held(&(files)->file_lock) || \ + atomic_read(&files->count) == 1))struct file_operations ;struct vfsmount ;
@@ -78,7 +82,7 @@ static inline struct file * fcheck_files(struct files_struct *files, unsigned instruct fdtable *fdt =files_fdtable (files);if (fd < fdt->max_fds) - file =rcu_dereference (fdt->fd[fd]); + file =rcu_dereference_check (fdt->fd[fd],rcu_read_lock_held () ||lockdep_is_held (&files->file_lock) ||atomic_read (&files->count) ==1 );return file; }
PATCH 9/21 vfs: abstract rcu_dereference_check for files-fdtable use
In reply to Paul E. McKenneyCreate an rcu_dereference_check_fdtable() that encapsulates the rcu_dereference_check() condition for fcheck_files() use. This has the beneficial side-effect of getting rid of a very long line.
--- include/linux/fdtable.h | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-)
include/linux/fdtable.h +7 -4
@@ -57,11 +57,14 @@ struct files_struct {struct file * fd_array[NR_OPEN_DEFAULT ]; }; -#define files_fdtable (files) \ - (rcu_dereference_check((files)->fdt, \ +#define rcu_dereference_check_fdtable (files, fdtfd) \ + (rcu_dereference_check((fdtfd), \ rcu_read_lock_held() || \ lockdep_is_held(&(files)->file_lock) || \ - atomic_read(&files->count) == 1)) + atomic_read(&(files)->count) == 1)) + +#define files_fdtable (files) \ + (rcu_dereference_check_fdtable((files), (files)->fdt))struct file_operations ;struct vfsmount ;
@@ -82,7 +85,7 @@ static inline struct file * fcheck_files(struct files_struct *files, unsigned instruct fdtable *fdt =files_fdtable (files);if (fd < fdt->max_fds) - file =rcu_dereference_check (fdt->fd[fd],rcu_read_lock_held () ||lockdep_is_held (&files->file_lock) ||atomic_read (&files->count) ==1 ); + file =rcu_dereference_check_fdtable (files, fdt->fd[fd]);return file; }
Signature · 1 line
1.6.6
[tip:core/rcu] vfs: Abstract rcu_dereference_check for files-fdtable use
Commit-ID: af61b96b4f68f7ab25ebf34fed275fabf64f2edc Gitweb: http://git.kernel.org/tip/af61b96b4f68f7ab25ebf34fed275fabf64f2edc Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:53 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:49 +0100
vfs: Abstract rcu_dereference_check for files-fdtable use
Create an rcu_dereference_check_fdtable() that encapsulates the rcu_dereference_check() condition for fcheck_files() use. This has the beneficial side-effect of getting rid of a very long line.
LKML-Reference: <[email protected]>
--- include/linux/fdtable.h | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-)
include/linux/fdtable.h +7 -4
@@ -57,11 +57,14 @@ struct files_struct {struct file * fd_array[NR_OPEN_DEFAULT ]; }; -#define files_fdtable (files) \ - (rcu_dereference_check((files)->fdt, \ +#define rcu_dereference_check_fdtable (files, fdtfd) \ + (rcu_dereference_check((fdtfd), \ rcu_read_lock_held() || \ lockdep_is_held(&(files)->file_lock) || \ - atomic_read(&files->count) == 1)) + atomic_read(&(files)->count) == 1)) + +#define files_fdtable (files) \ + (rcu_dereference_check_fdtable((files), (files)->fdt))struct file_operations ;struct vfsmount ;
@@ -82,7 +85,7 @@ static inline struct file * fcheck_files(struct files_struct *files, unsigned instruct fdtable *fdt =files_fdtable (files);if (fd < fdt->max_fds) - file =rcu_dereference_check (fdt->fd[fd],rcu_read_lock_held () ||lockdep_is_held (&files->file_lock) ||atomic_read (&files->count) ==1 ); + file =rcu_dereference_check_fdtable (files, fdt->fd[fd]);return file; }
PATCH 10/21 radix-tree: disable RCU lockdep checking in radix tree
In reply to Paul E. McKenneyBecause the radix tree is used with many different locking designs, we cannot do any effective checking without changing the radix-tree APIs. It might make sense to do this later, but only if the RCU lockdep checking proves itself sufficiently valuable.
--- lib/radix-tree.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-)
lib/radix-tree.c +12 -12
@@ -364,7 +364,7 @@ static void *radix_tree_lookup_element(struct radix_tree_root *root,unsigned int height, shift;struct radix_tree_node *node, **slot; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (node ==NULL )return NULL ;
@@ -384,7 +384,7 @@ static void *radix_tree_lookup_element(struct radix_tree_root *root, do { slot = (struct radix_tree_node **) (node->slots + ((index>>shift) & RADIX_TREE_MAP_MASK)); - node = rcu_dereference(*slot); + node = rcu_dereference_raw(*slot); if (node == NULL) return NULL;
@@ -568,7 +568,7 @@ int radix_tree_tag_get(struct radix_tree_root *root,if (!root_tag_get (root, tag))return 0 ; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (node ==NULL )return 0 ;
@@ -602,7 +602,7 @@ int radix_tree_tag_get(struct radix_tree_root *root,BUG_ON (ret && saw_unset_tag);return !!ret; } - node =rcu_dereference (node->slots[offset]); + node =rcu_dereference_raw (node->slots[offset]); shift -=RADIX_TREE_MAP_SHIFT ; height--; }
@@ -711,7 +711,7 @@ __lookup(struct radix_tree_node *slot, void ***results, unsigned long index, } shift -=RADIX_TREE_MAP_SHIFT ; - slot =rcu_dereference (slot->slots[i]); + slot =rcu_dereference_raw (slot->slots[i]);if (slot ==NULL ) goto out; }
@@ -758,7 +758,7 @@ radix_tree_gang_lookup(struct radix_tree_root *root, void **results,unsigned long cur_index = first_index;unsigned int ret; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (!node)return 0 ;
@@ -787,7 +787,7 @@ radix_tree_gang_lookup(struct radix_tree_root *root, void **results, slot = *(((void ***)results)[ret + i]);if (!slot)continue ; - results[ret + nr_found] =rcu_dereference (slot); + results[ret + nr_found] =rcu_dereference_raw (slot); nr_found++; } ret += nr_found;
@@ -826,7 +826,7 @@ radix_tree_gang_lookup_slot(struct radix_tree_root *root, void ***results,unsigned long cur_index = first_index;unsigned int ret; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (!node)return 0 ;
@@ -915,7 +915,7 @@ __lookup_tag(struct radix_tree_node *slot, void ***results, unsigned long index, } } shift -=RADIX_TREE_MAP_SHIFT ; - slot =rcu_dereference (slot->slots[i]); + slot =rcu_dereference_raw (slot->slots[i]);if (slot ==NULL )break ; }
@@ -951,7 +951,7 @@ radix_tree_gang_lookup_tag(struct radix_tree_root *root, void **results,if (!root_tag_get (root, tag))return 0 ; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (!node)return 0 ;
@@ -980,7 +980,7 @@ radix_tree_gang_lookup_tag(struct radix_tree_root *root, void **results, slot = *(((void ***)results)[ret + i]);if (!slot)continue ; - results[ret + nr_found] =rcu_dereference (slot); + results[ret + nr_found] =rcu_dereference_raw (slot); nr_found++; } ret += nr_found;
@@ -1020,7 +1020,7 @@ radix_tree_gang_lookup_tag_slot(struct radix_tree_root *root, void ***results,if (!root_tag_get (root, tag))return 0 ; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (!node)return 0 ;
Signature · 1 line
1.6.6
[tip:core/rcu] radix-tree: Disable RCU lockdep checking in radix tree
Commit-ID: 2676a58c980b7ef076cc9bbff3fd8c9d2d5417ea Gitweb: http://git.kernel.org/tip/2676a58c980b7ef076cc9bbff3fd8c9d2d5417ea Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:54 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:50 +0100
radix-tree: Disable RCU lockdep checking in radix tree
Because the radix tree is used with many different locking designs, we cannot do any effective checking without changing the radix-tree APIs. It might make sense to do this later, but only if the RCU lockdep checking proves itself sufficiently valuable.
LKML-Reference: <[email protected]>
--- lib/radix-tree.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-)
lib/radix-tree.c +12 -12
@@ -364,7 +364,7 @@ static void *radix_tree_lookup_element(struct radix_tree_root *root,unsigned int height, shift;struct radix_tree_node *node, **slot; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (node ==NULL )return NULL ;
@@ -384,7 +384,7 @@ static void *radix_tree_lookup_element(struct radix_tree_root *root, do { slot = (struct radix_tree_node **) (node->slots + ((index>>shift) & RADIX_TREE_MAP_MASK)); - node = rcu_dereference(*slot); + node = rcu_dereference_raw(*slot); if (node == NULL) return NULL;
@@ -568,7 +568,7 @@ int radix_tree_tag_get(struct radix_tree_root *root,if (!root_tag_get (root, tag))return 0 ; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (node ==NULL )return 0 ;
@@ -602,7 +602,7 @@ int radix_tree_tag_get(struct radix_tree_root *root,BUG_ON (ret && saw_unset_tag);return !!ret; } - node =rcu_dereference (node->slots[offset]); + node =rcu_dereference_raw (node->slots[offset]); shift -=RADIX_TREE_MAP_SHIFT ; height--; }
@@ -711,7 +711,7 @@ __lookup(struct radix_tree_node *slot, void ***results, unsigned long index, } shift -=RADIX_TREE_MAP_SHIFT ; - slot =rcu_dereference (slot->slots[i]); + slot =rcu_dereference_raw (slot->slots[i]);if (slot ==NULL ) goto out; }
@@ -758,7 +758,7 @@ radix_tree_gang_lookup(struct radix_tree_root *root, void **results,unsigned long cur_index = first_index;unsigned int ret; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (!node)return 0 ;
@@ -787,7 +787,7 @@ radix_tree_gang_lookup(struct radix_tree_root *root, void **results, slot = *(((void ***)results)[ret + i]);if (!slot)continue ; - results[ret + nr_found] =rcu_dereference (slot); + results[ret + nr_found] =rcu_dereference_raw (slot); nr_found++; } ret += nr_found;
@@ -826,7 +826,7 @@ radix_tree_gang_lookup_slot(struct radix_tree_root *root, void ***results,unsigned long cur_index = first_index;unsigned int ret; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (!node)return 0 ;
@@ -915,7 +915,7 @@ __lookup_tag(struct radix_tree_node *slot, void ***results, unsigned long index, } } shift -=RADIX_TREE_MAP_SHIFT ; - slot =rcu_dereference (slot->slots[i]); + slot =rcu_dereference_raw (slot->slots[i]);if (slot ==NULL )break ; }
@@ -951,7 +951,7 @@ radix_tree_gang_lookup_tag(struct radix_tree_root *root, void **results,if (!root_tag_get (root, tag))return 0 ; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (!node)return 0 ;
@@ -980,7 +980,7 @@ radix_tree_gang_lookup_tag(struct radix_tree_root *root, void **results, slot = *(((void ***)results)[ret + i]);if (!slot)continue ; - results[ret + nr_found] =rcu_dereference (slot); + results[ret + nr_found] =rcu_dereference_raw (slot); nr_found++; } ret += nr_found;
@@ -1020,7 +1020,7 @@ radix_tree_gang_lookup_tag_slot(struct radix_tree_root *root, void ***results,if (!root_tag_get (root, tag))return 0 ; - node =rcu_dereference (root->rnode); + node =rcu_dereference_raw (root->rnode);if (!node)return 0 ;
PATCH 11/21 idr: apply lockdep-based diagnostics to rcu_dereference() uses
In reply to Paul E. McKenneyBecause idr can be used with any of a number of locks or with any flavor of RCU, just disable the lockdep-based diagnostics. If idr needs diagnostics, the check expression will need to be passed into the relevant idr primitives as an additional argument.
--- lib/idr.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
lib/idr.c +4 -4
@@ -502,7 +502,7 @@ void *idr_find(struct idr *idp, int id)int n;struct idr_layer *p; - p =rcu_dereference (idp->top); + p =rcu_dereference_raw (idp->top);if (!p)return NULL ; n = (p->layer+1 ) *IDR_BITS ;
@@ -517,7 +517,7 @@ void *idr_find(struct idr *idp, int id)while (n >0 && p) { n -=IDR_BITS ;BUG_ON (n != p->layer*IDR_BITS ); - p =rcu_dereference (p->ary[(id >> n) &IDR_MASK ]); + p =rcu_dereference_raw (p->ary[(id >> n) &IDR_MASK ]); }return ((void *)p); }
@@ -550,7 +550,7 @@ int idr_for_each(struct idr *idp,struct idr_layer **paa = &pa[0 ]; n = idp->layers *IDR_BITS ; - p =rcu_dereference (idp->top); + p =rcu_dereference_raw (idp->top); max =1 << n; id =0 ;
@@ -558,7 +558,7 @@ int idr_for_each(struct idr *idp,while (n >0 && p) { n -=IDR_BITS ; *paa++ = p; - p =rcu_dereference (p->ary[(id >> n) &IDR_MASK ]); + p =rcu_dereference_raw (p->ary[(id >> n) &IDR_MASK ]); }if (p) {
Signature · 1 line
1.6.6
[tip:core/rcu] idr: Apply lockdep-based diagnostics to rcu_dereference() uses
Commit-ID: 96be753af91fc9d582450a84722f6a6721d218ad Gitweb: http://git.kernel.org/tip/96be753af91fc9d582450a84722f6a6721d218ad Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:55 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:51 +0100
idr: Apply lockdep-based diagnostics to rcu_dereference() uses
Because idr can be used with any of a number of locks or with any flavor of RCU, just disable the lockdep-based diagnostics. If idr needs diagnostics, the check expression will need to be passed into the relevant idr primitives as an additional argument.
LKML-Reference: <[email protected]>
--- lib/idr.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
lib/idr.c +4 -4
@@ -504,7 +504,7 @@ void *idr_find(struct idr *idp, int id)int n;struct idr_layer *p; - p =rcu_dereference (idp->top); + p =rcu_dereference_raw (idp->top);if (!p)return NULL ; n = (p->layer+1 ) *IDR_BITS ;
@@ -519,7 +519,7 @@ void *idr_find(struct idr *idp, int id)while (n >0 && p) { n -=IDR_BITS ;BUG_ON (n != p->layer*IDR_BITS ); - p =rcu_dereference (p->ary[(id >> n) &IDR_MASK ]); + p =rcu_dereference_raw (p->ary[(id >> n) &IDR_MASK ]); }return ((void *)p); }
@@ -552,7 +552,7 @@ int idr_for_each(struct idr *idp,struct idr_layer **paa = &pa[0 ]; n = idp->layers *IDR_BITS ; - p =rcu_dereference (idp->top); + p =rcu_dereference_raw (idp->top); max =1 << n; id =0 ;
@@ -560,7 +560,7 @@ int idr_for_each(struct idr *idp,while (n >0 && p) { n -=IDR_BITS ; *paa++ = p; - p =rcu_dereference (p->ary[(id >> n) &IDR_MASK ]); + p =rcu_dereference_raw (p->ary[(id >> n) &IDR_MASK ]); }if (p) {
PATCH 12/21 security: apply lockdep-based checking to rcu_dereference() uses
In reply to Paul E. McKenneyApply lockdep-ified RCU primitives to key_gc_keyring() and keyring_destroy().
--- security/keys/gc.c | 3 ++- security/keys/keyring.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-)
security/keys/gc.c +2 -1
@@ -77,7 +77,8 @@ static bool key_gc_keyring(struct key *keyring, time_t limit) goto dont_gc;/* scan the keyring looking for dead keys */ - klist =rcu_dereference (keyring->payload.subscriptions); + klist =rcu_dereference_check (keyring->payload.subscriptions, +lockdep_is_held (&key_serial_lock));if (!klist) goto dont_gc;
security/keys/keyring.c +3 -1
@@ -151,7 +151,9 @@ static void keyring_destroy(struct key *keyring)write_unlock (&keyring_name_lock); } - klist =rcu_dereference (keyring->payload.subscriptions); + klist =rcu_dereference_check (keyring->payload.subscriptions, +rcu_read_lock_held () || +atomic_read (&keyring->usage) ==0 );if (klist) {for (loop = klist->nkeys -1 ; loop >=0 ; loop--)key_put (klist->keys[loop]);
Signature · 1 line
1.6.6
[tip:core/rcu] security: Apply lockdep-based checking to rcu_dereference() uses
Commit-ID: e7b0a61b7929632d36cf052d9e2820ef0a9c1bfe Gitweb: http://git.kernel.org/tip/e7b0a61b7929632d36cf052d9e2820ef0a9c1bfe Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:56 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:52 +0100
security: Apply lockdep-based checking to rcu_dereference() uses
Apply lockdep-ified RCU primitives to key_gc_keyring() and keyring_destroy().
LKML-Reference: <[email protected]>
--- security/keys/gc.c | 3 ++- security/keys/keyring.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-)
security/keys/gc.c +2 -1
@@ -77,7 +77,8 @@ static bool key_gc_keyring(struct key *keyring, time_t limit) goto dont_gc;/* scan the keyring looking for dead keys */ - klist =rcu_dereference (keyring->payload.subscriptions); + klist =rcu_dereference_check (keyring->payload.subscriptions, +lockdep_is_held (&key_serial_lock));if (!klist) goto dont_gc;
security/keys/keyring.c +3 -1
@@ -151,7 +151,9 @@ static void keyring_destroy(struct key *keyring)write_unlock (&keyring_name_lock); } - klist =rcu_dereference (keyring->payload.subscriptions); + klist =rcu_dereference_check (keyring->payload.subscriptions, +rcu_read_lock_held () || +atomic_read (&keyring->usage) ==0 );if (klist) {for (loop = klist->nkeys -1 ; loop >=0 ; loop--)key_put (klist->keys[loop]);
PATCH 13/21 rcu: documentation update for CONFIG_PROVE_RCU
In reply to Paul E. McKenneyAdds a lockdep.txt file and updates checklist.txt and whatisRCU.txt to reflect the new lockdep-enabled capabilities of RCU.
--- Documentation/RCU/00-INDEX | 2 + Documentation/RCU/checklist.txt | 34 +++++++++++-------- Documentation/RCU/lockdep.txt | 67 +++++++++++++++++++++++++++++++++++++++ Documentation/RCU/whatisRCU.txt | 13 +++++--- 4 files changed, 97 insertions(+), 19 deletions(-) create mode 100644 Documentation/RCU/lockdep.txt
Documentation/RCU/00-INDEX +2 -0
@@ -6,6 +6,8 @@ checklist.txt - Review Checklist for RCU Patches listRCU.txt - Using RCU to Protect Read-Mostly Linked Lists +lockdep.txt + - RCU and lockdep checking NMI-RCU.txt - Using RCU to Protect Dynamic NMI Handlers rcubarrier.txt
Documentation/RCU/checklist.txt +20 -14
@@ -127,10 +127,14 @@ over a rather long period of time, but improvements are always welcome! perfectly legal (if redundant) for update-side code to use rcu_dereference() and the "_rcu()" list-traversal primitives. This is particularly useful in code that - is common to readers and updaters. However, neither - rcu_dereference() nor the "_rcu()" list-traversal - primitives can substitute for a good concurrency design - coordinating among multiple updaters. + is common to readers and updaters. However, lockdep + will complain if you access rcu_dereference() outside + of an RCU read-side critical section. See lockdep.txt + to learn what to do about this. + + Of course, neither rcu_dereference() nor the "_rcu()" + list-traversal primitives can substitute for a good + concurrency design coordinating among multiple updaters. b. If the list macros are being used, the list_add_tail_rcu() and list_add_rcu() primitives must be used in order
@@ -249,7 +253,9 @@ over a rather long period of time, but improvements are always welcome! must be protected by appropriate update-side locks. RCU read-side critical sections are delimited by rcu_read_lock() and rcu_read_unlock(), or by similar primitives such as - rcu_read_lock_bh() and rcu_read_unlock_bh(). + rcu_read_lock_bh() and rcu_read_unlock_bh(), in which case + the matching rcu_dereference() primitive must be used in order + to keep lockdep happy, in this case, rcu_dereference_bh(). The reason that it is permissible to use RCU list-traversal primitives when the update-side lock is held is that doing so
@@ -302,15 +308,15 @@ over a rather long period of time, but improvements are always welcome! not the case, a self-spawning RCU callback would prevent the victim CPU from ever going offline.) -14. SRCU (srcu_read_lock(), srcu_read_unlock(), synchronize_srcu(), - and synchronize_srcu_expedited()) may only be invoked from - process context. Unlike other forms of RCU, it -is- permissible - to block in an SRCU read-side critical section (demarked by - srcu_read_lock() and srcu_read_unlock()), hence the "SRCU": - "sleepable RCU". Please note that if you don't need to sleep - in read-side critical sections, you should be using RCU rather - than SRCU, because RCU is almost always faster and easier to - use than is SRCU. +14. SRCU (srcu_read_lock(), srcu_read_unlock(), srcu_dereference(), + synchronize_srcu(), and synchronize_srcu_expedited()) may only + be invoked from process context. Unlike other forms of RCU, it + -is- permissible to block in an SRCU read-side critical section + (demarked by srcu_read_lock() and srcu_read_unlock()), hence the + "SRCU": "sleepable RCU". Please note that if you don't need + to sleep in read-side critical sections, you should be using + RCU rather than SRCU, because RCU is almost always faster and + easier to use than is SRCU. Also unlike other forms of RCU, explicit initialization and cleanup is required via init_srcu_struct() and
Documentation/RCU/lockdep.txt new file +67 -0
67 lines not on this page · raw message
Documentation/RCU/whatisRCU.txt +8 -5
@@ -323,15 +323,17 @@ used as follows: Defer Protect a. synchronize_rcu() rcu_read_lock() / rcu_read_unlock() - call_rcu() + call_rcu() rcu_dereference() b. call_rcu_bh() rcu_read_lock_bh() / rcu_read_unlock_bh() + rcu_dereference_bh() c. synchronize_sched() rcu_read_lock_sched() / rcu_read_unlock_sched() preempt_disable() / preempt_enable() local_irq_save() / local_irq_restore() hardirq enter / hardirq exit NMI enter / NMI exit + rcu_dereference_sched() These three mechanisms are used as follows:
@@ -781,9 +783,8 @@ Linux-kernel source code, but it helps to have a full list of the APIs, since there does not appear to be a way to categorize them in docbook. Here is the list, by category. -RCU pointer/list traversal: +RCU list traversal: - rcu_dereference list_for_each_entry_rcu hlist_for_each_entry_rcu hlist_nulls_for_each_entry_rcu
@@ -809,7 +810,7 @@ RCU: Critical sections Grace period Barrier rcu_read_lock synchronize_net rcu_barrier rcu_read_unlock synchronize_rcu - synchronize_rcu_expedited + rcu_dereference synchronize_rcu_expedited call_rcu
@@ -817,7 +818,7 @@ bh: Critical sections Grace period Barrier rcu_read_lock_bh call_rcu_bh rcu_barrier_bh rcu_read_unlock_bh synchronize_rcu_bh - synchronize_rcu_bh_expedited + rcu_dereference_bh synchronize_rcu_bh_expedited sched: Critical sections Grace period Barrier
@@ -826,12 +827,14 @@ sched: Critical sections Grace period Barrier rcu_read_unlock_sched call_rcu_sched [preempt_disable] synchronize_sched_expedited [and friends] + rcu_dereference_sched SRCU: Critical sections Grace period Barrier srcu_read_lock synchronize_srcu N/A srcu_read_unlock synchronize_srcu_expedited + srcu_dereference SRCU: Initialization/cleanup init_srcu_struct
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Documentation update for CONFIG_PROVE_RCU
Commit-ID: c598a070bc581aea8a518b460dae8c0cf8e74344 Gitweb: http://git.kernel.org/tip/c598a070bc581aea8a518b460dae8c0cf8e74344 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:57 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:53 +0100
rcu: Documentation update for CONFIG_PROVE_RCU
Adds a lockdep.txt file and updates checklist.txt and whatisRCU.txt to reflect the new lockdep-enabled capabilities of RCU.
LKML-Reference: <[email protected]>
--- Documentation/RCU/00-INDEX | 2 + Documentation/RCU/checklist.txt | 34 +++++++++++-------- Documentation/RCU/lockdep.txt | 67 +++++++++++++++++++++++++++++++++++++++ Documentation/RCU/whatisRCU.txt | 13 +++++--- 4 files changed, 97 insertions(+), 19 deletions(-)
Documentation/RCU/00-INDEX +2 -0
@@ -6,6 +6,8 @@ checklist.txt - Review Checklist for RCU Patches listRCU.txt - Using RCU to Protect Read-Mostly Linked Lists +lockdep.txt + - RCU and lockdep checking NMI-RCU.txt - Using RCU to Protect Dynamic NMI Handlers rcubarrier.txt
Documentation/RCU/checklist.txt +20 -14
@@ -127,10 +127,14 @@ over a rather long period of time, but improvements are always welcome! perfectly legal (if redundant) for update-side code to use rcu_dereference() and the "_rcu()" list-traversal primitives. This is particularly useful in code that - is common to readers and updaters. However, neither - rcu_dereference() nor the "_rcu()" list-traversal - primitives can substitute for a good concurrency design - coordinating among multiple updaters. + is common to readers and updaters. However, lockdep + will complain if you access rcu_dereference() outside + of an RCU read-side critical section. See lockdep.txt + to learn what to do about this. + + Of course, neither rcu_dereference() nor the "_rcu()" + list-traversal primitives can substitute for a good + concurrency design coordinating among multiple updaters. b. If the list macros are being used, the list_add_tail_rcu() and list_add_rcu() primitives must be used in order
@@ -249,7 +253,9 @@ over a rather long period of time, but improvements are always welcome! must be protected by appropriate update-side locks. RCU read-side critical sections are delimited by rcu_read_lock() and rcu_read_unlock(), or by similar primitives such as - rcu_read_lock_bh() and rcu_read_unlock_bh(). + rcu_read_lock_bh() and rcu_read_unlock_bh(), in which case + the matching rcu_dereference() primitive must be used in order + to keep lockdep happy, in this case, rcu_dereference_bh(). The reason that it is permissible to use RCU list-traversal primitives when the update-side lock is held is that doing so
@@ -302,15 +308,15 @@ over a rather long period of time, but improvements are always welcome! not the case, a self-spawning RCU callback would prevent the victim CPU from ever going offline.) -14. SRCU (srcu_read_lock(), srcu_read_unlock(), synchronize_srcu(), - and synchronize_srcu_expedited()) may only be invoked from - process context. Unlike other forms of RCU, it -is- permissible - to block in an SRCU read-side critical section (demarked by - srcu_read_lock() and srcu_read_unlock()), hence the "SRCU": - "sleepable RCU". Please note that if you don't need to sleep - in read-side critical sections, you should be using RCU rather - than SRCU, because RCU is almost always faster and easier to - use than is SRCU. +14. SRCU (srcu_read_lock(), srcu_read_unlock(), srcu_dereference(), + synchronize_srcu(), and synchronize_srcu_expedited()) may only + be invoked from process context. Unlike other forms of RCU, it + -is- permissible to block in an SRCU read-side critical section + (demarked by srcu_read_lock() and srcu_read_unlock()), hence the + "SRCU": "sleepable RCU". Please note that if you don't need + to sleep in read-side critical sections, you should be using + RCU rather than SRCU, because RCU is almost always faster and + easier to use than is SRCU. Also unlike other forms of RCU, explicit initialization and cleanup is required via init_srcu_struct() and
Documentation/RCU/lockdep.txt new file +67 -0
67 lines not on this page · raw message
Documentation/RCU/whatisRCU.txt +8 -5
@@ -323,15 +323,17 @@ used as follows: Defer Protect a. synchronize_rcu() rcu_read_lock() / rcu_read_unlock() - call_rcu() + call_rcu() rcu_dereference() b. call_rcu_bh() rcu_read_lock_bh() / rcu_read_unlock_bh() + rcu_dereference_bh() c. synchronize_sched() rcu_read_lock_sched() / rcu_read_unlock_sched() preempt_disable() / preempt_enable() local_irq_save() / local_irq_restore() hardirq enter / hardirq exit NMI enter / NMI exit + rcu_dereference_sched() These three mechanisms are used as follows:
@@ -781,9 +783,8 @@ Linux-kernel source code, but it helps to have a full list of the APIs, since there does not appear to be a way to categorize them in docbook. Here is the list, by category. -RCU pointer/list traversal: +RCU list traversal: - rcu_dereference list_for_each_entry_rcu hlist_for_each_entry_rcu hlist_nulls_for_each_entry_rcu
@@ -809,7 +810,7 @@ RCU: Critical sections Grace period Barrier rcu_read_lock synchronize_net rcu_barrier rcu_read_unlock synchronize_rcu - synchronize_rcu_expedited + rcu_dereference synchronize_rcu_expedited call_rcu
@@ -817,7 +818,7 @@ bh: Critical sections Grace period Barrier rcu_read_lock_bh call_rcu_bh rcu_barrier_bh rcu_read_unlock_bh synchronize_rcu_bh - synchronize_rcu_bh_expedited + rcu_dereference_bh synchronize_rcu_bh_expedited sched: Critical sections Grace period Barrier
@@ -826,12 +827,14 @@ sched: Critical sections Grace period Barrier rcu_read_unlock_sched call_rcu_sched [preempt_disable] synchronize_sched_expedited [and friends] + rcu_dereference_sched SRCU: Critical sections Grace period Barrier srcu_read_lock synchronize_srcu N/A srcu_read_unlock synchronize_srcu_expedited + srcu_dereference SRCU: Initialization/cleanup init_srcu_struct
PATCH 14/21 rcu: fix citation of Mathieu's dissertation
In reply to Paul E. McKenney--- Documentation/RCU/RTFP.txt | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
Documentation/RCU/RTFP.txt +4 -1
@@ -864,9 +864,12 @@ Revised: } @phdthesis{MathieuDesnoyersPhD -, title = "Low-impact Operating System Tracing" +, title = "Low-Impact Operating System Tracing" , author = "Mathieu Desnoyers" , school = "Ecole Polytechnique de Montr\'{e}al" , month = "December" , year = 2009 +,note="Available: +\url{http://www.lttng.org/pub/thesis/desnoyers-dissertation-2009-12-v24.pdf} +[Viewed December 9, 2009]" }
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Fix citation of Mathieu's dissertation
Commit-ID: 998f2ac3fea93bfa8b55c279fff68f7c5b9ab93d Gitweb: http://git.kernel.org/tip/998f2ac3fea93bfa8b55c279fff68f7c5b9ab93d Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:58 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:54 +0100
rcu: Fix citation of Mathieu's dissertation
LKML-Reference: <[email protected]>
--- Documentation/RCU/RTFP.txt | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
Documentation/RCU/RTFP.txt +4 -1
@@ -864,9 +864,12 @@ Revised: } @phdthesis{MathieuDesnoyersPhD -, title = "Low-impact Operating System Tracing" +, title = "Low-Impact Operating System Tracing" , author = "Mathieu Desnoyers" , school = "Ecole Polytechnique de Montr\'{e}al" , month = "December" , year = 2009 +,note="Available: +\url{http://www.lttng.org/pub/thesis/desnoyers-dissertation-2009-12-v24.pdf} +[Viewed December 9, 2009]" }
PATCH 15/21 rcu: accelerate grace period if last non-dynticked CPU
In reply to Paul E. McKenneyCurrently, rcu_needs_cpu() simply checks whether the current CPU has an outstanding RCU callback, which means that the last CPU to go into dyntick-idle mode might wait a few ticks for the relevant grace periods to complete. However, if all the other CPUs are in dyntick-idle mode, and if this CPU is in a quiescent state (which it is for RCU-bh and RCU-sched any time that we are considering going into dyntick-idle mode), then the grace period is instantly complete.
This patch therefore repeatedly invokes the RCU grace-period machinery in order to force any needed grace periods to complete quickly. It does so a limited number of times in order to prevent starvation by an RCU callback function that might pass itself to call_rcu().
However, if any CPU other than the current one is not in dyntick-idle mode, fall back to simply checking (with fix to bug noted by Lai Jiangshan). Also, take advantage of last grace-period forcing, the opportunity to do so noted by Steve Rostedt. And apply simplified #ifdef condition suggested by Frederic Weisbecker.
--- include/linux/cpumask.h | 14 +++++++++ init/Kconfig | 16 +++++++++++ kernel/rcutree.c | 5 +-- kernel/rcutree_plugin.h | 69 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 101 insertions(+), 3 deletions(-)
include/linux/cpumask.h +14 -0
@@ -143,6 +143,8 @@ static inline unsigned int cpumask_any_but(const struct cpumask *mask,#define for_each_cpu (cpu, mask) \ for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask) +#define for_each_cpu_not (cpu, mask) \ + for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask)#define for_each_cpu_and (cpu, mask, and) \ for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask, (void)and)#else
@@ -203,6 +205,18 @@ int cpumask_any_but(const struct cpumask *mask, unsigned int cpu); (cpu) < nr_cpu_ids;)/** +* for_each_cpu_not - iterate over every cpu in a complemented mask +* @cpu: the (optionally unsigned) integer iterator +* @mask: the cpumask pointer +* +* After the loop, cpu is >= nr_cpu_ids. +*/ +#define for_each_cpu_not (cpu, mask) \ + for ((cpu) = -1; \ + (cpu) = cpumask_next_zero((cpu), (mask)), \ + (cpu) < nr_cpu_ids;) + +/** * for_each_cpu_and - iterate over every cpu in both masks * @cpu: the (optionally unsigned) integer iterator * @mask: the first cpumask pointer
init/Kconfig +16 -0
@@ -396,6 +396,22 @@ config RCU_FANOUT_EXACT Say N if unsure. +config RCU_FAST_NO_HZ + bool "Accelerate last non-dyntick-idle CPU's grace periods" + depends on TREE_RCU && NO_HZ && SMP + default n + help + This option causes RCU to attempt to accelerate grace periods + in order to allow the final CPU to enter dynticks-idle state + more quickly. On the other hand, this option increases the + overhead of the dynticks-idle checking, particularly on systems + with large numbers of CPUs. + + Say Y if energy efficiency is critically important, particularly + if you have relatively few CPUs. + + Say N if you are unsure. + config TREE_RCU_TRACE def_bool RCU_TRACE && ( TREE_RCU || TREE_PREEMPT_RCU ) select DEBUG_FS
kernel/rcutree.c +2 -3
@@ -1550,10 +1550,9 @@ static int rcu_pending(int cpu)/* * Check to see if any future RCU-related work will need to be done * by the current CPU, even if none need be done immediately, returning -* 1 if so. This function is part of the RCU implementation; it is -not- -* an exported member of the RCU API. +* 1 if so. */ -int rcu_needs_cpu (int cpu) +static int rcu_needs_cpu_quick_check (int cpu) {/* RCU callbacks either ready or pending? */ return per_cpu(rcu_sched_data, cpu).nxtlist ||
kernel/rcutree_plugin.h +69 -0
72 lines not on this page · raw message
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Accelerate grace period if last non-dynticked CPU
Commit-ID: 8bd93a2c5d4cab2ae17d06350daa7dbf546a4634 Gitweb: http://git.kernel.org/tip/8bd93a2c5d4cab2ae17d06350daa7dbf546a4634 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:04:59 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:55 +0100
rcu: Accelerate grace period if last non-dynticked CPU
Currently, rcu_needs_cpu() simply checks whether the current CPU has an outstanding RCU callback, which means that the last CPU to go into dyntick-idle mode might wait a few ticks for the relevant grace periods to complete. However, if all the other CPUs are in dyntick-idle mode, and if this CPU is in a quiescent state (which it is for RCU-bh and RCU-sched any time that we are considering going into dyntick-idle mode), then the grace period is instantly complete.
This patch therefore repeatedly invokes the RCU grace-period machinery in order to force any needed grace periods to complete quickly. It does so a limited number of times in order to prevent starvation by an RCU callback function that might pass itself to call_rcu().
However, if any CPU other than the current one is not in dyntick-idle mode, fall back to simply checking (with fix to bug noted by Lai Jiangshan). Also, take advantage of last grace-period forcing, the opportunity to do so noted by Steve Rostedt. And apply simplified #ifdef condition suggested by Frederic Weisbecker.
LKML-Reference: <[email protected]>
--- include/linux/cpumask.h | 14 +++++++++ init/Kconfig | 16 +++++++++++ kernel/rcutree.c | 5 +-- kernel/rcutree_plugin.h | 69 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 101 insertions(+), 3 deletions(-)
include/linux/cpumask.h +14 -0
@@ -143,6 +143,8 @@ static inline unsigned int cpumask_any_but(const struct cpumask *mask,#define for_each_cpu (cpu, mask) \ for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask) +#define for_each_cpu_not (cpu, mask) \ + for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask)#define for_each_cpu_and (cpu, mask, and) \ for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask, (void)and)#else
@@ -203,6 +205,18 @@ int cpumask_any_but(const struct cpumask *mask, unsigned int cpu); (cpu) < nr_cpu_ids;)/** +* for_each_cpu_not - iterate over every cpu in a complemented mask +* @cpu: the (optionally unsigned) integer iterator +* @mask: the cpumask pointer +* +* After the loop, cpu is >= nr_cpu_ids. +*/ +#define for_each_cpu_not (cpu, mask) \ + for ((cpu) = -1; \ + (cpu) = cpumask_next_zero((cpu), (mask)), \ + (cpu) < nr_cpu_ids;) + +/** * for_each_cpu_and - iterate over every cpu in both masks * @cpu: the (optionally unsigned) integer iterator * @mask: the first cpumask pointer
init/Kconfig +16 -0
@@ -396,6 +396,22 @@ config RCU_FANOUT_EXACT Say N if unsure. +config RCU_FAST_NO_HZ + bool "Accelerate last non-dyntick-idle CPU's grace periods" + depends on TREE_RCU && NO_HZ && SMP + default n + help + This option causes RCU to attempt to accelerate grace periods + in order to allow the final CPU to enter dynticks-idle state + more quickly. On the other hand, this option increases the + overhead of the dynticks-idle checking, particularly on systems + with large numbers of CPUs. + + Say Y if energy efficiency is critically important, particularly + if you have relatively few CPUs. + + Say N if you are unsure. + config TREE_RCU_TRACE def_bool RCU_TRACE && ( TREE_RCU || TREE_PREEMPT_RCU ) select DEBUG_FS
kernel/rcutree.c +2 -3
@@ -1550,10 +1550,9 @@ static int rcu_pending(int cpu)/* * Check to see if any future RCU-related work will need to be done * by the current CPU, even if none need be done immediately, returning -* 1 if so. This function is part of the RCU implementation; it is -not- -* an exported member of the RCU API. +* 1 if so. */ -int rcu_needs_cpu (int cpu) +static int rcu_needs_cpu_quick_check (int cpu) {/* RCU callbacks either ready or pending? */ return per_cpu(rcu_sched_data, cpu).nxtlist ||
kernel/rcutree_plugin.h +69 -0
72 lines not on this page · raw message
PATCH 16/21 rcu: use canonical URL for Mathieu's dissertation
In reply to Paul E. McKenneyThe version numbers change too quickly, so use a canonical URL that represents the most recent version.
--- Documentation/RCU/RTFP.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/RCU/RTFP.txt +1 -1
@@ -870,6 +870,6 @@ Revised: , month = "December" , year = 2009 ,note="Available: -\url{http://www.lttng.org/pub/thesis/desnoyers-dissertation-2009-12-v24.pdf} +\url{http://www.lttng.org/pub/thesis/desnoyers-dissertation-2009-12.pdf} [Viewed December 9, 2009]" }
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Use canonical URL for Mathieu's dissertation
Commit-ID: 1bd22e374b20c2f0ba1d2723c1f585acab2251c5 Gitweb: http://git.kernel.org/tip/1bd22e374b20c2f0ba1d2723c1f585acab2251c5 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:05:00 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:56 +0100
rcu: Use canonical URL for Mathieu's dissertation
The version numbers change too quickly, so use a canonical URL that represents the most recent version.
LKML-Reference: <[email protected]>
--- Documentation/RCU/RTFP.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/RCU/RTFP.txt +1 -1
@@ -870,6 +870,6 @@ Revised: , month = "December" , year = 2009 ,note="Available: -\url{http://www.lttng.org/pub/thesis/desnoyers-dissertation-2009-12-v24.pdf} +\url{http://www.lttng.org/pub/thesis/desnoyers-dissertation-2009-12.pdf} [Viewed December 9, 2009]" }
PATCH 17/21 rcu: stop overflowing signed integers
In reply to Paul E. McKenneyThe C standard does not specify the result of an operation that overflows a signed integer, so such operations need to be avoided. This patch changes the type of several fields from "long" to "unsigned long" and adjusts operations as needed. ULONG_CMP_GE() and ULONG_CMP_LT() macros are introduced to do the modular comparisons that are appropriate given that overflow is an expected event.
--- kernel/rcutree.c | 11 +++++------ kernel/rcutree.h | 33 ++++++++++++++++++--------------- kernel/rcutree_trace.c | 14 +++++++------- 3 files changed, 30 insertions(+), 28 deletions(-)
kernel/rcutree.c +5 -6
@@ -500,7 +500,7 @@ static void print_cpu_stall(struct rcu_state *rsp)trigger_all_cpu_backtrace ();spin_lock_irqsave (&rnp->lock, flags); -if ((long )(jiffies - rsp->jiffies_stall) >=0 ) +if (ULONG_CMP_GE (jiffies, rsp->jiffies_stall)) rsp->jiffies_stall = jiffies +RCU_SECONDS_TILL_STALL_RECHECK ;spin_unlock_irqrestore (&rnp->lock, flags);
@@ -1216,8 +1216,7 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed) rsp->n_force_qs_lh++;/* Inexact, can lose counts. Tough! */ return ;/* Someone else is already on the job. */ } -if (relaxed && - (long )(rsp->jiffies_force_qs - jiffies) >=0 ) +if (relaxed &&ULONG_CMP_GE (rsp->jiffies_force_qs, jiffies)) goto unlock_fqs_ret;/* no emergency and done recently. */ rsp->n_force_qs++;spin_lock (&rnp->lock);/* irqs already disabled */
@@ -1295,7 +1294,7 @@ __rcu_process_callbacks(struct rcu_state *rsp, struct rcu_data *rdp)* If an RCU GP has gone long enough, go check for dyntick * idle CPUs and, if needed, send resched IPIs. */ -if ((long )(ACCESS_ONCE (rsp->jiffies_force_qs) - jiffies) <0 ) +if (ULONG_CMP_LT (ACCESS_ONCE (rsp->jiffies_force_qs), jiffies))force_quiescent_state (rsp,1 );/*
@@ -1392,7 +1391,7 @@ __call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu),force_quiescent_state (rsp,0 ); rdp->n_force_qs_snap = rsp->n_force_qs; rdp->qlen_last_fqs_check = rdp->qlen; - }else if ((long )(ACCESS_ONCE (rsp->jiffies_force_qs) - jiffies) <0 ) + }else if (ULONG_CMP_LT (ACCESS_ONCE (rsp->jiffies_force_qs), jiffies))force_quiescent_state (rsp,1 );local_irq_restore (flags); }
@@ -1525,7 +1524,7 @@ static int __rcu_pending(struct rcu_state *rsp, struct rcu_data *rdp)/* Has an RCU GP gone long enough to send resched IPIs &c? */ if (rcu_gp_in_progress (rsp) && - ((long )(ACCESS_ONCE (rsp->jiffies_force_qs) - jiffies) <0 )) { +ULONG_CMP_LT (ACCESS_ONCE (rsp->jiffies_force_qs), jiffies)) { rdp->n_rp_need_fqs++;return 1 ; }
kernel/rcutree.h +18 -15
@@ -92,10 +92,10 @@ struct rcu_dynticks {struct rcu_node {spinlock_t lock;/* Root rcu_node's lock protects some */ /* rcu_state fields as well as following. */ -long gpnum;/* Current grace period for this node. */ +unsigned long gpnum;/* Current grace period for this node. */ /* This will either be equal to or one */ /* behind the root rcu_node's gpnum. */ -long completed;/* Last grace period completed for this node. */ +unsigned long completed;/* Last GP completed for this node. */ /* This will either be equal to or one */ /* behind the root rcu_node's gpnum. */ unsigned long qsmask;/* CPUs or groups that need to switch in */
@@ -161,11 +161,11 @@ struct rcu_node {/* Per-CPU data for read-copy update. */ struct rcu_data {/* 1) quiescent-state and grace-period handling : */ -long completed;/* Track rsp->completed gp number */ +unsigned long completed;/* Track rsp->completed gp number */ /* in order to detect GP end. */ -long gpnum;/* Highest gp number that this CPU */ +unsigned long gpnum;/* Highest gp number that this CPU */ /* is aware of having started. */ -long passed_quiesc_completed; +unsigned long passed_quiesc_completed;/* Value of completed at time of qs. */ bool passed_quiesc;/* User-mode/idle loop etc. */ bool qs_pending;/* Core waits for quiesc state. */
@@ -221,14 +221,14 @@ struct rcu_data {unsigned long resched_ipi;/* Sent a resched IPI. */ /* 5) __rcu_pending() statistics. */ -long n_rcu_pending;/* rcu_pending() calls since boot. */ -long n_rp_qs_pending; -long n_rp_cb_ready; -long n_rp_cpu_needs_gp; -long n_rp_gp_completed; -long n_rp_gp_started; -long n_rp_need_fqs; -long n_rp_need_nothing; +unsigned long n_rcu_pending;/* rcu_pending() calls since boot. */ +unsigned long n_rp_qs_pending; +unsigned long n_rp_cb_ready; +unsigned long n_rp_cpu_needs_gp; +unsigned long n_rp_gp_completed; +unsigned long n_rp_gp_started; +unsigned long n_rp_need_fqs; +unsigned long n_rp_need_nothing;int cpu; };
@@ -255,6 +255,9 @@ struct rcu_data {#endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ +#define ULONG_CMP_GE (a, b) (ULONG_MAX / 2 >= (a) - (b)) +#define ULONG_CMP_LT (a, b) (ULONG_MAX / 2 < (a) - (b)) +/* * RCU global state, including node hierarchy. This hierarchy is * represented in "heap" form in a dense array. The root (first level)
@@ -283,8 +286,8 @@ struct rcu_state {/* period because */ /* force_quiescent_state() */ /* was running. */ -long gpnum;/* Current gp number. */ -long completed;/* # of last completed gp. */ +unsigned long gpnum;/* Current gp number. */ +unsigned long completed;/* # of last completed gp. */ /* End of fields guarded by root rcu_node's lock. */
kernel/rcutree_trace.c +7 -7
@@ -50,7 +50,7 @@ static void print_one_rcu_data(struct seq_file *m, struct rcu_data *rdp) {if (!rdp->beenonline)return ; - seq_printf(m, "%3d%cc=%ld g=%ld pq=%d pqc=%ld qp=%d", + seq_printf(m, "%3d%cc=%lu g=%lu pq=%d pqc=%lu qp=%d", rdp->cpu, cpu_is_offline(rdp->cpu) ? '!' : ' ', rdp->completed, rdp->gpnum,
@@ -105,7 +105,7 @@ static void print_one_rcu_data_csv(struct seq_file *m, struct rcu_data *rdp) {if (!rdp->beenonline)return ; - seq_printf(m, "%d,%s,%ld,%ld,%d,%ld,%d", + seq_printf(m, "%d,%s,%lu,%lu,%d,%lu,%d", rdp->cpu, cpu_is_offline(rdp->cpu) ? "\"N\"" : "\"Y\"", rdp->completed, rdp->gpnum,
@@ -155,13 +155,13 @@ static const struct file_operations rcudata_csv_fops = {static void print_one_rcu_state (struct seq_file *m,struct rcu_state *rsp) { -long gpnum; +unsigned long gpnum;int level =0 ;int phase;struct rcu_node *rnp; gpnum = rsp->gpnum; - seq_printf(m, "c=%ld g=%ld s=%d jfq=%ld j=%x " + seq_printf(m, "c=%lu g=%lu s=%d jfq=%ld j=%x " "nfqs=%lu/nfqsng=%lu(%lu) fqlh=%lu oqlen=%ld\n", rsp->completed, gpnum, rsp->signaled, (long)(rsp->jiffies_force_qs - jiffies),
@@ -215,12 +215,12 @@ static const struct file_operations rcuhier_fops = {static int show_rcugp (struct seq_file *m,void *unused) {#ifdef CONFIG_TREE_PREEMPT_RCU -seq_printf (m,"rcu_preempt: completed=%ld gpnum=%ld\n" , +seq_printf (m,"rcu_preempt: completed=%ld gpnum=%lu\n" , rcu_preempt_state.completed, rcu_preempt_state.gpnum);#endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ -seq_printf (m,"rcu_sched: completed=%ld gpnum=%ld\n" , +seq_printf (m,"rcu_sched: completed=%ld gpnum=%lu\n" , rcu_sched_state.completed, rcu_sched_state.gpnum); -seq_printf (m,"rcu_bh: completed=%ld gpnum=%ld\n" , +seq_printf (m,"rcu_bh: completed=%ld gpnum=%lu\n" , rcu_bh_state.completed, rcu_bh_state.gpnum);return 0 ; }
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Stop overflowing signed integers
Commit-ID: 20133cfce7d0bbdcc0c398301030c091f5675c88 Gitweb: http://git.kernel.org/tip/20133cfce7d0bbdcc0c398301030c091f5675c88 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:05:01 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:57 +0100
rcu: Stop overflowing signed integers
The C standard does not specify the result of an operation that overflows a signed integer, so such operations need to be avoided. This patch changes the type of several fields from "long" to "unsigned long" and adjusts operations as needed. ULONG_CMP_GE() and ULONG_CMP_LT() macros are introduced to do the modular comparisons that are appropriate given that overflow is an expected event.
LKML-Reference: <[email protected]>
--- kernel/rcutree.c | 11 +++++------ kernel/rcutree.h | 33 ++++++++++++++++++--------------- kernel/rcutree_trace.c | 14 +++++++------- 3 files changed, 30 insertions(+), 28 deletions(-)
kernel/rcutree.c +5 -6
@@ -500,7 +500,7 @@ static void print_cpu_stall(struct rcu_state *rsp)trigger_all_cpu_backtrace ();spin_lock_irqsave (&rnp->lock, flags); -if ((long )(jiffies - rsp->jiffies_stall) >=0 ) +if (ULONG_CMP_GE (jiffies, rsp->jiffies_stall)) rsp->jiffies_stall = jiffies +RCU_SECONDS_TILL_STALL_RECHECK ;spin_unlock_irqrestore (&rnp->lock, flags);
@@ -1216,8 +1216,7 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed) rsp->n_force_qs_lh++;/* Inexact, can lose counts. Tough! */ return ;/* Someone else is already on the job. */ } -if (relaxed && - (long )(rsp->jiffies_force_qs - jiffies) >=0 ) +if (relaxed &&ULONG_CMP_GE (rsp->jiffies_force_qs, jiffies)) goto unlock_fqs_ret;/* no emergency and done recently. */ rsp->n_force_qs++;spin_lock (&rnp->lock);/* irqs already disabled */
@@ -1295,7 +1294,7 @@ __rcu_process_callbacks(struct rcu_state *rsp, struct rcu_data *rdp)* If an RCU GP has gone long enough, go check for dyntick * idle CPUs and, if needed, send resched IPIs. */ -if ((long )(ACCESS_ONCE (rsp->jiffies_force_qs) - jiffies) <0 ) +if (ULONG_CMP_LT (ACCESS_ONCE (rsp->jiffies_force_qs), jiffies))force_quiescent_state (rsp,1 );/*
@@ -1392,7 +1391,7 @@ __call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu),force_quiescent_state (rsp,0 ); rdp->n_force_qs_snap = rsp->n_force_qs; rdp->qlen_last_fqs_check = rdp->qlen; - }else if ((long )(ACCESS_ONCE (rsp->jiffies_force_qs) - jiffies) <0 ) + }else if (ULONG_CMP_LT (ACCESS_ONCE (rsp->jiffies_force_qs), jiffies))force_quiescent_state (rsp,1 );local_irq_restore (flags); }
@@ -1525,7 +1524,7 @@ static int __rcu_pending(struct rcu_state *rsp, struct rcu_data *rdp)/* Has an RCU GP gone long enough to send resched IPIs &c? */ if (rcu_gp_in_progress (rsp) && - ((long )(ACCESS_ONCE (rsp->jiffies_force_qs) - jiffies) <0 )) { +ULONG_CMP_LT (ACCESS_ONCE (rsp->jiffies_force_qs), jiffies)) { rdp->n_rp_need_fqs++;return 1 ; }
kernel/rcutree.h +18 -15
@@ -92,10 +92,10 @@ struct rcu_dynticks {struct rcu_node {spinlock_t lock;/* Root rcu_node's lock protects some */ /* rcu_state fields as well as following. */ -long gpnum;/* Current grace period for this node. */ +unsigned long gpnum;/* Current grace period for this node. */ /* This will either be equal to or one */ /* behind the root rcu_node's gpnum. */ -long completed;/* Last grace period completed for this node. */ +unsigned long completed;/* Last GP completed for this node. */ /* This will either be equal to or one */ /* behind the root rcu_node's gpnum. */ unsigned long qsmask;/* CPUs or groups that need to switch in */
@@ -161,11 +161,11 @@ struct rcu_node {/* Per-CPU data for read-copy update. */ struct rcu_data {/* 1) quiescent-state and grace-period handling : */ -long completed;/* Track rsp->completed gp number */ +unsigned long completed;/* Track rsp->completed gp number */ /* in order to detect GP end. */ -long gpnum;/* Highest gp number that this CPU */ +unsigned long gpnum;/* Highest gp number that this CPU */ /* is aware of having started. */ -long passed_quiesc_completed; +unsigned long passed_quiesc_completed;/* Value of completed at time of qs. */ bool passed_quiesc;/* User-mode/idle loop etc. */ bool qs_pending;/* Core waits for quiesc state. */
@@ -221,14 +221,14 @@ struct rcu_data {unsigned long resched_ipi;/* Sent a resched IPI. */ /* 5) __rcu_pending() statistics. */ -long n_rcu_pending;/* rcu_pending() calls since boot. */ -long n_rp_qs_pending; -long n_rp_cb_ready; -long n_rp_cpu_needs_gp; -long n_rp_gp_completed; -long n_rp_gp_started; -long n_rp_need_fqs; -long n_rp_need_nothing; +unsigned long n_rcu_pending;/* rcu_pending() calls since boot. */ +unsigned long n_rp_qs_pending; +unsigned long n_rp_cb_ready; +unsigned long n_rp_cpu_needs_gp; +unsigned long n_rp_gp_completed; +unsigned long n_rp_gp_started; +unsigned long n_rp_need_fqs; +unsigned long n_rp_need_nothing;int cpu; };
@@ -255,6 +255,9 @@ struct rcu_data {#endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ +#define ULONG_CMP_GE (a, b) (ULONG_MAX / 2 >= (a) - (b)) +#define ULONG_CMP_LT (a, b) (ULONG_MAX / 2 < (a) - (b)) +/* * RCU global state, including node hierarchy. This hierarchy is * represented in "heap" form in a dense array. The root (first level)
@@ -283,8 +286,8 @@ struct rcu_state {/* period because */ /* force_quiescent_state() */ /* was running. */ -long gpnum;/* Current gp number. */ -long completed;/* # of last completed gp. */ +unsigned long gpnum;/* Current gp number. */ +unsigned long completed;/* # of last completed gp. */ /* End of fields guarded by root rcu_node's lock. */
kernel/rcutree_trace.c +7 -7
@@ -50,7 +50,7 @@ static void print_one_rcu_data(struct seq_file *m, struct rcu_data *rdp) {if (!rdp->beenonline)return ; - seq_printf(m, "%3d%cc=%ld g=%ld pq=%d pqc=%ld qp=%d", + seq_printf(m, "%3d%cc=%lu g=%lu pq=%d pqc=%lu qp=%d", rdp->cpu, cpu_is_offline(rdp->cpu) ? '!' : ' ', rdp->completed, rdp->gpnum,
@@ -105,7 +105,7 @@ static void print_one_rcu_data_csv(struct seq_file *m, struct rcu_data *rdp) {if (!rdp->beenonline)return ; - seq_printf(m, "%d,%s,%ld,%ld,%d,%ld,%d", + seq_printf(m, "%d,%s,%lu,%lu,%d,%lu,%d", rdp->cpu, cpu_is_offline(rdp->cpu) ? "\"N\"" : "\"Y\"", rdp->completed, rdp->gpnum,
@@ -155,13 +155,13 @@ static const struct file_operations rcudata_csv_fops = {static void print_one_rcu_state (struct seq_file *m,struct rcu_state *rsp) { -long gpnum; +unsigned long gpnum;int level =0 ;int phase;struct rcu_node *rnp; gpnum = rsp->gpnum; - seq_printf(m, "c=%ld g=%ld s=%d jfq=%ld j=%x " + seq_printf(m, "c=%lu g=%lu s=%d jfq=%ld j=%x " "nfqs=%lu/nfqsng=%lu(%lu) fqlh=%lu oqlen=%ld\n", rsp->completed, gpnum, rsp->signaled, (long)(rsp->jiffies_force_qs - jiffies),
@@ -215,12 +215,12 @@ static const struct file_operations rcuhier_fops = {static int show_rcugp (struct seq_file *m,void *unused) {#ifdef CONFIG_TREE_PREEMPT_RCU -seq_printf (m,"rcu_preempt: completed=%ld gpnum=%ld\n" , +seq_printf (m,"rcu_preempt: completed=%ld gpnum=%lu\n" , rcu_preempt_state.completed, rcu_preempt_state.gpnum);#endif /* #ifdef CONFIG_TREE_PREEMPT_RCU */ -seq_printf (m,"rcu_sched: completed=%ld gpnum=%ld\n" , +seq_printf (m,"rcu_sched: completed=%ld gpnum=%lu\n" , rcu_sched_state.completed, rcu_sched_state.gpnum); -seq_printf (m,"rcu_bh: completed=%ld gpnum=%ld\n" , +seq_printf (m,"rcu_bh: completed=%ld gpnum=%lu\n" , rcu_bh_state.completed, rcu_bh_state.gpnum);return 0 ; }
PATCH 18/21 rcu: Convert to raw_spinlocks
In reply to Paul E. McKenneyThe spinlocks in rcutree need to be real spinlocks in preempt-rt. Convert them to raw_spinlocks.
--- kernel/rcutree.c | 132 +++++++++++++++++++++++----------------------- kernel/rcutree.h | 6 +- kernel/rcutree_plugin.h | 46 ++++++++-------- 3 files changed, 92 insertions(+), 92 deletions(-)
kernel/rcutree.c +66 -66
@@ -66,11 +66,11 @@ static struct lock_class_key rcu_node_class[NUM_RCU_LVLS]; .signaled = RCU_GP_IDLE, \ .gpnum = -300, \ .completed = -300, \ - .onofflock = __SPIN_LOCK_UNLOCKED(&name.onofflock), \ + .onofflock = __RAW_SPIN_LOCK_UNLOCKED(&name.onofflock), \ .orphan_cbs_list = NULL, \ .orphan_cbs_tail = &name.orphan_cbs_list, \ .orphan_qlen = 0, \ - .fqslock = __SPIN_LOCK_UNLOCKED(&name.fqslock), \ + .fqslock = __RAW_SPIN_LOCK_UNLOCKED(&name.fqslock), \ .n_force_qs = 0, \ .n_force_qs_ngp = 0, \ }
@@ -457,10 +457,10 @@ static void print_other_cpu_stall(struct rcu_state *rsp)/* Only let one CPU complain about others per time interval. */ -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags); delta = jiffies - rsp->jiffies_stall;if (delta <RCU_STALL_RAT_DELAY || !rcu_gp_in_progress (rsp)) { -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } rsp->jiffies_stall = jiffies +RCU_SECONDS_TILL_STALL_RECHECK ;
@@ -470,7 +470,7 @@ static void print_other_cpu_stall(struct rcu_state *rsp)* due to CPU offlining. */ rcu_print_task_stall (rnp); -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);/* OK, time to rat on our buddy... */
@@ -499,11 +499,11 @@ static void print_cpu_stall(struct rcu_state *rsp) smp_processor_id(), jiffies - rsp->gp_start);trigger_all_cpu_backtrace (); -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags);if (ULONG_CMP_GE (jiffies, rsp->jiffies_stall)) rsp->jiffies_stall = jiffies +RCU_SECONDS_TILL_STALL_RECHECK ; -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);set_need_resched ();/* kick ourselves to get things going. */ }
@@ -563,12 +563,12 @@ static void note_new_gpnum(struct rcu_state *rsp, struct rcu_data *rdp)local_irq_save (flags); rnp = rdp->mynode;if (rdp->gpnum ==ACCESS_ONCE (rnp->gpnum) ||/* outside lock. */ - !spin_trylock (&rnp->lock)) {/* irqs already off, retry later. */ + !raw_spin_trylock (&rnp->lock)) {/* irqs already off, so later. */ local_irq_restore (flags);return ; }__note_new_gpnum (rsp, rnp, rdp); -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); }/*
@@ -627,12 +627,12 @@ rcu_process_gp_end(struct rcu_state *rsp, struct rcu_data *rdp)local_irq_save (flags); rnp = rdp->mynode;if (rdp->completed ==ACCESS_ONCE (rnp->completed) ||/* outside lock. */ - !spin_trylock (&rnp->lock)) {/* irqs already off, retry later. */ + !raw_spin_trylock (&rnp->lock)) {/* irqs already off, so later. */ local_irq_restore (flags);return ; }__rcu_process_gp_end (rsp, rnp, rdp); -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); }/*
@@ -681,10 +681,10 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags)if (cpu_needs_another_gp (rsp, rdp)) rsp->fqs_need_gp =1 ;if (rnp->completed == rsp->completed) { -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ /* * Propagate new ->completed value to rcu_node structures
@@ -692,9 +692,9 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags)* of the next grace period to process their callbacks. */ rcu_for_each_node_breadth_first (rsp, rnp) { -spin_lock (&rnp->lock);/* irqs already disabled. */ +raw_spin_lock (&rnp->lock);/* irqs already disabled. */ rnp->completed = rsp->completed; -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ }local_irq_restore (flags);return ;
@@ -715,15 +715,15 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags) rnp->completed = rsp->completed; rsp->signaled =RCU_SIGNAL_INIT ;/* force_quiescent_state OK. */ rcu_start_gp_per_cpu (rsp, rnp, rdp); -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } -spin_unlock (&rnp->lock);/* leave irqs disabled. */ +raw_spin_unlock (&rnp->lock);/* leave irqs disabled. */ /* Exclude any concurrent CPU-hotplug operations. */ -spin_lock (&rsp->onofflock);/* irqs already disabled. */ +raw_spin_lock (&rsp->onofflock);/* irqs already disabled. */ /* * Set the quiescent-state-needed bits in all the rcu_node
@@ -743,21 +743,21 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags)* irqs disabled. */ rcu_for_each_node_breadth_first (rsp, rnp) { -spin_lock (&rnp->lock);/* irqs already disabled. */ +raw_spin_lock (&rnp->lock);/* irqs already disabled. */ rcu_preempt_check_blocked_tasks (rnp); rnp->qsmask = rnp->qsmaskinit; rnp->gpnum = rsp->gpnum; rnp->completed = rsp->completed;if (rnp == rdp->mynode)rcu_start_gp_per_cpu (rsp, rnp, rdp); -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ } rnp =rcu_get_root (rsp); -spin_lock (&rnp->lock);/* irqs already disabled. */ +raw_spin_lock (&rnp->lock);/* irqs already disabled. */ rsp->signaled =RCU_SIGNAL_INIT ;/* force_quiescent_state now OK. */ -spin_unlock (&rnp->lock);/* irqs remain disabled. */ -spin_unlock_irqrestore (&rsp->onofflock, flags); +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock_irqrestore (&rsp->onofflock, flags); }/*
@@ -796,14 +796,14 @@ rcu_report_qs_rnp(unsigned long mask, struct rcu_state *rsp,if (!(rnp->qsmask & mask)) {/* Our bit has already been cleared, so done. */ -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } rnp->qsmask &= ~mask;if (rnp->qsmask !=0 ||rcu_preempted_readers (rnp)) {/* Other bits still set at this level, so done. */ -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } mask = rnp->grpmask;
@@ -813,10 +813,10 @@ rcu_report_qs_rnp(unsigned long mask, struct rcu_state *rsp,break ; } -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); rnp_c = rnp; rnp = rnp->parent; -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags);WARN_ON_ONCE (rnp_c->qsmask); }
@@ -845,7 +845,7 @@ rcu_report_qs_rdp(int cpu, struct rcu_state *rsp, struct rcu_data *rdp, long lasstruct rcu_node *rnp; rnp = rdp->mynode; -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags);if (lastcomp != rnp->completed) {/*
@@ -857,12 +857,12 @@ rcu_report_qs_rdp(int cpu, struct rcu_state *rsp, struct rcu_data *rdp, long las* race occurred. */ rdp->passed_quiesc =0 ;/* try again later! */ -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } mask = rdp->grpmask;if ((rnp->qsmask & mask) ==0 ) { -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); }else { rdp->qs_pending =0 ;
@@ -926,7 +926,7 @@ static void rcu_send_cbs_to_orphanage(struct rcu_state *rsp)if (rdp->nxtlist ==NULL )return ;/* irqs disabled, so comparison is stable. */ -spin_lock (&rsp->onofflock);/* irqs already disabled. */ +raw_spin_lock (&rsp->onofflock);/* irqs already disabled. */ *rsp->orphan_cbs_tail = rdp->nxtlist; rsp->orphan_cbs_tail = rdp->nxttail[RCU_NEXT_TAIL ]; rdp->nxtlist =NULL ;
@@ -934,7 +934,7 @@ static void rcu_send_cbs_to_orphanage(struct rcu_state *rsp) rdp->nxttail[i] = &rdp->nxtlist; rsp->orphan_qlen += rdp->qlen; rdp->qlen =0 ; -spin_unlock (&rsp->onofflock);/* irqs remain disabled. */ +raw_spin_unlock (&rsp->onofflock);/* irqs remain disabled. */ }/*
@@ -945,10 +945,10 @@ static void rcu_adopt_orphan_cbs(struct rcu_state *rsp)unsigned long flags;struct rcu_data *rdp; -spin_lock_irqsave (&rsp->onofflock, flags); +raw_spin_lock_irqsave (&rsp->onofflock, flags); rdp = rsp->rda[smp_processor_id ()];if (rsp->orphan_cbs_list ==NULL ) { -spin_unlock_irqrestore (&rsp->onofflock, flags); +raw_spin_unlock_irqrestore (&rsp->onofflock, flags);return ; } *rdp->nxttail[RCU_NEXT_TAIL ] = rsp->orphan_cbs_list;
@@ -957,7 +957,7 @@ static void rcu_adopt_orphan_cbs(struct rcu_state *rsp) rsp->orphan_cbs_list =NULL ; rsp->orphan_cbs_tail = &rsp->orphan_cbs_list; rsp->orphan_qlen =0 ; -spin_unlock_irqrestore (&rsp->onofflock, flags); +raw_spin_unlock_irqrestore (&rsp->onofflock, flags); }/*
@@ -973,23 +973,23 @@ static void __rcu_offline_cpu(int cpu, struct rcu_state *rsp)struct rcu_node *rnp;/* Exclude any attempts to start a new grace period. */ -spin_lock_irqsave (&rsp->onofflock, flags); +raw_spin_lock_irqsave (&rsp->onofflock, flags);/* Remove the outgoing CPU from the masks in the rcu_node hierarchy. */ rnp = rdp->mynode;/* this is the outgoing CPU's rnp. */ mask = rdp->grpmask;/* rnp->grplo is constant. */ do { -spin_lock (&rnp->lock);/* irqs already disabled. */ +raw_spin_lock (&rnp->lock);/* irqs already disabled. */ rnp->qsmaskinit &= ~mask;if (rnp->qsmaskinit !=0 ) {if (rnp != rdp->mynode) -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ break ; }if (rnp == rdp->mynode) need_report =rcu_preempt_offline_tasks (rsp, rnp, rdp);else -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ mask = rnp->grpmask; rnp = rnp->parent; }while (rnp !=NULL );
@@ -1000,12 +1000,12 @@ static void __rcu_offline_cpu(int cpu, struct rcu_state *rsp)* because invoking rcu_report_unblock_qs_rnp() with ->onofflock * held leads to deadlock. */ -spin_unlock (&rsp->onofflock);/* irqs remain disabled. */ +raw_spin_unlock (&rsp->onofflock);/* irqs remain disabled. */ rnp = rdp->mynode;if (need_report &RCU_OFL_TASKS_NORM_GP )rcu_report_unblock_qs_rnp (rnp, flags);else -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);if (need_report &RCU_OFL_TASKS_EXP_GP )rcu_report_exp_rnp (rsp, rnp);
@@ -1176,13 +1176,13 @@ static void force_qs_rnp(struct rcu_state *rsp, int (*f)(struct rcu_data *))rcu_for_each_leaf_node (rsp, rnp) { mask =0 ; -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags);if (!rcu_gp_in_progress (rsp)) { -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; }if (rnp->qsmask ==0 ) { -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);continue ; } cpu = rnp->grplo;
@@ -1197,7 +1197,7 @@ static void force_qs_rnp(struct rcu_state *rsp, int (*f)(struct rcu_data *))rcu_report_qs_rnp (mask, rsp, rnp, flags);continue ; } -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); } }
@@ -1212,18 +1212,18 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed)if (!rcu_gp_in_progress (rsp))return ;/* No grace period in progress, nothing to force. */ -if (!spin_trylock_irqsave (&rsp->fqslock, flags)) { +if (!raw_spin_trylock_irqsave (&rsp->fqslock, flags)) { rsp->n_force_qs_lh++;/* Inexact, can lose counts. Tough! */ return ;/* Someone else is already on the job. */ }if (relaxed &&ULONG_CMP_GE (rsp->jiffies_force_qs, jiffies)) goto unlock_fqs_ret;/* no emergency and done recently. */ rsp->n_force_qs++; -spin_lock (&rnp->lock);/* irqs already disabled */ +raw_spin_lock (&rnp->lock);/* irqs already disabled */ rsp->jiffies_force_qs = jiffies +RCU_JIFFIES_TILL_FORCE_QS ;if (!rcu_gp_in_progress (rsp)) { rsp->n_force_qs_ngp++; -spin_unlock (&rnp->lock);/* irqs remain disabled */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled */ goto unlock_fqs_ret;/* no GP in progress, time updated. */ } rsp->fqs_active =1 ;
@@ -1235,13 +1235,13 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed)case RCU_SAVE_DYNTICK : -spin_unlock (&rnp->lock);/* irqs remain disabled */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled */ if (RCU_SIGNAL_INIT !=RCU_SAVE_DYNTICK )break ;/* So gcc recognizes the dead code. */ /* Record dyntick-idle state. */ force_qs_rnp (rsp, dyntick_save_progress_counter); -spin_lock (&rnp->lock);/* irqs already disabled */ +raw_spin_lock (&rnp->lock);/* irqs already disabled */ if (rcu_gp_in_progress (rsp)) rsp->signaled =RCU_FORCE_QS ;break ;
@@ -1249,24 +1249,24 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed)case RCU_FORCE_QS :/* Check dyntick-idle state, send IPI to laggarts. */ -spin_unlock (&rnp->lock);/* irqs remain disabled */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled */ force_qs_rnp (rsp, rcu_implicit_dynticks_qs);/* Leave state in case more forcing is required. */ -spin_lock (&rnp->lock);/* irqs already disabled */ +raw_spin_lock (&rnp->lock);/* irqs already disabled */ break; } rsp->fqs_active =0 ;if (rsp->fqs_need_gp) { -spin_unlock (&rsp->fqslock);/* irqs remain disabled */ +raw_spin_unlock (&rsp->fqslock);/* irqs remain disabled */ rsp->fqs_need_gp =0 ;rcu_start_gp (rsp, flags);/* releases rnp->lock */ return ; } -spin_unlock (&rnp->lock);/* irqs remain disabled */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled */ unlock_fqs_ret: -spin_unlock_irqrestore (&rsp->fqslock, flags); +raw_spin_unlock_irqrestore (&rsp->fqslock, flags); }#else /* #ifdef CONFIG_SMP */
@@ -1308,7 +1308,7 @@ __rcu_process_callbacks(struct rcu_state *rsp, struct rcu_data *rdp)/* Does this CPU require a not-yet-started grace period? */ if (cpu_needs_another_gp (rsp, rdp)) { -spin_lock_irqsave (&rcu_get_root (rsp)->lock, flags); +raw_spin_lock_irqsave (&rcu_get_root (rsp)->lock, flags);rcu_start_gp (rsp, flags);/* releases above lock */ }
@@ -1373,7 +1373,7 @@ __call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu),unsigned long nestflag;struct rcu_node *rnp_root =rcu_get_root (rsp); -spin_lock_irqsave (&rnp_root->lock, nestflag); +raw_spin_lock_irqsave (&rnp_root->lock, nestflag);rcu_start_gp (rsp, nestflag);/* releases rnp_root->lock. */ }
@@ -1662,7 +1662,7 @@ rcu_boot_init_percpu_data(int cpu, struct rcu_state *rsp)struct rcu_node *rnp =rcu_get_root (rsp);/* Set up local state, ensuring consistent view of global state. */ -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags); rdp->grpmask =1UL << (cpu - rdp->mynode->grplo); rdp->nxtlist =NULL ;for (i =0 ; i <RCU_NEXT_SIZE ; i++)
@@ -1672,7 +1672,7 @@ rcu_boot_init_percpu_data(int cpu, struct rcu_state *rsp) rdp->dynticks = &per_cpu (rcu_dynticks, cpu);#endif /* #ifdef CONFIG_NO_HZ */ rdp->cpu = cpu; -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); }/*
@@ -1690,7 +1690,7 @@ rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptable)struct rcu_node *rnp =rcu_get_root (rsp);/* Set up local state, ensuring consistent view of global state. */ -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags); rdp->passed_quiesc =0 ;/* We could be racing with new GP, */ rdp->qs_pending =1 ;/* so set up to respond to current GP. */ rdp->beenonline =1 ;/* We have now been online. */
@@ -1698,7 +1698,7 @@ rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptable) rdp->qlen_last_fqs_check =0 ; rdp->n_force_qs_snap = rsp->n_force_qs; rdp->blimit = blimit; -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ /* * A new grace period might start here. If so, we won't be part
@@ -1706,14 +1706,14 @@ rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptable)*/ /* Exclude any attempts to start a new GP on large systems. */ -spin_lock (&rsp->onofflock);/* irqs already disabled. */ +raw_spin_lock (&rsp->onofflock);/* irqs already disabled. */ /* Add CPU to rcu_node bitmasks. */ rnp = rdp->mynode; mask = rdp->grpmask; do { /* Exclude any attempts to start a new GP on small systems. */ - spin_lock(&rnp->lock); /* irqs already disabled. */ + raw_spin_lock(&rnp->lock); /* irqs already disabled. */ rnp->qsmaskinit |= mask; mask = rnp->grpmask; if (rnp == rdp->mynode) {
@@ -1721,11 +1721,11 @@ rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptable) rdp->completed = rnp->completed; rdp->passed_quiesc_completed = rnp->completed -1 ; } -spin_unlock (&rnp->lock);/* irqs already disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs already disabled. */ rnp = rnp->parent; }while (rnp !=NULL && !(rnp->qsmaskinit & mask)); -spin_unlock_irqrestore (&rsp->onofflock, flags); +raw_spin_unlock_irqrestore (&rsp->onofflock, flags); }static void __cpuinit rcu_online_cpu (int cpu)
@@ -1832,7 +1832,7 @@ static void __init rcu_init_one(struct rcu_state *rsp) cpustride *= rsp->levelspread[i]; rnp = rsp->level[i];for (j =0 ; j < rsp->levelcnt[i]; j++, rnp++) { -spin_lock_init (&rnp->lock); +raw_spin_lock_init (&rnp->lock);lockdep_set_class_and_name (&rnp->lock, &rcu_node_class[i], buf[i]); rnp->gpnum =0 ;
kernel/rcutree.h +3 -3
@@ -90,7 +90,7 @@ struct rcu_dynticks {* Definition for node within the RCU grace-period-detection hierarchy. */ struct rcu_node { -spinlock_t lock;/* Root rcu_node's lock protects some */ +raw_spinlock_t lock;/* Root rcu_node's lock protects some */ /* rcu_state fields as well as following. */ unsigned long gpnum;/* Current grace period for this node. */ /* This will either be equal to or one */
@@ -291,7 +291,7 @@ struct rcu_state {/* End of fields guarded by root rcu_node's lock. */ -spinlock_t onofflock;/* exclude on/offline and */ +raw_spinlock_t onofflock;/* exclude on/offline and */ /* starting new GP. Also */ /* protects the following */ /* orphan_cbs fields. */
@@ -301,7 +301,7 @@ struct rcu_state {/* going offline. */ struct rcu_head **orphan_cbs_tail;/* And tail pointer. */ long orphan_qlen;/* Number of orphaned cbs. */ -spinlock_t fqslock;/* Only one task forcing */ +raw_spinlock_t fqslock;/* Only one task forcing */ /* quiescent states. */ unsigned long jiffies_force_qs;/* Time at which to invoke */ /* force_quiescent_state(). */
kernel/rcutree_plugin.h +23 -23
149 lines not on this page · raw message
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Convert to raw_spinlocks
Commit-ID: 1304afb225288a2e250d6a7495462c28e5509cbb Gitweb: http://git.kernel.org/tip/1304afb225288a2e250d6a7495462c28e5509cbb Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:05:02 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:58 +0100
rcu: Convert to raw_spinlocks
The spinlocks in rcutree need to be real spinlocks in preempt-rt. Convert them to raw_spinlocks.
LKML-Reference: <[email protected]>
--- kernel/rcutree.c | 132 +++++++++++++++++++++++----------------------- kernel/rcutree.h | 6 +- kernel/rcutree_plugin.h | 46 ++++++++-------- 3 files changed, 92 insertions(+), 92 deletions(-)
kernel/rcutree.c +66 -66
@@ -66,11 +66,11 @@ static struct lock_class_key rcu_node_class[NUM_RCU_LVLS]; .signaled = RCU_GP_IDLE, \ .gpnum = -300, \ .completed = -300, \ - .onofflock = __SPIN_LOCK_UNLOCKED(&name.onofflock), \ + .onofflock = __RAW_SPIN_LOCK_UNLOCKED(&name.onofflock), \ .orphan_cbs_list = NULL, \ .orphan_cbs_tail = &name.orphan_cbs_list, \ .orphan_qlen = 0, \ - .fqslock = __SPIN_LOCK_UNLOCKED(&name.fqslock), \ + .fqslock = __RAW_SPIN_LOCK_UNLOCKED(&name.fqslock), \ .n_force_qs = 0, \ .n_force_qs_ngp = 0, \ }
@@ -457,10 +457,10 @@ static void print_other_cpu_stall(struct rcu_state *rsp)/* Only let one CPU complain about others per time interval. */ -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags); delta = jiffies - rsp->jiffies_stall;if (delta <RCU_STALL_RAT_DELAY || !rcu_gp_in_progress (rsp)) { -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } rsp->jiffies_stall = jiffies +RCU_SECONDS_TILL_STALL_RECHECK ;
@@ -470,7 +470,7 @@ static void print_other_cpu_stall(struct rcu_state *rsp)* due to CPU offlining. */ rcu_print_task_stall (rnp); -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);/* OK, time to rat on our buddy... */
@@ -499,11 +499,11 @@ static void print_cpu_stall(struct rcu_state *rsp) smp_processor_id(), jiffies - rsp->gp_start);trigger_all_cpu_backtrace (); -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags);if (ULONG_CMP_GE (jiffies, rsp->jiffies_stall)) rsp->jiffies_stall = jiffies +RCU_SECONDS_TILL_STALL_RECHECK ; -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);set_need_resched ();/* kick ourselves to get things going. */ }
@@ -563,12 +563,12 @@ static void note_new_gpnum(struct rcu_state *rsp, struct rcu_data *rdp)local_irq_save (flags); rnp = rdp->mynode;if (rdp->gpnum ==ACCESS_ONCE (rnp->gpnum) ||/* outside lock. */ - !spin_trylock (&rnp->lock)) {/* irqs already off, retry later. */ + !raw_spin_trylock (&rnp->lock)) {/* irqs already off, so later. */ local_irq_restore (flags);return ; }__note_new_gpnum (rsp, rnp, rdp); -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); }/*
@@ -627,12 +627,12 @@ rcu_process_gp_end(struct rcu_state *rsp, struct rcu_data *rdp)local_irq_save (flags); rnp = rdp->mynode;if (rdp->completed ==ACCESS_ONCE (rnp->completed) ||/* outside lock. */ - !spin_trylock (&rnp->lock)) {/* irqs already off, retry later. */ + !raw_spin_trylock (&rnp->lock)) {/* irqs already off, so later. */ local_irq_restore (flags);return ; }__rcu_process_gp_end (rsp, rnp, rdp); -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); }/*
@@ -681,10 +681,10 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags)if (cpu_needs_another_gp (rsp, rdp)) rsp->fqs_need_gp =1 ;if (rnp->completed == rsp->completed) { -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ /* * Propagate new ->completed value to rcu_node structures
@@ -692,9 +692,9 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags)* of the next grace period to process their callbacks. */ rcu_for_each_node_breadth_first (rsp, rnp) { -spin_lock (&rnp->lock);/* irqs already disabled. */ +raw_spin_lock (&rnp->lock);/* irqs already disabled. */ rnp->completed = rsp->completed; -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ }local_irq_restore (flags);return ;
@@ -715,15 +715,15 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags) rnp->completed = rsp->completed; rsp->signaled =RCU_SIGNAL_INIT ;/* force_quiescent_state OK. */ rcu_start_gp_per_cpu (rsp, rnp, rdp); -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } -spin_unlock (&rnp->lock);/* leave irqs disabled. */ +raw_spin_unlock (&rnp->lock);/* leave irqs disabled. */ /* Exclude any concurrent CPU-hotplug operations. */ -spin_lock (&rsp->onofflock);/* irqs already disabled. */ +raw_spin_lock (&rsp->onofflock);/* irqs already disabled. */ /* * Set the quiescent-state-needed bits in all the rcu_node
@@ -743,21 +743,21 @@ rcu_start_gp(struct rcu_state *rsp, unsigned long flags)* irqs disabled. */ rcu_for_each_node_breadth_first (rsp, rnp) { -spin_lock (&rnp->lock);/* irqs already disabled. */ +raw_spin_lock (&rnp->lock);/* irqs already disabled. */ rcu_preempt_check_blocked_tasks (rnp); rnp->qsmask = rnp->qsmaskinit; rnp->gpnum = rsp->gpnum; rnp->completed = rsp->completed;if (rnp == rdp->mynode)rcu_start_gp_per_cpu (rsp, rnp, rdp); -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ } rnp =rcu_get_root (rsp); -spin_lock (&rnp->lock);/* irqs already disabled. */ +raw_spin_lock (&rnp->lock);/* irqs already disabled. */ rsp->signaled =RCU_SIGNAL_INIT ;/* force_quiescent_state now OK. */ -spin_unlock (&rnp->lock);/* irqs remain disabled. */ -spin_unlock_irqrestore (&rsp->onofflock, flags); +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock_irqrestore (&rsp->onofflock, flags); }/*
@@ -796,14 +796,14 @@ rcu_report_qs_rnp(unsigned long mask, struct rcu_state *rsp,if (!(rnp->qsmask & mask)) {/* Our bit has already been cleared, so done. */ -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } rnp->qsmask &= ~mask;if (rnp->qsmask !=0 ||rcu_preempted_readers (rnp)) {/* Other bits still set at this level, so done. */ -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } mask = rnp->grpmask;
@@ -813,10 +813,10 @@ rcu_report_qs_rnp(unsigned long mask, struct rcu_state *rsp,break ; } -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); rnp_c = rnp; rnp = rnp->parent; -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags);WARN_ON_ONCE (rnp_c->qsmask); }
@@ -845,7 +845,7 @@ rcu_report_qs_rdp(int cpu, struct rcu_state *rsp, struct rcu_data *rdp, long lasstruct rcu_node *rnp; rnp = rdp->mynode; -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags);if (lastcomp != rnp->completed) {/*
@@ -857,12 +857,12 @@ rcu_report_qs_rdp(int cpu, struct rcu_state *rsp, struct rcu_data *rdp, long las* race occurred. */ rdp->passed_quiesc =0 ;/* try again later! */ -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; } mask = rdp->grpmask;if ((rnp->qsmask & mask) ==0 ) { -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); }else { rdp->qs_pending =0 ;
@@ -926,7 +926,7 @@ static void rcu_send_cbs_to_orphanage(struct rcu_state *rsp)if (rdp->nxtlist ==NULL )return ;/* irqs disabled, so comparison is stable. */ -spin_lock (&rsp->onofflock);/* irqs already disabled. */ +raw_spin_lock (&rsp->onofflock);/* irqs already disabled. */ *rsp->orphan_cbs_tail = rdp->nxtlist; rsp->orphan_cbs_tail = rdp->nxttail[RCU_NEXT_TAIL ]; rdp->nxtlist =NULL ;
@@ -934,7 +934,7 @@ static void rcu_send_cbs_to_orphanage(struct rcu_state *rsp) rdp->nxttail[i] = &rdp->nxtlist; rsp->orphan_qlen += rdp->qlen; rdp->qlen =0 ; -spin_unlock (&rsp->onofflock);/* irqs remain disabled. */ +raw_spin_unlock (&rsp->onofflock);/* irqs remain disabled. */ }/*
@@ -945,10 +945,10 @@ static void rcu_adopt_orphan_cbs(struct rcu_state *rsp)unsigned long flags;struct rcu_data *rdp; -spin_lock_irqsave (&rsp->onofflock, flags); +raw_spin_lock_irqsave (&rsp->onofflock, flags); rdp = rsp->rda[smp_processor_id ()];if (rsp->orphan_cbs_list ==NULL ) { -spin_unlock_irqrestore (&rsp->onofflock, flags); +raw_spin_unlock_irqrestore (&rsp->onofflock, flags);return ; } *rdp->nxttail[RCU_NEXT_TAIL ] = rsp->orphan_cbs_list;
@@ -957,7 +957,7 @@ static void rcu_adopt_orphan_cbs(struct rcu_state *rsp) rsp->orphan_cbs_list =NULL ; rsp->orphan_cbs_tail = &rsp->orphan_cbs_list; rsp->orphan_qlen =0 ; -spin_unlock_irqrestore (&rsp->onofflock, flags); +raw_spin_unlock_irqrestore (&rsp->onofflock, flags); }/*
@@ -973,23 +973,23 @@ static void __rcu_offline_cpu(int cpu, struct rcu_state *rsp)struct rcu_node *rnp;/* Exclude any attempts to start a new grace period. */ -spin_lock_irqsave (&rsp->onofflock, flags); +raw_spin_lock_irqsave (&rsp->onofflock, flags);/* Remove the outgoing CPU from the masks in the rcu_node hierarchy. */ rnp = rdp->mynode;/* this is the outgoing CPU's rnp. */ mask = rdp->grpmask;/* rnp->grplo is constant. */ do { -spin_lock (&rnp->lock);/* irqs already disabled. */ +raw_spin_lock (&rnp->lock);/* irqs already disabled. */ rnp->qsmaskinit &= ~mask;if (rnp->qsmaskinit !=0 ) {if (rnp != rdp->mynode) -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ break ; }if (rnp == rdp->mynode) need_report =rcu_preempt_offline_tasks (rsp, rnp, rdp);else -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ mask = rnp->grpmask; rnp = rnp->parent; }while (rnp !=NULL );
@@ -1000,12 +1000,12 @@ static void __rcu_offline_cpu(int cpu, struct rcu_state *rsp)* because invoking rcu_report_unblock_qs_rnp() with ->onofflock * held leads to deadlock. */ -spin_unlock (&rsp->onofflock);/* irqs remain disabled. */ +raw_spin_unlock (&rsp->onofflock);/* irqs remain disabled. */ rnp = rdp->mynode;if (need_report &RCU_OFL_TASKS_NORM_GP )rcu_report_unblock_qs_rnp (rnp, flags);else -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);if (need_report &RCU_OFL_TASKS_EXP_GP )rcu_report_exp_rnp (rsp, rnp);
@@ -1176,13 +1176,13 @@ static void force_qs_rnp(struct rcu_state *rsp, int (*f)(struct rcu_data *))rcu_for_each_leaf_node (rsp, rnp) { mask =0 ; -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags);if (!rcu_gp_in_progress (rsp)) { -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);return ; }if (rnp->qsmask ==0 ) { -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags);continue ; } cpu = rnp->grplo;
@@ -1197,7 +1197,7 @@ static void force_qs_rnp(struct rcu_state *rsp, int (*f)(struct rcu_data *))rcu_report_qs_rnp (mask, rsp, rnp, flags);continue ; } -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); } }
@@ -1212,18 +1212,18 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed)if (!rcu_gp_in_progress (rsp))return ;/* No grace period in progress, nothing to force. */ -if (!spin_trylock_irqsave (&rsp->fqslock, flags)) { +if (!raw_spin_trylock_irqsave (&rsp->fqslock, flags)) { rsp->n_force_qs_lh++;/* Inexact, can lose counts. Tough! */ return ;/* Someone else is already on the job. */ }if (relaxed &&ULONG_CMP_GE (rsp->jiffies_force_qs, jiffies)) goto unlock_fqs_ret;/* no emergency and done recently. */ rsp->n_force_qs++; -spin_lock (&rnp->lock);/* irqs already disabled */ +raw_spin_lock (&rnp->lock);/* irqs already disabled */ rsp->jiffies_force_qs = jiffies +RCU_JIFFIES_TILL_FORCE_QS ;if (!rcu_gp_in_progress (rsp)) { rsp->n_force_qs_ngp++; -spin_unlock (&rnp->lock);/* irqs remain disabled */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled */ goto unlock_fqs_ret;/* no GP in progress, time updated. */ } rsp->fqs_active =1 ;
@@ -1235,13 +1235,13 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed)case RCU_SAVE_DYNTICK : -spin_unlock (&rnp->lock);/* irqs remain disabled */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled */ if (RCU_SIGNAL_INIT !=RCU_SAVE_DYNTICK )break ;/* So gcc recognizes the dead code. */ /* Record dyntick-idle state. */ force_qs_rnp (rsp, dyntick_save_progress_counter); -spin_lock (&rnp->lock);/* irqs already disabled */ +raw_spin_lock (&rnp->lock);/* irqs already disabled */ if (rcu_gp_in_progress (rsp)) rsp->signaled =RCU_FORCE_QS ;break ;
@@ -1249,24 +1249,24 @@ static void force_quiescent_state(struct rcu_state *rsp, int relaxed)case RCU_FORCE_QS :/* Check dyntick-idle state, send IPI to laggarts. */ -spin_unlock (&rnp->lock);/* irqs remain disabled */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled */ force_qs_rnp (rsp, rcu_implicit_dynticks_qs);/* Leave state in case more forcing is required. */ -spin_lock (&rnp->lock);/* irqs already disabled */ +raw_spin_lock (&rnp->lock);/* irqs already disabled */ break; } rsp->fqs_active =0 ;if (rsp->fqs_need_gp) { -spin_unlock (&rsp->fqslock);/* irqs remain disabled */ +raw_spin_unlock (&rsp->fqslock);/* irqs remain disabled */ rsp->fqs_need_gp =0 ;rcu_start_gp (rsp, flags);/* releases rnp->lock */ return ; } -spin_unlock (&rnp->lock);/* irqs remain disabled */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled */ unlock_fqs_ret: -spin_unlock_irqrestore (&rsp->fqslock, flags); +raw_spin_unlock_irqrestore (&rsp->fqslock, flags); }#else /* #ifdef CONFIG_SMP */
@@ -1308,7 +1308,7 @@ __rcu_process_callbacks(struct rcu_state *rsp, struct rcu_data *rdp)/* Does this CPU require a not-yet-started grace period? */ if (cpu_needs_another_gp (rsp, rdp)) { -spin_lock_irqsave (&rcu_get_root (rsp)->lock, flags); +raw_spin_lock_irqsave (&rcu_get_root (rsp)->lock, flags);rcu_start_gp (rsp, flags);/* releases above lock */ }
@@ -1373,7 +1373,7 @@ __call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu),unsigned long nestflag;struct rcu_node *rnp_root =rcu_get_root (rsp); -spin_lock_irqsave (&rnp_root->lock, nestflag); +raw_spin_lock_irqsave (&rnp_root->lock, nestflag);rcu_start_gp (rsp, nestflag);/* releases rnp_root->lock. */ }
@@ -1662,7 +1662,7 @@ rcu_boot_init_percpu_data(int cpu, struct rcu_state *rsp)struct rcu_node *rnp =rcu_get_root (rsp);/* Set up local state, ensuring consistent view of global state. */ -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags); rdp->grpmask =1UL << (cpu - rdp->mynode->grplo); rdp->nxtlist =NULL ;for (i =0 ; i <RCU_NEXT_SIZE ; i++)
@@ -1672,7 +1672,7 @@ rcu_boot_init_percpu_data(int cpu, struct rcu_state *rsp) rdp->dynticks = &per_cpu (rcu_dynticks, cpu);#endif /* #ifdef CONFIG_NO_HZ */ rdp->cpu = cpu; -spin_unlock_irqrestore (&rnp->lock, flags); +raw_spin_unlock_irqrestore (&rnp->lock, flags); }/*
@@ -1690,7 +1690,7 @@ rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptable)struct rcu_node *rnp =rcu_get_root (rsp);/* Set up local state, ensuring consistent view of global state. */ -spin_lock_irqsave (&rnp->lock, flags); +raw_spin_lock_irqsave (&rnp->lock, flags); rdp->passed_quiesc =0 ;/* We could be racing with new GP, */ rdp->qs_pending =1 ;/* so set up to respond to current GP. */ rdp->beenonline =1 ;/* We have now been online. */
@@ -1698,7 +1698,7 @@ rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptable) rdp->qlen_last_fqs_check =0 ; rdp->n_force_qs_snap = rsp->n_force_qs; rdp->blimit = blimit; -spin_unlock (&rnp->lock);/* irqs remain disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs remain disabled. */ /* * A new grace period might start here. If so, we won't be part
@@ -1706,14 +1706,14 @@ rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptable)*/ /* Exclude any attempts to start a new GP on large systems. */ -spin_lock (&rsp->onofflock);/* irqs already disabled. */ +raw_spin_lock (&rsp->onofflock);/* irqs already disabled. */ /* Add CPU to rcu_node bitmasks. */ rnp = rdp->mynode; mask = rdp->grpmask; do { /* Exclude any attempts to start a new GP on small systems. */ - spin_lock(&rnp->lock); /* irqs already disabled. */ + raw_spin_lock(&rnp->lock); /* irqs already disabled. */ rnp->qsmaskinit |= mask; mask = rnp->grpmask; if (rnp == rdp->mynode) {
@@ -1721,11 +1721,11 @@ rcu_init_percpu_data(int cpu, struct rcu_state *rsp, int preemptable) rdp->completed = rnp->completed; rdp->passed_quiesc_completed = rnp->completed -1 ; } -spin_unlock (&rnp->lock);/* irqs already disabled. */ +raw_spin_unlock (&rnp->lock);/* irqs already disabled. */ rnp = rnp->parent; }while (rnp !=NULL && !(rnp->qsmaskinit & mask)); -spin_unlock_irqrestore (&rsp->onofflock, flags); +raw_spin_unlock_irqrestore (&rsp->onofflock, flags); }static void __cpuinit rcu_online_cpu (int cpu)
@@ -1832,7 +1832,7 @@ static void __init rcu_init_one(struct rcu_state *rsp) cpustride *= rsp->levelspread[i]; rnp = rsp->level[i];for (j =0 ; j < rsp->levelcnt[i]; j++, rnp++) { -spin_lock_init (&rnp->lock); +raw_spin_lock_init (&rnp->lock);lockdep_set_class_and_name (&rnp->lock, &rcu_node_class[i], buf[i]); rnp->gpnum =0 ;
kernel/rcutree.h +3 -3
@@ -90,7 +90,7 @@ struct rcu_dynticks {* Definition for node within the RCU grace-period-detection hierarchy. */ struct rcu_node { -spinlock_t lock;/* Root rcu_node's lock protects some */ +raw_spinlock_t lock;/* Root rcu_node's lock protects some */ /* rcu_state fields as well as following. */ unsigned long gpnum;/* Current grace period for this node. */ /* This will either be equal to or one */
@@ -291,7 +291,7 @@ struct rcu_state {/* End of fields guarded by root rcu_node's lock. */ -spinlock_t onofflock;/* exclude on/offline and */ +raw_spinlock_t onofflock;/* exclude on/offline and */ /* starting new GP. Also */ /* protects the following */ /* orphan_cbs fields. */
@@ -301,7 +301,7 @@ struct rcu_state {/* going offline. */ struct rcu_head **orphan_cbs_tail;/* And tail pointer. */ long orphan_qlen;/* Number of orphaned cbs. */ -spinlock_t fqslock;/* Only one task forcing */ +raw_spinlock_t fqslock;/* Only one task forcing */ /* quiescent states. */ unsigned long jiffies_force_qs;/* Time at which to invoke */ /* force_quiescent_state(). */
kernel/rcutree_plugin.h +23 -23
149 lines not on this page · raw message
PATCH 19/21 rcu: fix deadlock in TREE_PREEMPT_RCU CPU stall detection
In reply to Paul E. McKenneyUnder TREE_PREEMPT_RCU, print_other_cpu_stall() invokes rcu_print_task_stall() with the root rcu_node structure's ->lock held, and rcu_print_task_stall() acquires that same lock for self-deadlock. Fix this by removing the lock acquisition from rcu_print_task_stall(), and making all callers acquire the lock instead.
--- kernel/rcutree.c | 2 ++ kernel/rcutree_plugin.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-)
kernel/rcutree.c +2 -0
@@ -476,7 +476,9 @@ static void print_other_cpu_stall(struct rcu_state *rsp)printk (KERN_ERR "INFO: RCU detected CPU stalls:" );rcu_for_each_leaf_node (rsp, rnp) { +raw_spin_lock_irqsave (&rnp->lock, flags);rcu_print_task_stall (rnp); +raw_spin_unlock_irqrestore (&rnp->lock, flags);if (rnp->qsmask ==0 )continue ;for (cpu =0 ; cpu <= rnp->grphi - rnp->grplo; cpu++)
kernel/rcutree_plugin.h +0 -3
@@ -318,18 +318,15 @@ EXPORT_SYMBOL_GPL(__rcu_read_unlock);*/ static void rcu_print_task_stall (struct rcu_node *rnp) { -unsigned long flags;struct list_head *lp;int phase;struct task_struct *t;if (rcu_preempted_readers (rnp)) { -raw_spin_lock_irqsave (&rnp->lock, flags); phase = rnp->gpnum &0x1 ; lp = &rnp->blocked_tasks[phase];list_for_each_entry (t, lp, rcu_node_entry)printk (" P%d" , t->pid); -raw_spin_unlock_irqrestore (&rnp->lock, flags); } }
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Fix deadlock in TREE_PREEMPT_RCU CPU stall detection
Commit-ID: 3acd9eb31c5f7eb97cb2009fa41472710fb4a10f Gitweb: http://git.kernel.org/tip/3acd9eb31c5f7eb97cb2009fa41472710fb4a10f Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:05:03 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:34:59 +0100
rcu: Fix deadlock in TREE_PREEMPT_RCU CPU stall detection
Under TREE_PREEMPT_RCU, print_other_cpu_stall() invokes rcu_print_task_stall() with the root rcu_node structure's ->lock held, and rcu_print_task_stall() acquires that same lock for self-deadlock. Fix this by removing the lock acquisition from rcu_print_task_stall(), and making all callers acquire the lock instead.
LKML-Reference: <[email protected]>
--- kernel/rcutree.c | 2 ++ kernel/rcutree_plugin.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-)
kernel/rcutree.c +2 -0
@@ -476,7 +476,9 @@ static void print_other_cpu_stall(struct rcu_state *rsp)printk (KERN_ERR "INFO: RCU detected CPU stalls:" );rcu_for_each_leaf_node (rsp, rnp) { +raw_spin_lock_irqsave (&rnp->lock, flags);rcu_print_task_stall (rnp); +raw_spin_unlock_irqrestore (&rnp->lock, flags);if (rnp->qsmask ==0 )continue ;for (cpu =0 ; cpu <= rnp->grphi - rnp->grplo; cpu++)
kernel/rcutree_plugin.h +0 -3
@@ -318,18 +318,15 @@ EXPORT_SYMBOL_GPL(__rcu_read_unlock);*/ static void rcu_print_task_stall (struct rcu_node *rnp) { -unsigned long flags;struct list_head *lp;int phase;struct task_struct *t;if (rcu_preempted_readers (rnp)) { -raw_spin_lock_irqsave (&rnp->lock, flags); phase = rnp->gpnum &0x1 ; lp = &rnp->blocked_tasks[phase];list_for_each_entry (t, lp, rcu_node_entry)printk (" P%d" , t->pid); -raw_spin_unlock_irqrestore (&rnp->lock, flags); } }
PATCH 20/21 rcu: fix rcutorture mod_timer argument to delay one jiffy
In reply to Paul E. McKenneyThe current "mod_timer(&t, 1)" potentially makes the timer fire immediately, change this to wait one jiffy.
--- kernel/rcutorture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/rcutorture.c +1 -1
@@ -853,7 +853,7 @@ rcu_torture_reader(void *arg) do { if (irqreader && cur_ops->irq_capable) { if (!timer_pending(&t)) - mod_timer(&t, 1); + mod_timer(&t, jiffies + 1); } idx = cur_ops->readlock(); completed = cur_ops->completed();
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Fix rcutorture mod_timer argument to delay one jiffy
Commit-ID: 6155fec92e85f07d99e9746234496215443ffb0d Gitweb: http://git.kernel.org/tip/6155fec92e85f07d99e9746234496215443ffb0d Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:05:04 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:35:00 +0100
rcu: Fix rcutorture mod_timer argument to delay one jiffy
The current "mod_timer(&t, 1)" potentially makes the timer fire immediately, change this to wait one jiffy.
LKML-Reference: <[email protected]>
--- kernel/rcutorture.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/rcutorture.c +1 -1
@@ -853,7 +853,7 @@ rcu_torture_reader(void *arg) do { if (irqreader && cur_ops->irq_capable) { if (!timer_pending(&t)) - mod_timer(&t, 1); + mod_timer(&t, jiffies + 1); } idx = cur_ops->readlock(); completed = cur_ops->completed();
PATCH 21/21 rcu: add RCU_CPU_STALL_VERBOSE to dump detailed per-task information
In reply to Paul E. McKenneyWhen RCU detects a grace-period stall, it currently just prints out the PID of any tasks doing the stalling. This patch adds RCU_CPU_STALL_VERBOSE, which enables the more-verbose reporting from sched_show_task().
--- kernel/rcutree.c | 4 +++ kernel/rcutree.h | 1 + kernel/rcutree_plugin.h | 52 +++++++++++++++++++++++++++++++++++++++++++++++ lib/Kconfig.debug | 12 ++++++++++ 4 files changed, 69 insertions(+), 0 deletions(-)
kernel/rcutree.c +4 -0
@@ -489,6 +489,10 @@ static void print_other_cpu_stall(struct rcu_state *rsp) smp_processor_id(), (long)(jiffies - rsp->gp_start));trigger_all_cpu_backtrace (); +/* If so configured, complain about tasks blocking the grace period. */ + +rcu_print_detail_task_stall (rsp); +force_quiescent_state (rsp,0 );/* Kick them all. */ }
kernel/rcutree.h +1 -0
@@ -352,6 +352,7 @@ static void rcu_report_unblock_qs_rnp(struct rcu_node *rnp, unsigned long flags);#endif /* #ifdef CONFIG_HOTPLUG_CPU */ #ifdef CONFIG_RCU_CPU_STALL_DETECTOR +static void rcu_print_detail_task_stall (struct rcu_state *rsp);static void rcu_print_task_stall (struct rcu_node *rnp);#endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ static void rcu_preempt_check_blocked_tasks (struct rcu_node *rnp);
kernel/rcutree_plugin.h +52 -0
64 lines not on this page · raw message
lib/Kconfig.debug +12 -0
@@ -781,6 +781,18 @@ config RCU_CPU_STALL_DETECTOR Say Y if you are unsure. +config RCU_CPU_STALL_VERBOSE + bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" + depends on RCU_CPU_STALL_DETECTOR && TREE_PREEMPT_RCU + default n + help + This option causes RCU to printk detailed per-task information + for any tasks that are stalling the current RCU grace period. + + Say N if you are unsure. + + Say Y if you want to enable such checks. + config KPROBES_SANITY_TEST bool "Kprobes sanity tests" depends on DEBUG_KERNEL
Signature · 1 line
1.6.6
[tip:core/rcu] rcu: Add RCU_CPU_STALL_VERBOSE to dump detailed per-task information
Commit-ID: 1ed509a225008c9e8c0644fbd22168e09a7383a0 Gitweb: http://git.kernel.org/tip/1ed509a225008c9e8c0644fbd22168e09a7383a0 Author: Paul E. McKenney <[email protected]> AuthorDate: Mon, 22 Feb 2010 17:05:05 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Thu, 25 Feb 2010 10:35:02 +0100
rcu: Add RCU_CPU_STALL_VERBOSE to dump detailed per-task information
When RCU detects a grace-period stall, it currently just prints out the PID of any tasks doing the stalling. This patch adds RCU_CPU_STALL_VERBOSE, which enables the more-verbose reporting from sched_show_task().
LKML-Reference: <[email protected]>
--- kernel/rcutree.c | 4 +++ kernel/rcutree.h | 1 + kernel/rcutree_plugin.h | 52 +++++++++++++++++++++++++++++++++++++++++++++++ lib/Kconfig.debug | 12 ++++++++++ 4 files changed, 69 insertions(+), 0 deletions(-)
kernel/rcutree.c +4 -0
@@ -489,6 +489,10 @@ static void print_other_cpu_stall(struct rcu_state *rsp) smp_processor_id(), (long)(jiffies - rsp->gp_start));trigger_all_cpu_backtrace (); +/* If so configured, complain about tasks blocking the grace period. */ + +rcu_print_detail_task_stall (rsp); +force_quiescent_state (rsp,0 );/* Kick them all. */ }
kernel/rcutree.h +1 -0
@@ -352,6 +352,7 @@ static void rcu_report_unblock_qs_rnp(struct rcu_node *rnp, unsigned long flags);#endif /* #ifdef CONFIG_HOTPLUG_CPU */ #ifdef CONFIG_RCU_CPU_STALL_DETECTOR +static void rcu_print_detail_task_stall (struct rcu_state *rsp);static void rcu_print_task_stall (struct rcu_node *rnp);#endif /* #ifdef CONFIG_RCU_CPU_STALL_DETECTOR */ static void rcu_preempt_check_blocked_tasks (struct rcu_node *rnp);
kernel/rcutree_plugin.h +52 -0
64 lines not on this page · raw message
lib/Kconfig.debug +12 -0
@@ -781,6 +781,18 @@ config RCU_CPU_STALL_DETECTOR Say Y if you are unsure. +config RCU_CPU_STALL_VERBOSE + bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" + depends on RCU_CPU_STALL_DETECTOR && TREE_PREEMPT_RCU + default n + help + This option causes RCU to printk detailed per-task information + for any tasks that are stalling the current RCU grace period. + + Say N if you are unsure. + + Say Y if you want to enable such checks. + config KPROBES_SANITY_TEST bool "Kprobes sanity tests" depends on DEBUG_KERNEL
Quoted 2 lines · Paul E. McKenney
This patch series adds lockdep-based checking to the
rcu_dereference()primitive in order to flag misuses of RCU.
While I haven't looked much at this series, I've been thinking about adding static diagnostics for rcu_dereference misuse, in the form of an __rcu address space qualifier for pointers. Such a patch would obviously conflict with this series, so I'd wait for yours to go in first, but maybe you like the idea enough to do it yourself ;-).
The observation is that all accesses to an RCU protected pointer are either through rcu_dereference, rcu_assign_pointer or one of their variants. so it should be possible to add a new address space like we have for __iomem, __user and soon __percpu and have sparse check that we use RCU consistently on pointers that need it.
Arnd
Mathieu Desnoyers
reviewerQuoted 10 lines · * Arnd Bergmann ([email protected]) wrote:
Quoted 2 lines · Paul E. McKenney
This patch series adds lockdep-based checking to the
rcu_dereference()primitive in order to flag misuses of RCU.While I haven't looked much at this series, I've been thinking about adding static diagnostics for
rcu_dereferencemisuse, in the form of an__rcuaddress space qualifier for pointers. Such a patch would obviously conflict with this series, so I'd wait for yours to go in first, but maybe you like the idea enough to do it yourself ;-).
Quoted 5 lines
The observation is that all accesses to an RCU protected pointer are either through
rcu_dereference,rcu_assign_pointeror one of their variants. so it should be possible to add a new address space like we have for__iomem,__userand soon__percpuand have sparse check that we use RCU consistently on pointers that need it.
Just to make myself the devil's advocate: how should we consider initialization of RCU pointers at boot time that happens before any possible concurrent reader is allowed to run ? I think this case is an example of valid RCU-pointer access that is not done through the RCU primitives. It seems valid to perform these RCU-pointer accesses when serialized by a different exclusion mechanism, in this case being the guarantee that no concurrent reader are running at early boot. The same applies to stop_machine(), and, as I come to think of it, we could probably think of a scheme that dynamically switch from an RCU read-lock to, e.g., a mutex for all users, wait for RCU quiescent state, and then serialize all users on the mutex during the update. So while some of these cases are a bit far-fetched, I think they are valid, and I wonder how the address space validation would take them into account.
Thanks,
Mathieu
Quoted 2 lines
Arnd
Signature · 2 lines
Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
Quoted 17 lines · Mathieu Desnoyers
Quoted 10 lines · * Arnd Bergmann ([email protected]) wrote:
Quoted 2 lines · Paul E. McKenney
This patch series adds lockdep-based checking to the
rcu_dereference()primitive in order to flag misuses of RCU.While I haven't looked much at this series, I've been thinking about adding static diagnostics for
rcu_dereferencemisuse, in the form of an__rcuaddress space qualifier for pointers. Such a patch would obviously conflict with this series, so I'd wait for yours to go in first, but maybe you like the idea enough to do it yourself ;-).Quoted 5 lines
The observation is that all accesses to an RCU protected pointer are either through
rcu_dereference,rcu_assign_pointeror one of their variants. so it should be possible to add a new address space like we have for__iomem,__userand soon__percpuand have sparse check that we use RCU consistently on pointers that need it.
Quoted 13 lines
Just to make myself the devil's advocate: how should we consider initialization of RCU pointers at boot time that happens before any possible concurrent reader is allowed to run ? I think this case is an example of valid RCU-pointer access that is not done through the RCU primitives. It seems valid to perform these RCU-pointer accesses when serialized by a different exclusion mechanism, in this case being the guarantee that no concurrent reader are running at early boot. The same applies to
stop_machine(), and, as I come to think of it, we could probably think of a scheme that dynamically switch from an RCU read-lock to, e.g., a mutex for all users, wait for RCU quiescent state, and then serialize all users on the mutex during the update. So while some of these cases are a bit far-fetched, I think they are valid, and I wonder how the address space validation would take them into account.
And this is an excellent exposition of a few of the initialization issues I referred to in my earlier email!
Thanx, Paul
Quoted 7 lines · Mathieu Desnoyers
Just to make myself the devil's advocate: how should we consider initialization of RCU pointers at boot time that happens before any possible concurrent reader is allowed to run ? I think this case is an example of valid RCU-pointer access that is not done through the RCU primitives. It seems valid to perform these RCU-pointer accesses when serialized by a different exclusion mechanism, in this case being the guarantee that no concurrent reader are running at early boot.
Like the annotations adding __rcu to each rcu protected pointer, we'd also have to add annotations to static initialization of those. E.g. something like
#define DEFINE_RCU_VAR(type, name, pointer) \
type __rcu *name = (__force type)pointer
should do for simple initializations, and I guess I can come up with similar solutions if we need something more fancy.
Quoted 6 lines
The same applies to
stop_machine(), and, as I come to think of it, we could probably think of a scheme that dynamically switch from an RCU read-lock to, e.g., a mutex for all users, wait for RCU quiescent state, and then serialize all users on the mutex during the update. So while some of these cases are a bit far-fetched, I think they are valid, and I wonder how the address space validation would take them into account.
I assume that it's never wrong to do a pointer assignment using rcu_assign_pointer, or to do a dereference using rcu_dereference, even if you hold a mutex or stop_machine. I would also guess that the performance impact of doing so is not measurable. If both are true for all corner cases, we could just use the rcu primitives for any access on those variables for consistency reasons.
If there are cases where it does not work, we need to come up with names for new primitives that just do the assignment or dereference with __force but no actual synchronization.
Arnd
Quoted 13 lines · Arnd Bergmann
Quoted 7 lines · Mathieu Desnoyers
Just to make myself the devil's advocate: how should we consider initialization of RCU pointers at boot time that happens before any possible concurrent reader is allowed to run ? I think this case is an example of valid RCU-pointer access that is not done through the RCU primitives. It seems valid to perform these RCU-pointer accesses when serialized by a different exclusion mechanism, in this case being the guarantee that no concurrent reader are running at early boot.
Like the annotations adding
__rcuto each rcu protected pointer, we'd also have to add annotations to static initialization of those. E.g. something like
Quoted 5 lines
#define
DEFINE_RCU_VAR(type, name, pointer)\
type__rcu*name = (__forcetype)pointershould do for simple initializations, and I guess I can come up with similar solutions if we need something more fancy.
We would also need something for initialization of structure fields. Does __force work in that case as well?
Quoted 7 lines
Quoted 6 lines
The same applies to
stop_machine(), and, as I come to think of it, we could probably think of a scheme that dynamically switch from an RCU read-lock to, e.g., a mutex for all users, wait for RCU quiescent state, and then serialize all users on the mutex during the update. So while some of these cases are a bit far-fetched, I think they are valid, and I wonder how the address space validation would take them into account.
Quoted 6 lines
I assume that it's never wrong to do a pointer assignment using
rcu_assign_pointer, or to do a dereference usingrcu_dereference, even if you hold a mutex orstop_machine. I would also guess that the performance impact of doing so is not measurable. If both are true for all corner cases, we could just use the rcu primitives for any access on those variables for consistency reasons.
Seems like a good default position, but please see below.
Quoted 3 lines
If there are cases where it does not work, we need to come up with names for new primitives that just do the assignment or dereference with
__forcebut no actual synchronization.
Some data structures are shared by RCU and non-RCU code, with struct list_head being the most prominent example. Making the "next" pointer as __rcu might be OK, but there are a -lot- of non-RCU uses of struct list_head. Would we really want to introduce rcu_dereference() to all non-RCU list-traversal primitives, or do we need to do something else?
Thanx, Paul
Quoted 2 lines · Paul E. McKenney
We would also need something for initialization of structure fields. Does
__forcework in that case as well?
Yes, it will just need some syntactical sugar to avoid placing __force in device drivers.
Quoted 9 lines
Quoted 3 lines
If there are cases where it does not work, we need to come up with names for new primitives that just do the assignment or dereference with
__forcebut no actual synchronization.Some data structures are shared by RCU and non-RCU code, with struct
list_headbeing the most prominent example. Making the "next" pointer as__rcumight be OK, but there are a -lot- of non-RCU uses of structlist_head. Would we really want to introducercu_dereference()to all non-RCU list-traversal primitives, or do we need to do something else?
I've just started an experimental implementation and got stuck at list rcu. The two to deal with it that I can see are
- ignore list-rcu for now, and make all include/linux/rculist.h __force the problem to be ignored.
- introduce a new struct rcu_list_head that needs to be used for list rcu.
A nicer option might be if sparse would let you write 'struct list_head __rcu head' and interpret that as having the pointers inside it annotated as __rcu.
Arnd
Quoted 6 lines · Arnd Bergmann
Quoted 2 lines · Paul E. McKenney
We would also need something for initialization of structure fields. Does
__forcework in that case as well?Yes, it will just need some syntactical sugar to avoid placing
__forcein device drivers.
Very good!
Quoted 16 lines
Quoted 9 lines
Quoted 3 lines
If there are cases where it does not work, we need to come up with names for new primitives that just do the assignment or dereference with
__forcebut no actual synchronization.Some data structures are shared by RCU and non-RCU code, with struct
list_headbeing the most prominent example. Making the "next" pointer as__rcumight be OK, but there are a -lot- of non-RCU uses of structlist_head. Would we really want to introducercu_dereference()to all non-RCU list-traversal primitives, or do we need to do something else?I've just started an experimental implementation and got stuck at list rcu. The two to deal with it that I can see are
- ignore list-rcu for now, and make allinclude/linux/rculist.h__forcethe problem to be ignored.
- introduce a new structrcu_list_headthat needs to be used for list rcu.
Quoted 3 lines
A nicer option might be if sparse would let you write 'struct
list_head__rcuhead' and interpret that as having the pointers inside it annotated as__rcu.
Only the "next" pointer, not the "prev" pointer, but yes.
Perhaps it would be best to see if the sparse guys are willing to take this on?
Thanx, Paul
cover __rcu annotations, first draft
Quoted 6 lines · Paul E. McKenney
Quoted 6 lines
I've just started an experimental implementation and got stuck at list rcu. The two to deal with it that I can see are
- ignore list-rcu for now, and make allinclude/linux/rculist.h__forcethe problem to be ignored.
- introduce a new structrcu_list_headthat needs to be used for list rcu.
Quoted 8 lines
Quoted 3 lines
A nicer option might be if sparse would let you write 'struct
list_head__rcuhead' and interpret that as having the pointers inside it annotated as__rcu.Only the "next" pointer, not the "prev" pointer, but yes.
Perhaps it would be best to see if the sparse guys are willing to take this on?
I've implemented the second option now, and this seems to work alright. In order to test this out, I've annotated all rcu users in the kernel directory. One observation is that many members of task_struct are using RCU inconsistently. I'm not sure whether these should be considered bugs or false positives though. If we get a lot of false positives or people are generally unhappy about the annotations, they are not worth it, but if we find a few actual bugs, I guess it would be good to have this.
Examples of pointers that I did not annotate because most of the places accessing them do not use RCU are task->sighand, task->nsproxy, and task->real_parent.
Sorry for hijacking the discussion on your patch, but I assume that the same people interested in the lockdep diagnostics are also interested in the static annotations for RCU.
Arnd
Arnd Bergmann (10):
rcu: define __rcu address space modifier for sparse
rcu: annotated list rcu code
cgroups: __rcu annotations
credentials: rcu annotation
perf_event: __rcu annotations
audit: __rcu annotations
module: __rcu annotations
pid: __rcu annotations
notifiers: __rcu annotations
scheduler: __rcu annotations
include/linux/cgroup.h | 6 +- include/linux/compiler.h | 2 + include/linux/cred.h | 4 +- include/linux/fdtable.h | 2 +- include/linux/init_task.h | 6 +- include/linux/module.h | 4 +- include/linux/notifier.h | 10 ++-- include/linux/perf_event.h | 10 ++-- include/linux/pid.h | 9 ++- include/linux/rculist.h | 152 ++++++++++++++++++++++++++++++++------------ include/linux/rcupdate.h | 46 ++++++++++++-- include/linux/sched.h | 14 ++-- kernel/audit.c | 4 +- kernel/audit.h | 6 +- kernel/audit_tree.c | 14 ++-- kernel/auditfilter.c | 28 ++++---- kernel/auditsc.c | 8 +- kernel/cgroup.c | 63 ++++++++++--------- kernel/cpuset.c | 2 +- kernel/cred.c | 50 ++++++++------- kernel/exit.c | 12 ++-- kernel/fork.c | 6 +- kernel/module.c | 20 ++++-- kernel/notifier.c | 12 ++-- kernel/perf_event.c | 52 ++++++++-------- kernel/pid.c | 8 +- kernel/sched.c | 31 +++++---- 27 files changed, 352 insertions(+), 229 deletions(-)
PATCH 1/10 rcu: define __rcu address space modifier for sparse
This is a first attempt to define an __rcu annotation that lets sparse check for correct use of rcu_assign_pointer() and rcu_dereference(). Pointers that are annotated __rcu must be dereferenced using rcu_dereference or the new __rcu_dereference and must be assigned using rcu_assign_pointer or the new __rcu_assign_pointer.
The new macros are used in cases where not using the regular accessors is proven to be correct.
--- include/linux/compiler.h | 2 ++ include/linux/rcupdate.h | 46 +++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 43 insertions(+), 5 deletions(-)
include/linux/compiler.h +2 -0
@@ -10,6 +10,7 @@# define __force __attribute__((force))# define __nocast __attribute__((nocast))# define __iomem __attribute__((noderef, address_space(2))) +# define __rcu __attribute__((noderef, address_space(3)))# define __acquires (x) __attribute__((context(x,0,1)))# define __releases (x) __attribute__((context(x,1,0)))# define __acquire (x) __context__(x,1)
@@ -25,6 +26,7 @@ extern void __chk_io_ptr(const volatile void __iomem *);# define __force# define __nocast# define __iomem +# define __rcu# define __chk_user_ptr (x) (void)0# define __chk_io_ptr (x) (void)0 # define __builtin_warning(x, y...) (1)
include/linux/rcupdate.h +41 -5
69 lines not on this page · raw message
Signature · 1 line
1.6.3.3
Mathieu Desnoyers
reviewerRe: [PATCH 01/10] rcu: define __rcu address space modifier for sparse
Quoted 98 lines · * Arnd Bergmann ([email protected]) wrote:
This is a first attempt to define an
__rcuannotation that lets sparse check for correct use ofrcu_assign_pointer()andrcu_dereference(). Pointers that are annotated__rcumust be dereferenced usingrcu_dereferenceor the new__rcu_dereferenceand must be assigned usingrcu_assign_pointeror the new__rcu_assign_pointer.The new macros are used in cases where not using the regular accessors is proven to be correct.
Signed-off-by Arnd Bergmann <[email protected]>--- include/linux/compiler.h | 2 ++ include/linux/rcupdate.h | 46 +++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 43 insertions(+), 5 deletions(-)include/linux/compiler.h +2
-0@@ -10,6 +10,7 @@# define __force __attribute__((force))# define __nocast __attribute__((nocast))# define __iomem __attribute__((noderef, address_space(2))) +# define __rcu __attribute__((noderef, address_space(3)))# define __acquires (x) __attribute__((context(x,0,1)))# define __releases (x) __attribute__((context(x,1,0)))# define __acquire (x) __context__(x,1)@@ -25,6 +26,7 @@ extern void __chk_io_ptr(const volatile void __iomem *);# define __force# define __nocast# define __iomem +# define __rcu# define __chk_user_ptr (x) (void)0# define __chk_io_ptr (x) (void)0 # define __builtin_warning(x, y...) (1)include/linux/rcupdate.h +30
-5@@ -40,6 +40,7 @@#include <linux/seqlock.h> #include <linux/lockdep.h> #include <linux/completion.h> +#include <linux/compiler.h> /** * struct rcu_head - callback structure for use with RCU @@ -225,13 +226,31 @@ static inline notrace void rcu_read_unlock_sched_notrace(void)* * Inserts memory barriers on architectures that require them * (currently only the Alpha), and, more importantly, documents -* exactly which pointers are protected by RCU. +* exactly which pointers are protected by RCU and checks that +* the pointer is annotated as __rcu. */ -#define rcu_dereference (p) ({ \ - typeof(p) _________p1 = ACCESS_ONCE(p); \ + typeof(*p) *_________p1 = (typeof(*p)*__force )ACCESS_ONCE(p); \ + (void) (((typeof (*p) __rcu *)p) == p); \ smp_read_barrier_depends(); \ - (_________p1); \ + ((typeof(*p) __force __kernel *)(_________p1)); \ + }) + +/** +* __rcu_dereference - fetch an __rcu pointer outside of a +* read-side critical section. +* +* __rcu_dereference does not contain any barrier but only +* converts a __rcu pointer to one that can be dereferenced. +* Use this for annotating code that operates on __rcu variables +* for checking with sparse in places where you can be sure +* that no writers exist, e.g. in a write-side critical section +* or in an RCU call. +*/ + +#define __rcu_dereference (p) ({ \ + (void) (((typeof (*p) __rcu *)p) == p); \ + ((typeof(*p) __force __kernel *)(p)); \ })/** @@ -252,9 +271,26 @@ static inline notrace void rcu_read_unlock_sched_notrace(void)if (!__builtin_constant_p (v) || \ ((v) !=NULL )) \smp_wmb (); \ - (p) = (v); \ + (p) = (typeof(*v) __force __rcu *)(v); \ }) +/** +* __rcu_assign_pointer - assign a variable to an __rcu pointer +* without barriers. +* Using this is almost always a bug. +*/ +#define __rcu_assign_pointer (p, v) \
include/linux/rcupdate.h static inline notrace void rcu_read_unlock_sched_notrace(void) · line 292
Quoted 10 lines
include/linux/rcupdate.h +10
-0+ ({ \ + (p) = (typeof(*v) __force __rcu *)(v); \ + }) + +/** +* RCU_INIT_POINTER - initialize an RCU protected member +* in a statically allocated data structure. + */ +#define RCU_INIT_POINTER (p, v) \ + p = (typeof(*v) __force __rcu *)(v)
Hrm, I'm not sure about this one. It would be better to something closer to list.h LIST_HEAD_INIT / LIST_HEAD / INIT_LIST_HEAD. The first two are for static declaration/init, while the last one is for runtime init. I fear that your RCU_INIT_POINTER might be semantically confusing between static and dynamic initialization usual semantic.
Thanks,
Mathieu
Quoted 7 lines
include/linux/rcupdate.h +1
-0+/* Infrastructure to implement the synchronize_() primitives. */ struct rcu_synchronize {Signature · 1 line
1.6.3.3
Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency Consultant EfficiOS Inc. http://www.efficios.com
Re: [PATCH 01/10] rcu: define __rcu address space modifier for sparse
Quoted 4 lines · Mathieu Desnoyers
Quoted 4 lines
+/**
+ *RCU_INIT_POINTER- initialize an RCU protected member
+ * in a statically allocated data structure.
+ */
Quoted 8 lines
include/linux/rcupdate.h static inline notrace void rcu_read_unlock_sched_notrace(void) · line 292
Quoted 2 lines
include/linux/rcupdate.h +2
-0+#define RCU_INIT_POINTER (p, v) \ + p = (typeof(*v) __force __rcu *)(v)Hrm, I'm not sure about this one. It would be better to something closer to
list.hLIST_HEAD_INIT/LIST_HEAD/INIT_LIST_HEAD. The first two are for static declaration/init, while the last one is for runtime init. I fear that yourRCU_INIT_POINTERmight be semantically confusing between static and dynamic initialization usual semantic.
I only had to use it in one place, INIT_STRUCT_PID (see patch 08/10), and the approach of LIST_HEAD does not seem to work there. I'd certainly prefer to write it in a way that cannot be used for dynamic initialization, but could not think of one.
Arnd
PATCH 2/10 rcu: annotated list rcu code
In reply to Arnd BergmannThe listrcu implementation now defines new rcu_list_head, rcu_hlist_head and rcu_hlist_entry structures that are annotated with __rcu. Only these can now be passed into rcu_list_for_each and related interfaces.
When not running sparse, the types are defined to the original list_head etc in order to not break working setups that are lacking annotation.
--- include/linux/rculist.h | 152 ++++++++++++++++++++++++++++++++++------------ 1 files changed, 112 insertions(+), 40 deletions(-)
include/linux/rculist.h +112 -40
@@ -9,16 +9,67 @@#include <linux/list.h> #include <linux/rcupdate.h> +#ifdef __CHECKER__ +struct rcu_list_head { +struct rcu_list_head __rcu *next; +struct rcu_list_head *prev; +}; +#define LIST_HEAD_INIT_RCU (name) { (struct rcu_list_head __force __rcu *)&(name), &(name) } + +#define LIST_HEAD_RCU (name) \ + struct rcu_list_head name = LIST_HEAD_INIT_RCU(name) + +static inline void INIT_LIST_HEAD_RCU (struct rcu_list_head *list) +{ +__rcu_assign_pointer (list->next, list); + list->prev = list; +} + +struct rcu_hlist_head { +struct rcu_hlist_node __rcu *first; +}; + +struct rcu_hlist_node { +struct rcu_hlist_node __rcu *next, **pprev; +}; + +#define HLIST_HEAD_INIT_RCU { .first = (void __rcu __force *)NULL } +#define HLIST_HEAD_RCU (name) struct rcu_hlist_head name = \ + { .first = (void __rcu __force *)NULL } +#define INIT_HLIST_HEAD_RCU (ptr) ((ptr)->first = (void __rcu __force *)NULL) +static inline void INIT_HLIST_NODE_RCU (struct rcu_hlist_node *h) +{ +__rcu_assign_pointer (h->next,NULL ); + h->pprev =NULL ; +} + +#else /* !__CHECKER__ */ + +#define rcu_list_head list_head +#define LIST_HEAD_INIT_RCU LIST_HEAD_INIT +#define LIST_HEAD_RCU LIST_HEAD +#define INIT_LIST_HEAD_RCU INIT_LIST_HEAD + +#define rcu_hlist_head hlist_head +#define rcu_hlist_node hlist_node +#define HLIST_HEAD_INIT_RCU HLIST_HEAD_INIT +#define HLIST_HEAD_RCU HLIST_HEAD +#define INIT_HLIST_HEAD_RCU INIT_HLIST_HEAD +#define INIT_HLIST_NODE_RCU INIT_HLIST_NODE + +#endif /* !__CHECKER__ */ + +/* * Insert a new entry between two known consecutive entries. * * This is only for internal list manipulation where we know * the prev/next entries already! */ -static inline void __list_add_rcu (struct list_head *new, -struct list_head *prev,struct list_head *next) +static inline void __list_add_rcu (struct rcu_list_head *new, +struct rcu_list_head *prev,struct rcu_list_head *next) { - new->next = next; +__rcu_assign_pointer (new->next, next); new->prev = prev;rcu_assign_pointer (prev->next, new); next->prev = new;
@@ -40,9 +91,9 @@ static inline void __list_add_rcu(struct list_head *new,* the _rcu list-traversal primitives, such as * list_for_each_entry_rcu(). */ -static inline void list_add_rcu (struct list_head *new,struct list_head *head) +static inline void list_add_rcu (struct rcu_list_head *new,struct rcu_list_head *head) { -__list_add_rcu (new, head, head->next); +__list_add_rcu (new, head,__rcu_dereference (head->next)); }/**
@@ -61,8 +112,8 @@ static inline void list_add_rcu(struct list_head *new, struct list_head *head)* the _rcu list-traversal primitives, such as * list_for_each_entry_rcu(). */ -static inline void list_add_tail_rcu (struct list_head *new, -struct list_head *head) +static inline void list_add_tail_rcu (struct rcu_list_head *new, +struct rcu_list_head *head) {__list_add_rcu (new, head->prev, head); }
@@ -91,13 +142,29 @@ static inline void list_add_tail_rcu(struct list_head *new,* or call_rcu() must be used to defer freeing until an RCU * grace period has elapsed. */ -static inline void list_del_rcu (struct list_head *entry) +static inline void __list_del_rcu (struct rcu_list_head *prev,struct rcu_list_head *next) { -__list_del (entry->prev, entry->next); + next->prev = prev; +__rcu_assign_pointer (prev->next, next); +} + +static inline void list_del_rcu (struct rcu_list_head *entry) +{ +__list_del_rcu (entry->prev,__rcu_dereference (entry->next)); entry->prev =LIST_POISON2 ; }/** +* list_empty - tests whether a list is empty +* @head: the list to test. +*/ +static inline int list_empty_rcu (const struct rcu_list_head *head) +{ +return rcu_dereference (head->next) == head; +} + + +/** * hlist_del_init_rcu - deletes entry from hash list with re-initialization * @n: the element to delete from the hash list. *
@@ -117,7 +184,7 @@ static inline void list_del_rcu(struct list_head *entry)* perfectly legal to run concurrently with the _rcu list-traversal * primitives, such as hlist_for_each_entry_rcu(). */ -static inline void hlist_del_init_rcu (struct hlist_node *n) +static inline void hlist_del_init_rcu (struct rcu_hlist_node *n) {if (!hlist_unhashed (n)) {__hlist_del (n);
@@ -133,13 +200,13 @@ static inline void hlist_del_init_rcu(struct hlist_node *n)* The @old entry will be replaced with the @new entry atomically. * Note: @old should not be empty. */ -static inline void list_replace_rcu (struct list_head *old, -struct list_head *new) +static inline void list_replace_rcu (struct rcu_list_head *old, +struct rcu_list_head *new) { new->next = old->next; new->prev = old->prev; -rcu_assign_pointer (new->prev->next, new); - new->next->prev = new; +__rcu_assign_pointer (new->prev->next, new); +rcu_dereference (new->next)->prev = new; old->prev =LIST_POISON2 ; }
@@ -160,13 +227,13 @@ static inline void list_replace_rcu(struct list_head *old,* based on call_rcu() could be created. But only if -really- * needed -- there is no shortage of RCU API members. */ -static inline void list_splice_init_rcu (struct list_head *list, -struct list_head *head, +static inline void list_splice_init_rcu (struct rcu_list_head *list, +struct rcu_list_head *head,void (*sync)(void )) { -struct list_head *first = list->next; -struct list_head *last = list->prev; -struct list_head *at = head->next; +struct rcu_list_head *first =__rcu_dereference (list->next); +struct rcu_list_head *last = list->prev; +struct rcu_list_head *at =__rcu_dereference (head->next);if (list_empty (head))return ;
@@ -192,7 +259,7 @@ static inline void list_splice_init_rcu(struct list_head *list,* this function. */ - last->next = at; +__rcu_assign_pointer (last->next,at);rcu_assign_pointer (head->next, first); first->prev = head; at->prev = last;
@@ -200,7 +267,7 @@ static inline void list_splice_init_rcu(struct list_head *list,/** * list_entry_rcu - get the struct for this entry -* @ptr: the &struct list_head pointer. +* @ptr: the &struct rcu_list_head pointer. * @type: the type of the struct this is embedded in. * @member: the name of the list_struct within the struct. *
@@ -241,13 +308,13 @@ static inline void list_splice_init_rcu(struct list_head *list,*/ #define list_for_each_entry_rcu (pos, head, member) \ for (pos = list_entry_rcu((head)->next, typeof(*pos), member); \ - prefetch(pos->member.next), &pos->member != (head); \ + prefetch(__rcu_dereference(pos->member.next)), &pos->member != (head); \ pos = list_entry_rcu(pos->member.next, typeof(*pos), member))/** * list_for_each_continue_rcu -* @pos: the &struct list_head to use as a loop cursor. +* @pos: the &struct rcu_list_head to use as a loop cursor. * @head: the head for your list. * * Iterate over an rcu-protected list, continuing after current point.
@@ -294,9 +361,9 @@ static inline void list_splice_init_rcu(struct list_head *list,* the _rcu list-traversal primitives, such as * hlist_for_each_entry(). */ -static inline void hlist_del_rcu (struct hlist_node *n) +static inline void hlist_del_rcu (struct rcu_hlist_node *n) { -__hlist_del (n); +__hlist_del ((struct hlist_node *)n); n->pprev =LIST_POISON2 ; }
@@ -307,16 +374,16 @@ static inline void hlist_del_rcu(struct hlist_node *n)* * The @old entry will be replaced with the @new entry atomically. */ -static inline void hlist_replace_rcu (struct hlist_node *old, -struct hlist_node *new) +static inline void hlist_replace_rcu (struct rcu_hlist_node *old, +struct rcu_hlist_node *new) { -struct hlist_node *next = old->next; +struct rcu_hlist_node __rcu *next = old->next; new->next = next; new->pprev = old->pprev;rcu_assign_pointer (*new->pprev, new);if (next) - new->next->pprev = &new->next; +__rcu_dereference (new->next)->pprev = &new->next; old->pprev =LIST_POISON2 ; }
@@ -339,12 +406,12 @@ static inline void hlist_replace_rcu(struct hlist_node *old,* problems on Alpha CPUs. Regardless of the type of CPU, the * list-traversal primitive must be guarded by rcu_read_lock(). */ -static inline void hlist_add_head_rcu (struct hlist_node *n, -struct hlist_head *h) +static inline void hlist_add_head_rcu (struct rcu_hlist_node *n, +struct rcu_hlist_head *h) { -struct hlist_node *first = h->first; +struct rcu_hlist_node *first =__rcu_dereference (h->first); - n->next = first; +__rcu_assign_pointer (n->next, first); n->pprev = &h->first;rcu_assign_pointer (h->first, n);if (first)
@@ -369,8 +436,8 @@ static inline void hlist_add_head_rcu(struct hlist_node *n,* hlist_for_each_entry_rcu(), used to prevent memory-consistency * problems on Alpha CPUs. */ -static inline void hlist_add_before_rcu (struct hlist_node *n, -struct hlist_node *next) +static inline void hlist_add_before_rcu (struct rcu_hlist_node *n, +struct rcu_hlist_node *next) { n->pprev = next->pprev; n->next = next;
@@ -396,8 +463,8 @@ static inline void hlist_add_before_rcu(struct hlist_node *n,* hlist_for_each_entry_rcu(), used to prevent memory-consistency * problems on Alpha CPUs. */ -static inline void hlist_add_after_rcu (struct hlist_node *prev, -struct hlist_node *n) +static inline void hlist_add_after_rcu (struct rcu_hlist_node *prev, +struct rcu_hlist_node *n) { n->next = prev->next; n->pprev = &prev->next;
@@ -406,12 +473,17 @@ static inline void hlist_add_after_rcu(struct hlist_node *prev, n->next->pprev = &n->next; } +static inline int hlist_empty_rcu (const struct rcu_hlist_head *h) +{ +return !__rcu_dereference (h->first); +} +/** * hlist_for_each_entry_rcu - iterate over rcu list of given type * @tpos: the type * to use as a loop cursor. -* @pos: the &struct hlist_node to use as a loop cursor. +* @pos: the &struct rcu_hlist_node to use as a loop cursor. * @head: the head for your list. -* @member: the name of the hlist_node within the struct. +* @member: the name of the rcu_hlist_node within the struct. * * This list-traversal primitive may safely run concurrently with * the _rcu list-mutation primitives such as hlist_add_head_rcu()
@@ -419,7 +491,7 @@ static inline void hlist_add_after_rcu(struct hlist_node *prev,*/ #define hlist_for_each_entry_rcu (tpos, pos, head, member) \ for (pos = rcu_dereference((head)->first); \ - pos && ({ prefetch(pos->next); 1; }) && \ + pos && ({ prefetch(__rcu_dereference(pos->next)); 1; }) && \ ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1; }); \ pos = rcu_dereference(pos->next))
Signature · 1 line
1.6.3.3
Mathieu Desnoyers
reviewerRe: [PATCH 02/10] rcu: annotated list rcu code
Quoted 8 lines · * Arnd Bergmann ([email protected]) wrote:
The listrcu implementation now defines new
rcu_list_head,rcu_hlist_headandrcu_hlist_entrystructures that are annotated with__rcu. Only these can now be passed intorcu_list_for_eachand related interfaces.When not running sparse, the types are defined to the original
list_headetc in order to not break working setups that are lacking annotation.
Hrm, wait.. dumb question: how can an annotation break compilation ? If there is any way out of this, I would prefer if we can do without a #ifdef __CHECKER__ if possible. It calls for bugs and implementation mismatch.
Thanks,
Mathieu
Quoted 320 lines
Signed-off-by Arnd Bergmann <[email protected]>--- include/linux/rculist.h | 152 ++++++++++++++++++++++++++++++++++------------ 1 files changed, 112 insertions(+), 40 deletions(-)include/linux/rculist.h +112
-40@@ -9,16 +9,67 @@#include <linux/list.h> #include <linux/rcupdate.h> +#ifdef __CHECKER__ +struct rcu_list_head { +struct rcu_list_head __rcu *next; +struct rcu_list_head *prev; +}; +#define LIST_HEAD_INIT_RCU (name) { (struct rcu_list_head __force __rcu *)&(name), &(name) } + +#define LIST_HEAD_RCU (name) \ + struct rcu_list_head name = LIST_HEAD_INIT_RCU(name) + +static inline void INIT_LIST_HEAD_RCU (struct rcu_list_head *list) +{ +__rcu_assign_pointer (list->next, list); + list->prev = list; +} + +struct rcu_hlist_head { +struct rcu_hlist_node __rcu *first; +}; + +struct rcu_hlist_node { +struct rcu_hlist_node __rcu *next, **pprev; +}; + +#define HLIST_HEAD_INIT_RCU { .first = (void __rcu __force *)NULL } +#define HLIST_HEAD_RCU (name) struct rcu_hlist_head name = \ + { .first = (void __rcu __force *)NULL } +#define INIT_HLIST_HEAD_RCU (ptr) ((ptr)->first = (void __rcu __force *)NULL) +static inline void INIT_HLIST_NODE_RCU (struct rcu_hlist_node *h) +{ +__rcu_assign_pointer (h->next,NULL ); + h->pprev =NULL ; +} + +#else /* !__CHECKER__ */ + +#define rcu_list_head list_head +#define LIST_HEAD_INIT_RCU LIST_HEAD_INIT +#define LIST_HEAD_RCU LIST_HEAD +#define INIT_LIST_HEAD_RCU INIT_LIST_HEAD + +#define rcu_hlist_head hlist_head +#define rcu_hlist_node hlist_node +#define HLIST_HEAD_INIT_RCU HLIST_HEAD_INIT +#define HLIST_HEAD_RCU HLIST_HEAD +#define INIT_HLIST_HEAD_RCU INIT_HLIST_HEAD +#define INIT_HLIST_NODE_RCU INIT_HLIST_NODE + +#endif /* !__CHECKER__ */ + +/* * Insert a new entry between two known consecutive entries. * * This is only for internal list manipulation where we know * the prev/next entries already! */ -static inline void __list_add_rcu (struct list_head *new, -struct list_head *prev,struct list_head *next) +static inline void __list_add_rcu (struct rcu_list_head *new, +struct rcu_list_head *prev,struct rcu_list_head *next) { - new->next = next; +__rcu_assign_pointer (new->next, next); new->prev = prev;rcu_assign_pointer (prev->next, new); next->prev = new;@@ -40,9 +91,9 @@ static inline void __list_add_rcu(struct list_head *new,* the _rcu list-traversal primitives, such as * list_for_each_entry_rcu(). */ -static inline void list_add_rcu (struct list_head *new,struct list_head *head) +static inline void list_add_rcu (struct rcu_list_head *new,struct rcu_list_head *head) { -__list_add_rcu (new, head, head->next); +__list_add_rcu (new, head,__rcu_dereference (head->next)); }/** @@ -61,8 +112,8 @@ static inline void list_add_rcu(struct list_head *new, struct list_head *head)* the _rcu list-traversal primitives, such as * list_for_each_entry_rcu(). */ -static inline void list_add_tail_rcu (struct list_head *new, -struct list_head *head) +static inline void list_add_tail_rcu (struct rcu_list_head *new, +struct rcu_list_head *head) {__list_add_rcu (new, head->prev, head); }@@ -91,13 +142,29 @@ static inline void list_add_tail_rcu(struct list_head *new,* or call_rcu() must be used to defer freeing until an RCU * grace period has elapsed. */ -static inline void list_del_rcu (struct list_head *entry) +static inline void __list_del_rcu (struct rcu_list_head *prev,struct rcu_list_head *next) { -__list_del (entry->prev, entry->next); + next->prev = prev; +__rcu_assign_pointer (prev->next, next); +} + +static inline void list_del_rcu (struct rcu_list_head *entry) +{ +__list_del_rcu (entry->prev,__rcu_dereference (entry->next)); entry->prev =LIST_POISON2 ; }/** +* list_empty - tests whether a list is empty +* @head: the list to test. +*/ +static inline int list_empty_rcu (const struct rcu_list_head *head) +{ +return rcu_dereference (head->next) == head; +} + + +/** * hlist_del_init_rcu - deletes entry from hash list with re-initialization * @n: the element to delete from the hash list. * @@ -117,7 +184,7 @@ static inline void list_del_rcu(struct list_head *entry)* perfectly legal to run concurrently with the _rcu list-traversal * primitives, such as hlist_for_each_entry_rcu(). */ -static inline void hlist_del_init_rcu (struct hlist_node *n) +static inline void hlist_del_init_rcu (struct rcu_hlist_node *n) {if (!hlist_unhashed (n)) {__hlist_del (n);@@ -133,13 +200,13 @@ static inline void hlist_del_init_rcu(struct hlist_node *n)* The @old entry will be replaced with the @new entry atomically. * Note: @old should not be empty. */ -static inline void list_replace_rcu (struct list_head *old, -struct list_head *new) +static inline void list_replace_rcu (struct rcu_list_head *old, +struct rcu_list_head *new) { new->next = old->next; new->prev = old->prev; -rcu_assign_pointer (new->prev->next, new); - new->next->prev = new; +__rcu_assign_pointer (new->prev->next, new); +rcu_dereference (new->next)->prev = new; old->prev =LIST_POISON2 ; }@@ -160,13 +227,13 @@ static inline void list_replace_rcu(struct list_head *old,* based on call_rcu() could be created. But only if -really- * needed -- there is no shortage of RCU API members. */ -static inline void list_splice_init_rcu (struct list_head *list, -struct list_head *head, +static inline void list_splice_init_rcu (struct rcu_list_head *list, +struct rcu_list_head *head,void (*sync)(void )) { -struct list_head *first = list->next; -struct list_head *last = list->prev; -struct list_head *at = head->next; +struct rcu_list_head *first =__rcu_dereference (list->next); +struct rcu_list_head *last = list->prev; +struct rcu_list_head *at =__rcu_dereference (head->next);if (list_empty (head))return ;@@ -192,7 +259,7 @@ static inline void list_splice_init_rcu(struct list_head *list,* this function. */ - last->next = at; +__rcu_assign_pointer (last->next,at);rcu_assign_pointer (head->next, first); first->prev = head; at->prev = last;@@ -200,7 +267,7 @@ static inline void list_splice_init_rcu(struct list_head *list,/** * list_entry_rcu - get the struct for this entry -* @ptr: the &struct list_head pointer. +* @ptr: the &struct rcu_list_head pointer. * @type: the type of the struct this is embedded in. * @member: the name of the list_struct within the struct. * @@ -241,13 +308,13 @@ static inline void list_splice_init_rcu(struct list_head *list,*/ #define list_for_each_entry_rcu (pos, head, member) \ for (pos = list_entry_rcu((head)->next, typeof(*pos), member); \ - prefetch(pos->member.next), &pos->member != (head); \ + prefetch(__rcu_dereference(pos->member.next)), &pos->member != (head); \ pos = list_entry_rcu(pos->member.next, typeof(*pos), member))/** * list_for_each_continue_rcu -* @pos: the &struct list_head to use as a loop cursor. +* @pos: the &struct rcu_list_head to use as a loop cursor. * @head: the head for your list. * * Iterate over an rcu-protected list, continuing after current point. @@ -294,9 +361,9 @@ static inline void list_splice_init_rcu(struct list_head *list,* the _rcu list-traversal primitives, such as * hlist_for_each_entry(). */ -static inline void hlist_del_rcu (struct hlist_node *n) +static inline void hlist_del_rcu (struct rcu_hlist_node *n) { -__hlist_del (n); +__hlist_del ((struct hlist_node *)n); n->pprev =LIST_POISON2 ; }@@ -307,16 +374,16 @@ static inline void hlist_del_rcu(struct hlist_node *n)* * The @old entry will be replaced with the @new entry atomically. */ -static inline void hlist_replace_rcu (struct hlist_node *old, -struct hlist_node *new) +static inline void hlist_replace_rcu (struct rcu_hlist_node *old, +struct rcu_hlist_node *new) { -struct hlist_node *next = old->next; +struct rcu_hlist_node __rcu *next = old->next; new->next = next; new->pprev = old->pprev;rcu_assign_pointer (*new->pprev, new);if (next) - new->next->pprev = &new->next; +__rcu_dereference (new->next)->pprev = &new->next; old->pprev =LIST_POISON2 ; }@@ -339,12 +406,12 @@ static inline void hlist_replace_rcu(struct hlist_node *old,* problems on Alpha CPUs. Regardless of the type of CPU, the * list-traversal primitive must be guarded by rcu_read_lock(). */ -static inline void hlist_add_head_rcu (struct hlist_node *n, -struct hlist_head *h) +static inline void hlist_add_head_rcu (struct rcu_hlist_node *n, +struct rcu_hlist_head *h) { -struct hlist_node *first = h->first; +struct rcu_hlist_node *first =__rcu_dereference (h->first); - n->next = first; +__rcu_assign_pointer (n->next, first); n->pprev = &h->first;rcu_assign_pointer (h->first, n);if (first)@@ -369,8 +436,8 @@ static inline void hlist_add_head_rcu(struct hlist_node *n,* hlist_for_each_entry_rcu(), used to prevent memory-consistency * problems on Alpha CPUs. */ -static inline void hlist_add_before_rcu (struct hlist_node *n, -struct hlist_node *next) +static inline void hlist_add_before_rcu (struct rcu_hlist_node *n, +struct rcu_hlist_node *next) { n->pprev = next->pprev; n->next = next;@@ -396,8 +463,8 @@ static inline void hlist_add_before_rcu(struct hlist_node *n,* hlist_for_each_entry_rcu(), used to prevent memory-consistency * problems on Alpha CPUs. */ -static inline void hlist_add_after_rcu (struct hlist_node *prev, -struct hlist_node *n) +static inline void hlist_add_after_rcu (struct rcu_hlist_node *prev, +struct rcu_hlist_node *n) { n->next = prev->next; n->pprev = &prev->next;@@ -406,12 +473,17 @@ static inline void hlist_add_after_rcu(struct hlist_node *prev, n->next->pprev = &n->next; } +static inline int hlist_empty_rcu (const struct rcu_hlist_head *h) +{ +return !__rcu_dereference (h->first); +} +/** * hlist_for_each_entry_rcu - iterate over rcu list of given type * @tpos: the type * to use as a loop cursor. -* @pos: the &struct hlist_node to use as a loop cursor. +* @pos: the &struct rcu_hlist_node to use as a loop cursor. * @head: the head for your list. -* @member: the name of the hlist_node within the struct. +* @member: the name of the rcu_hlist_node within the struct. * * This list-traversal primitive may safely run concurrently with * the _rcu list-mutation primitives such as hlist_add_head_rcu() @@ -419,7 +491,7 @@ static inline void hlist_add_after_rcu(struct hlist_node *prev,*/ #define hlist_for_each_entry_rcu (tpos, pos, head, member) \ for (pos = rcu_dereference((head)->first); \ - pos && ({ prefetch(pos->next); 1; }) && \ + pos && ({ prefetch(__rcu_dereference(pos->next)); 1; }) && \ ({ tpos = hlist_entry(pos, typeof(*tpos), member); 1; }); \ pos = rcu_dereference(pos->next))Signature · 1 line
1.6.3.3
Signature · 4 lines
Mathieu Desnoyers Operating System Efficiency Consultant EfficiOS Inc. http://www.efficios.com
Re: [PATCH 02/10] rcu: annotated list rcu code
Quoted 6 lines · Mathieu Desnoyers
Quoted 5 lines · * Arnd Bergmann ([email protected]) wrote:
The listrcu implementation now defines new
rcu_list_head,rcu_hlist_headandrcu_hlist_entrystructures that are annotated with__rcu. Only these can now be passed intorcu_list_for_eachand related interfaces.
Quoted 7 lines
Quoted 3 lines
When not running sparse, the types are defined to the original
list_headetc in order to not break working setups that are lacking annotation.Hrm, wait.. dumb question: how can an annotation break compilation ? If there is any way out of this, I would prefer if we can do without a #ifdef
__CHECKER__if possible. It calls for bugs and implementation mismatch.
The problem is that you can not (currently) declare a list_head to be RCU protected by writing 'struct list_head __rcu list;', because address space annotations only work on pointers.
The solution I used was to define a new struct rcu_list_head that has the ->next member annotated as __rcu. Unfortunately, this means that it is now incompatible to a struct list_head from the compiler's point of view.
We could get rid of the #ifdef by unconditionally defining the separate rcu_list_head, as long as all users are correctly converted to it. This does have problems in cases such as the module code that uses the same list with and without RCU, as Alexey mentioned.
The alternative would be not to annotate list RCU at all and __force away the warnings for these so we can still keep the normal __rcu annotations.
Arnd
PATCH 3/10 cgroups: __rcu annotations
In reply to Arnd Bergmann--- include/linux/cgroup.h | 6 ++-- include/linux/sched.h | 2 +- kernel/cgroup.c | 63 +++++++++++++++++++++++++---------------------- kernel/cpuset.c | 2 +- 4 files changed, 38 insertions(+), 35 deletions(-)
include/linux/cgroup.h +3 -3
@@ -66,7 +66,7 @@ struct cgroup_subsys_state {unsigned long flags;/* ID for this css, if possible */ -struct css_id *id; +struct css_id __rcu *id; };/* bits in struct cgroup_subsys_state flags field */
@@ -190,7 +190,7 @@ struct cgroup {struct list_head children;/* my children */ struct cgroup *parent;/* my parent */ -struct dentry *dentry;/* cgroup fs entry, RCU protected */ +struct dentry __rcu *dentry;/* cgroup fs entry, RCU protected */ /* Private pointers for each registered subsystem */ struct cgroup_subsys_state *subsys[CGROUP_SUBSYS_COUNT ];
@@ -486,7 +486,7 @@ static inline struct cgroup_subsys_state *cgroup_subsys_state(static inline struct cgroup_subsys_state *task_subsys_state (struct task_struct *task,int subsys_id) { -return rcu_dereference (task->cgroups->subsys[subsys_id]); +return rcu_dereference (task->cgroups)->subsys[subsys_id]; } static inline struct cgroup* task_cgroup(struct task_struct *task,
include/linux/sched.h +1 -1
@@ -1489,7 +1489,7 @@ struct task_struct {#endif #ifdef CONFIG_CGROUPS /* Control Group info protected by css_set_lock */ -struct css_set *cgroups; +struct css_set __rcu *cgroups;/* cg_list protected by css_set_lock and tsk->alloc_lock */ struct list_head cg_list;#endif
kernel/cgroup.c +33 -30
224 lines not on this page · raw message
kernel/cpuset.c +1 -1
@@ -2434,7 +2434,7 @@ void cpuset_print_task_mems_allowed(struct task_struct *tsk) {struct dentry *dentry; - dentry =task_cs (tsk)->css.cgroup->dentry; + dentry =__rcu_dereference (task_cs (tsk)->css.cgroup->dentry);spin_lock (&cpuset_buffer_lock);snprintf (cpuset_name,CPUSET_NAME_LEN , dentry ? (const char *)dentry->d_name.name :"/" );
Signature · 1 line
1.6.3.3
PATCH 4/10 credentials: rcu annotation
In reply to Arnd Bergmann--- include/linux/cred.h | 4 +- include/linux/sched.h | 4 +- kernel/cred.c | 50 +++++++++++++++++++++++++----------------------- kernel/fork.c | 4 +- 4 files changed, 32 insertions(+), 30 deletions(-)
include/linux/cred.h +2 -2
@@ -267,7 +267,7 @@ static inline void put_cred(const struct cred *_cred)* Access the subjective credentials of the current task. */ #define current_cred () \ - (current->cred) + __rcu_dereference(current->cred)/** * __task_cred - Access a task's objective credentials
@@ -356,7 +356,7 @@ static inline void put_cred(const struct cred *_cred)#define current_cred_xxx (xxx) \ ({ \ - current->cred->xxx; \ + __rcu_dereference(current->cred)->xxx; \ })#define current_uid () (current_cred_xxx(uid))
include/linux/sched.h +2 -2
@@ -1361,9 +1361,9 @@ struct task_struct {struct list_head cpu_timers[3 ];/* process credentials */ -const struct cred *real_cred;/* objective and real subjective task +const struct cred __rcu *real_cred;/* objective and real subjective task * credentials (COW) */ -const struct cred *cred;/* effective (overridable) subjective task +const struct cred __rcu *cred;/* effective (overridable) subjective task * credentials (COW) */ struct mutex cred_guard_mutex;/* guard against foreign influences on * credential calculations
kernel/cred.c +26 -24
121 lines not on this page · raw message
kernel/fork.c +2 -2
@@ -1032,10 +1032,10 @@ static struct task_struct *copy_process(unsigned long clone_flags,DEBUG_LOCKS_WARN_ON (!p->softirqs_enabled);#endif retval = -EAGAIN ; -if (atomic_read (&p->real_cred->user->processes) >= +if (atomic_read (&rcu_dereference (p->real_cred)->user->processes) >= p->signal->rlim[RLIMIT_NPROC ].rlim_cur) {if (!capable (CAP_SYS_ADMIN ) && !capable (CAP_SYS_RESOURCE ) && - p->real_cred->user !=INIT_USER ) +rcu_dereference (p->real_cred)->user !=INIT_USER ) goto bad_fork_free; }
Signature · 1 line
1.6.3.3
PATCH 5/10 perf_event: __rcu annotations
In reply to Arnd Bergmann--- include/linux/perf_event.h | 10 ++++---- include/linux/sched.h | 2 +- kernel/perf_event.c | 52 ++++++++++++++++++++++---------------------- 3 files changed, 32 insertions(+), 32 deletions(-)
include/linux/perf_event.h +5 -5
@@ -569,11 +569,11 @@ typedef void (*perf_overflow_handler_t)(struct perf_event *, int,struct perf_event {#ifdef CONFIG_PERF_EVENTS struct list_head group_entry; -struct list_head event_entry; +struct rcu_list_head event_entry;struct list_head sibling_list;int nr_siblings;struct perf_event *group_leader; -struct perf_event *output; +struct perf_event __rcu *output;const struct pmu *pmu;enum perf_event_active_state state;
@@ -634,7 +634,7 @@ struct perf_event {/* mmap bits */ struct mutex mmap_mutex;atomic_t mmap_count; -struct perf_mmap_data *data; +struct perf_mmap_data __rcu *data;/* poll related */ wait_queue_head_t waitq;
@@ -682,7 +682,7 @@ struct perf_event_context {struct mutex mutex;struct list_head group_list; -struct list_head event_list; +struct rcu_list_head event_list;int nr_events;int nr_active;int is_active;
@@ -700,7 +700,7 @@ struct perf_event_context {* These fields let us detect when two contexts have both * been cloned (inherited) from a common ancestor. */ -struct perf_event_context *parent_ctx; +struct perf_event_context __rcu *parent_ctx;u64 parent_gen;u64 generation;int pin_count;
include/linux/sched.h +1 -1
@@ -1502,7 +1502,7 @@ struct task_struct {struct futex_pi_state *pi_state_cache;#endif #ifdef CONFIG_PERF_EVENTS -struct perf_event_context *perf_event_ctxp; +struct perf_event_context __rcu *perf_event_ctxp;struct mutex perf_event_mutex;struct list_head perf_event_list;#endif
kernel/perf_event.c +26 -26
178 lines not on this page · raw message
Signature · 1 line
1.6.3.3
PATCH 6/10 audit: __rcu annotations
In reply to Arnd Bergmann--- kernel/audit.c | 4 ++-- kernel/audit.h | 6 +++--- kernel/audit_tree.c | 14 +++++++------- kernel/auditfilter.c | 28 ++++++++++++++-------------- kernel/auditsc.c | 8 ++++---- 5 files changed, 30 insertions(+), 30 deletions(-)
kernel/audit.c +2 -2
@@ -116,7 +116,7 @@ static atomic_t audit_lost = ATOMIC_INIT(0);static struct sock *audit_sock;/* Hash for inode-based rules */ -struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS ]; +struct rcu_list_head audit_inode_hash[AUDIT_INODE_BUCKETS ];/* The audit_freelist is a list of pre-allocated audit buffers (if more * than AUDIT_MAXFREE are in use, the audit buffer is freed instead of
@@ -985,7 +985,7 @@ static int __init audit_init(void)audit_log (NULL ,GFP_KERNEL ,AUDIT_KERNEL ,"initialized" );for (i =0 ; i <AUDIT_INODE_BUCKETS ; i++) -INIT_LIST_HEAD (&audit_inode_hash[i]); +INIT_LIST_HEAD_RCU (&audit_inode_hash[i]);return 0 ; }
kernel/audit.h +3 -3
@@ -58,7 +58,7 @@ struct audit_tree;struct audit_chunk ;struct audit_entry { -struct list_head list; +struct rcu_list_head list;struct rcu_head rcu;struct audit_krule rule; };
@@ -71,7 +71,7 @@ extern int audit_ever_enabled;extern int audit_pid;#define AUDIT_INODE_BUCKETS 32 -extern struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS ]; +extern struct rcu_list_head audit_inode_hash[AUDIT_INODE_BUCKETS ];static inline int audit_hash_ino (u32 ino) {
@@ -101,7 +101,7 @@ extern int selinux_audit_rule_update(void);extern struct mutex audit_filter_mutex;extern void audit_free_rule_rcu (struct rcu_head *); -extern struct list_head audit_filter_list[]; +extern struct rcu_list_head audit_filter_list[];/* audit watch functions */ extern unsigned long audit_watch_inode (struct audit_watch *watch);
kernel/audit_tree.c +7 -7
@@ -20,7 +20,7 @@ struct audit_tree { };struct audit_chunk { -struct list_head hash; +struct rcu_list_head hash;struct inotify_watch watch;struct list_head trees;/* with root here */ int dead;
@@ -121,7 +121,7 @@ static struct audit_chunk *alloc_chunk(int count)if (!chunk)return NULL ; -INIT_LIST_HEAD (&chunk->hash); +INIT_LIST_HEAD_RCU (&chunk->hash);INIT_LIST_HEAD (&chunk->trees); chunk->count = count;atomic_long_set (&chunk->refs,1 );
@@ -157,10 +157,10 @@ static void __put_chunk(struct rcu_head *rcu) }enum {HASH_SIZE =128 }; -static struct list_head chunk_hash_heads[HASH_SIZE ]; +static struct rcu_list_head chunk_hash_heads[HASH_SIZE ];static __cacheline_aligned_in_smp DEFINE_SPINLOCK (hash_lock ); -static inline struct list_head *chunk_hash (const struct inode *inode) +static inline struct rcu_list_head *chunk_hash (const struct inode *inode) {unsigned long n = (unsigned long )inode /L1_CACHE_BYTES ;return chunk_hash_heads + n %HASH_SIZE ;
@@ -169,14 +169,14 @@ static inline struct list_head *chunk_hash(const struct inode *inode)/* hash_lock is held by caller */ static void insert_hash (struct audit_chunk *chunk) { -struct list_head *list =chunk_hash (chunk->watch.inode); +struct rcu_list_head *list =chunk_hash (chunk->watch.inode);list_add_rcu (&chunk->hash, list); }/* called under rcu_read_lock */ struct audit_chunk *audit_tree_lookup (const struct inode *inode) { -struct list_head *list =chunk_hash (inode); +struct rcu_list_head *list =chunk_hash (inode);struct audit_chunk *p;list_for_each_entry_rcu (p, list, hash) {
@@ -959,7 +959,7 @@ static int __init audit_tree_init(void)audit_panic ("cannot initialize inotify handle for rectree watches" );for (i =0 ; i <HASH_SIZE ; i++) -INIT_LIST_HEAD (&chunk_hash_heads[i]); +INIT_LIST_HEAD_RCU (&chunk_hash_heads[i]);return 0 ; }
kernel/auditfilter.c +14 -14
@@ -44,13 +44,13 @@*/ /* Audit filter lists, defined in <linux/audit.h> */ -struct list_head audit_filter_list[AUDIT_NR_FILTERS ] = { -LIST_HEAD_INIT (audit_filter_list[0 ]), -LIST_HEAD_INIT (audit_filter_list[1 ]), -LIST_HEAD_INIT (audit_filter_list[2 ]), -LIST_HEAD_INIT (audit_filter_list[3 ]), -LIST_HEAD_INIT (audit_filter_list[4 ]), -LIST_HEAD_INIT (audit_filter_list[5 ]), +struct rcu_list_head audit_filter_list[AUDIT_NR_FILTERS ] = { +LIST_HEAD_INIT_RCU (audit_filter_list[0 ]), +LIST_HEAD_INIT_RCU (audit_filter_list[1 ]), +LIST_HEAD_INIT_RCU (audit_filter_list[2 ]), +LIST_HEAD_INIT_RCU (audit_filter_list[3 ]), +LIST_HEAD_INIT_RCU (audit_filter_list[4 ]), +LIST_HEAD_INIT_RCU (audit_filter_list[5 ]), #if AUDIT_NR_FILTERS != 6 #error Fix audit_filter_list initialiser #endif
@@ -821,10 +821,10 @@ struct audit_entry *audit_dupe_rule(struct audit_krule *old,/* Find an existing audit rule. * Caller must hold audit_filter_mutex to prevent stale rule data. */ static struct audit_entry *audit_find_rule (struct audit_entry *entry, -struct list_head **p) +struct rcu_list_head **p) {struct audit_entry *e, *found =NULL ; -struct list_head *list; +struct rcu_list_head *list;int h;if (entry->rule.inode_f) {
@@ -834,7 +834,7 @@ static struct audit_entry *audit_find_rule(struct audit_entry *entry,/* we don't know the inode number, so must walk entire hash */ for (h =0 ; h <AUDIT_INODE_BUCKETS ; h++) { list = &audit_inode_hash[h]; -list_for_each_entry (e, list, list) +list_for_each_entry_rcu (e, list, list)if (!audit_compare_rule (&entry->rule, &e->rule)) { found = e; goto out;
@@ -845,7 +845,7 @@ static struct audit_entry *audit_find_rule(struct audit_entry *entry, *p = list = &audit_filter_list[entry->rule.listnr]; } -list_for_each_entry (e, list, list) +list_for_each_entry_rcu (e, list, list)if (!audit_compare_rule (&entry->rule, &e->rule)) { found = e; goto out;
@@ -864,7 +864,7 @@ static inline int audit_add_rule(struct audit_entry *entry)struct audit_entry *e;struct audit_watch *watch = entry->rule.watch;struct audit_tree *tree = entry->rule.tree; -struct list_head *list; +struct rcu_list_head *list;int h, err;#ifdef CONFIG_AUDITSYSCALL int dont_count =0 ;
@@ -947,7 +947,7 @@ static inline int audit_del_rule(struct audit_entry *entry)struct audit_entry *e;struct audit_watch *watch = entry->rule.watch;struct audit_tree *tree = entry->rule.tree; -struct list_head *list; +struct rcu_list_head *list;LIST_HEAD (inotify_list);int ret =0 ;#ifdef CONFIG_AUDITSYSCALL
@@ -1296,7 +1296,7 @@ int audit_filter_type(int type)int result =0 ;rcu_read_lock (); -if (list_empty (&audit_filter_list[AUDIT_FILTER_TYPE ])) +if (list_empty_rcu (&audit_filter_list[AUDIT_FILTER_TYPE ])) goto unlock_and_return; list_for_each_entry_rcu(e, &audit_filter_list[AUDIT_FILTER_TYPE],
kernel/auditsc.c +4 -4
@@ -686,7 +686,7 @@ static enum audit_state audit_filter_task(struct task_struct *tsk, char **key)*/ static enum audit_state audit_filter_syscall (struct task_struct *tsk,struct audit_context *ctx, -struct list_head *list) +struct rcu_list_head *list) {struct audit_entry *e;enum audit_state state;
@@ -695,7 +695,7 @@ static enum audit_state audit_filter_syscall(struct task_struct *tsk,return AUDIT_DISABLED ;rcu_read_lock (); -if (!list_empty (list)) { +if (!list_empty_rcu (list)) {int word =AUDIT_WORD (ctx->major);int bit =AUDIT_BIT (ctx->major);
@@ -733,9 +733,9 @@ void audit_filter_inodes(struct task_struct *tsk, struct audit_context *ctx)int bit =AUDIT_BIT (ctx->major);struct audit_names *n = &ctx->names[i];int h =audit_hash_ino ((u32 )n->ino); -struct list_head *list = &audit_inode_hash[h]; +struct rcu_list_head *list = &audit_inode_hash[h]; -if (list_empty (list)) +if (list_empty_rcu (list))continue ;list_for_each_entry_rcu (e, list, list) {
Signature · 1 line
1.6.3.3
PATCH 7/10 module: __rcu annotations
In reply to Arnd BergmannThese are partial, because the modules list is used inconsistently with RCU. We actually pass a list_head of an RCU protected list into another function.
--- include/linux/module.h | 4 ++-- kernel/module.c | 20 +++++++++++++------- 2 files changed, 15 insertions(+), 9 deletions(-)
include/linux/module.h +2 -2
@@ -6,7 +6,7 @@* Rewritten by Richard Henderson <[email protected]> Dec 1996 * Rewritten again by Rusty Russell, 2002 */ -#include <linux/list.h> +#include <linux/rculist.h> #include <linux/stat.h> #include <linux/compiler.h> #include <linux/cache.h>
@@ -238,7 +238,7 @@ struct moduleenum module_state state;/* Member of list of modules */ -struct list_head list; +struct rcu_list_head list;/* Unique handle for this module */ char name[MODULE_NAME_LEN ];
kernel/module.c +13 -7
@@ -78,7 +78,7 @@ EXPORT_TRACEPOINT_SYMBOL(module_get);* (delete uses stop_machine/add uses RCU list operations). */ DEFINE_MUTEX (module_mutex);EXPORT_SYMBOL_GPL (module_mutex); -static LIST_HEAD (modules); +static LIST_HEAD_RCU (modules);/* Block module loading/unloading? */ int modules_disabled =0 ;
@@ -360,10 +360,12 @@ struct module *find_module(const char *name) {struct module *mod; -list_for_each_entry (mod, &modules, list) { +rcu_read_lock (); +list_for_each_entry_rcu (mod, &modules, list) {if (strcmp (mod->name, name) ==0 )return mod; } +rcu_read_unlock ();return NULL ; }EXPORT_SYMBOL_GPL (find_module);
@@ -544,7 +546,8 @@ static void module_unload_free(struct module *mod) {struct module *i; -list_for_each_entry (i, &modules, list) { +rcu_read_lock (); +list_for_each_entry_rcu (i, &modules, list) {struct module_use *use;list_for_each_entry (use, &i->modules_which_use_me, list) {
@@ -559,6 +562,7 @@ static void module_unload_free(struct module *mod) } } } +rcu_read_unlock (); }#ifdef CONFIG_MODULE_FORCE_UNLOAD
@@ -1368,7 +1372,7 @@ static void mod_kobject_remove(struct module *mod)static int __unlink_module (void *_mod) {struct module *mod = _mod; -list_del (&mod->list); +list_del_rcu (&mod->list);return 0 ; }
@@ -2718,7 +2722,8 @@ int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *,unsigned int i;int ret; -list_for_each_entry (mod, &modules, list) { +rcu_read_lock (); +list_for_each_entry_rcu (mod, &modules, list) {for (i =0 ; i < mod->num_symtab; i++) { ret =fn (data, mod->strtab + mod->symtab[i].st_name, mod, mod->symtab[i].st_value);
@@ -2726,6 +2731,7 @@ int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *, return ret; } } +rcu_read_unlock ();return 0 ; }#endif /* CONFIG_KALLSYMS */
@@ -2768,12 +2774,12 @@ static char *module_flags(struct module *mod, char *buf)static void *m_start (struct seq_file *m,loff_t *pos) {mutex_lock (&module_mutex); -return seq_list_start (&modules, *pos); +return seq_list_start ((struct list_head *)&modules, *pos); }static void *m_next (struct seq_file *m,void *p,loff_t *pos) { -return seq_list_next (p, &modules, pos); +return seq_list_next (p, (struct list_head *)&modules, pos); }static void m_stop (struct seq_file *m,void *p)
Signature · 1 line
1.6.3.3
Re: [PATCH 07/10] module: __rcu annotations
Quoted 4 lines · Arnd Bergmann
kernel/module.c +0
-0@@ -360,10 +360,12 @@ struct module *find_module(const char *name) {struct module *mod;
kernel/module.c struct module *find_module(const char *name) · line 371
Quoted 10 lines
kernel/module.c +3
-1-list_for_each_entry (mod, &modules, list) { +rcu_read_lock (); +list_for_each_entry_rcu (mod, &modules, list) {if (strcmp (mod->name, name) ==0 )return mod; } +rcu_read_unlock ();return NULL ; }EXPORT_SYMBOL_GPL (find_module);
modules list is under module_mutex, nothing should be done here.
Re: [PATCH 07/10] module: __rcu annotations
Quoted 5 lines · Alexey Dobriyan
Quoted 4 lines · Arnd Bergmann
kernel/module.c +0
-0@@ -360,10 +360,12 @@ struct module *find_module(const char *name) {struct module *mod;
Quoted 12 lines
kernel/module.c struct module *find_module(const char *name) · line 371
Quoted 10 lines
kernel/module.c +3
-1-list_for_each_entry (mod, &modules, list) { +rcu_read_lock (); +list_for_each_entry_rcu (mod, &modules, list) {if (strcmp (mod->name, name) ==0 )return mod; } +rcu_read_unlock ();return NULL ; }EXPORT_SYMBOL_GPL (find_module);modules list is under
module_mutex, nothing should be done here.
Ok, this is a significant limitation of the list rcu annotation then, it's not possible to pass the same list into list_for_each_entry and list_for_each_entry_rcu with the way I changed the rcu list definition. I would be possible to do a __list_for_each_entry_rcu macro that takes an rcu_list_head but does not actually use rcu_dereference, but I'm not sure if that's good enough.
Arnd
Re: [PATCH 07/10] module: __rcu annotations
Quoted 19 lines · Arnd Bergmann
Quoted 5 lines · Alexey Dobriyan
Quoted 4 lines · Arnd Bergmann
kernel/module.c +0
-0@@ -360,10 +360,12 @@ struct module *find_module(const char *name) {struct module *mod;Quoted 12 lines
kernel/module.c struct module *find_module(const char *name) · line 371
Quoted 10 lines
kernel/module.c +3
-1-list_for_each_entry (mod, &modules, list) { +rcu_read_lock (); +list_for_each_entry_rcu (mod, &modules, list) {if (strcmp (mod->name, name) ==0 )return mod; } +rcu_read_unlock ();return NULL ; }EXPORT_SYMBOL_GPL (find_module);modules list is under
module_mutex, nothing should be done here.
Quoted 6 lines
Ok, this is a significant limitation of the list rcu annotation then, it's not possible to pass the same list into
list_for_each_entryandlist_for_each_entry_rcuwith the way I changed the rcu list definition. I would be possible to do a__list_for_each_entry_rcumacro that takes anrcu_list_headbut does not actually usercu_dereference, but I'm not sure if that's good enough.
Hmmm... If the __rcu annotation was visible at runtime, it would be easy provide an annotated version of list_for_each_entry_rcu() that checks for module_mutex being held under lockdep.
Thanx, Paul
Re: [PATCH 07/10] module: __rcu annotations
Quoted 10 lines · On Wednesday 24 February 2010 23:17:49 Paul E. McKenney wrote:
Quoted 6 lines
Ok, this is a significant limitation of the list rcu annotation then, it's not possible to pass the same list into
list_for_each_entryandlist_for_each_entry_rcuwith the way I changed the rcu list definition. I would be possible to do a__list_for_each_entry_rcumacro that takes anrcu_list_headbut does not actually usercu_dereference, but I'm not sure if that's good enough.Hmmm... If the
__rcuannotation was visible at runtime, it would be easy provide an annotated version oflist_for_each_entry_rcu()that checks formodule_mutexbeing held under lockdep.
Well, if we keep the struct rcu_list_head and make it mandatory for rcu protected lists, it could be defined as
struct rcu_list_head {
struct list_head head;
#ifdef CONFIG_PROVE_RCU
bool (*check)(void);#endif
};
#ifdef CONFIG_PROVE_RCU
#define RCU_LIST_HEAD_INIT_CHECK(__head, __check) \
{ .head = LIST_HEAD_INIT((__head).head), .check = (__check) }#else
#define RCU_LIST_HEAD_INIT_CHECK(__list,__check) {.head = LIST_HEAD_INIT((__head).head) } #endif
#define RCU_LIST_HEAD_INIT(head) RCU_LIST_HEAD_INIT_CHECK(head,&rcu_read_lock_held) #define RCU_LIST_HEAD_INIT_BH(head) RCU_LIST_HEAD_INIT_CHECK(head,&rcu_read_lock_bh_held)
#define list_entry_rcu_check(ptr, type, member, check) \
container_of(rcu_dereference_check((void __rcu __force *)(ptr), check), type, member)
#define list_for_each_entry_rcu(pos, __head, member) \
for (pos = list_entry_rcu_check((__head)->head.next, typeof(*pos), \
member, (__head)->check); \
prefetch(pos->member.next), &pos->member != (head); \
pos = list_entry_rcu_check(pos->member.next, typeof(*pos), \
member, (__head)->check)))That would let us check all the heads for correct usage, and at the same time avoid having to annotate all the list entries.
Arnd
Re: [PATCH 07/10] module: __rcu annotations
Quoted 42 lines · Arnd Bergmann
Quoted 10 lines · On Wednesday 24 February 2010 23:17:49 Paul E. McKenney wrote:
Quoted 6 lines
Ok, this is a significant limitation of the list rcu annotation then, it's not possible to pass the same list into
list_for_each_entryandlist_for_each_entry_rcuwith the way I changed the rcu list definition. I would be possible to do a__list_for_each_entry_rcumacro that takes anrcu_list_headbut does not actually usercu_dereference, but I'm not sure if that's good enough.Hmmm... If the
__rcuannotation was visible at runtime, it would be easy provide an annotated version oflist_for_each_entry_rcu()that checks formodule_mutexbeing held under lockdep.Well, if we keep the struct
rcu_list_headand make it mandatory for rcu protected lists, it could be defined asstruct rcu_list_head { struct list_head head; #ifdef CONFIG_PROVE_RCU bool (*check)(void);#endif
};#ifdef
CONFIG_PROVE_RCU#define RCU_LIST_HEAD_INIT_CHECK(__head, __check) \ { .head = LIST_HEAD_INIT((__head).head), .check = (__check) }#else
#defineRCU_LIST_HEAD_INIT_CHECK(__list,__check){.head = LIST_HEAD_INIT((__head).head) } #endif#define
RCU_LIST_HEAD_INIT(head)RCU_LIST_HEAD_INIT_CHECK(head,&rcu_read_lock_held)#defineRCU_LIST_HEAD_INIT_BH(head)RCU_LIST_HEAD_INIT_CHECK(head,&rcu_read_lock_bh_held)#define
list_entry_rcu_check(ptr, type, member, check)\
container_of(rcu_dereference_check((void __rcu __force *)(ptr), check), type, member)#define list_for_each_entry_rcu(pos, __head, member) \ for (pos = list_entry_rcu_check((__head)->head.next, typeof(*pos), \ member, (__head)->check); \ prefetch(pos->member.next), &pos->member != (head); \ pos = list_entry_rcu_check(pos->member.next, typeof(*pos), \ member, (__head)->check)))
Quoted 2 lines
That would let us check all the heads for correct usage, and at the same time avoid having to annotate all the list entries.
Cool!!!
The nice thing about this is that we don't end up with the API explosion for the RCU list primitives. However, it does require that a given rcu_list_head have a single synchronization-design rule for all uses. Of course, if there were multiple rules, one could construct a check that was simply the union of all the rules, but that would miss some types of errors.
Of course, if this became a problem, there could be an argument to the ->check function that the normal list_for_each_entry_rcu() defaults to "no effect".
Or is there a better way to handle this?
Thanx, Paul
Re: [PATCH 07/10] module: __rcu annotations
Quoted 55 lines · Paul E. McKenney
Quoted 42 lines · Arnd Bergmann
Quoted 10 lines · On Wednesday 24 February 2010 23:17:49 Paul E. McKenney wrote:
Quoted 6 lines
Ok, this is a significant limitation of the list rcu annotation then, it's not possible to pass the same list into
list_for_each_entryandlist_for_each_entry_rcuwith the way I changed the rcu list definition. I would be possible to do a__list_for_each_entry_rcumacro that takes anrcu_list_headbut does not actually usercu_dereference, but I'm not sure if that's good enough.Hmmm... If the
__rcuannotation was visible at runtime, it would be easy provide an annotated version oflist_for_each_entry_rcu()that checks formodule_mutexbeing held under lockdep.Well, if we keep the struct
rcu_list_headand make it mandatory for rcu protected lists, it could be defined asstruct rcu_list_head { struct list_head head; #ifdef CONFIG_PROVE_RCU bool (*check)(void);#endif
};#ifdef
CONFIG_PROVE_RCU#define RCU_LIST_HEAD_INIT_CHECK(__head, __check) \ { .head = LIST_HEAD_INIT((__head).head), .check = (__check) }#else
#defineRCU_LIST_HEAD_INIT_CHECK(__list,__check){.head = LIST_HEAD_INIT((__head).head) } #endif#define
RCU_LIST_HEAD_INIT(head)RCU_LIST_HEAD_INIT_CHECK(head,&rcu_read_lock_held)#defineRCU_LIST_HEAD_INIT_BH(head)RCU_LIST_HEAD_INIT_CHECK(head,&rcu_read_lock_bh_held)#define
list_entry_rcu_check(ptr, type, member, check)\
container_of(rcu_dereference_check((void __rcu __force *)(ptr), check), type, member)#define list_for_each_entry_rcu(pos, __head, member) \ for (pos = list_entry_rcu_check((__head)->head.next, typeof(*pos), \ member, (__head)->check); \ prefetch(pos->member.next), &pos->member != (head); \ pos = list_entry_rcu_check(pos->member.next, typeof(*pos), \ member, (__head)->check)))Quoted 2 lines
That would let us check all the heads for correct usage, and at the same time avoid having to annotate all the list entries.
Cool!!!
The nice thing about this is that we don't end up with the API explosion for the RCU list primitives. However, it does require that a given
rcu_list_headhave a single synchronization-design rule for all uses. Of course, if there were multiple rules, one could construct a check that was simply the union of all the rules, but that would miss some types of errors.
Quoted 5 lines
Of course, if this became a problem, there could be an argument to the ->check function that the normal
list_for_each_entry_rcu()defaults to "no effect".Or is there a better way to handle this?
One approach would be to use your original sparse-based approach, but use an rcu_deference_const(ptr,lockdep_condition) for cases when the value cannot change, for example, when the update-side lock is held. This should eliminate most of the false positives, in particular, eliminate the need for otherwise-useless rcu_read_lock()s -- and also for the compiler constraints in the normal rcu_dereference().
Your pointer-to-function idea could be a really cool way to handle the tree algorithms that can be protected either by RCU or by locking. The tree nodes could have the pointer to check function, and the current rcu_dereference_raw() calls could be replaced by an invocation of rcu_dereference_check() that calls the check function. A check function for an RCU-protected tree would use "rcu_read_lock_held() || lockdep_is_held(&update_side_lock)", while a lock-protected tree would just use "lockdep_is_held(&update_side_lock)".
Thoughts?
Thanx, Paul
Re: [PATCH 07/10] module: __rcu annotations
Quoted 7 lines · Paul E. McKenney
Quoted 7 lines
The nice thing about this is that we don't end up with the API explosion for the RCU list primitives. However, it does require that a given
rcu_list_headhave a single synchronization-design rule for all uses. Of course, if there were multiple rules, one could construct a check that was simply the union of all the rules, but that would miss some types of errors.
What would it miss? E.g. having the module code check for (mutex_is_locked(&module_lock) || rcu_read_lock_held) should cover all cases as far as I can tell.
Quoted 3 lines
Quoted 3 lines
Of course, if this became a problem, there could be an argument to the ->check function that the normal
list_for_each_entry_rcu()defaults to "no effect".
I've also been thinking about adding a list_for_each_entry_norcu() macro that takes an rcu_list_head but then just performs a simple list_for_each_entry().
Quoted 8 lines
Quoted 1 line
Or is there a better way to handle this?
One approach would be to use your original sparse-based approach, but use an
rcu_deference_const(ptr,lockdep_condition)for cases when the value cannot change, for example, when the update-side lock is held. This should eliminate most of the false positives, in particular, eliminate the need for otherwise-useless rcu_read_lock()s -- and also for the compiler constraints in the normalrcu_dereference().
Right.
Quoted 8 lines
Your pointer-to-function idea could be a really cool way to handle the tree algorithms that can be protected either by RCU or by locking. The tree nodes could have the pointer to check function, and the current
rcu_dereference_raw()calls could be replaced by an invocation ofrcu_dereference_check()that calls the check function. A check function for an RCU-protected tree would use "rcu_read_lock_held()||lockdep_is_held(&update_side_lock)", while a lock-protected tree would just use "lockdep_is_held(&update_side_lock)".
I've postponed that problem for now, and updated my series to split the rculist annotations from the basic __rcu pointer annotations, as well as to apply on top of your patches in tip/core/rcu, see http://git.kernel.org/?p=linux/kernel/git/arnd/playground.git;\
a=shortlog;h=refs/heads/rcu-annotate-tip.
Should we merge the simple annotations in this merge window and then think about rculist and trees separately?
Arnd
Re: [PATCH 07/10] module: __rcu annotations
Quoted 9 lines · Arnd Bergmann
Quoted 7 lines · Paul E. McKenney
Quoted 7 lines
The nice thing about this is that we don't end up with the API explosion for the RCU list primitives. However, it does require that a given
rcu_list_headhave a single synchronization-design rule for all uses. Of course, if there were multiple rules, one could construct a check that was simply the union of all the rules, but that would miss some types of errors.
Quoted 3 lines
What would it miss? E.g. having the module code check for (
mutex_is_locked(&module_lock)||rcu_read_lock_held) should cover all cases as far as I can tell.
My concern is single data structures used in different parts of the code with different update-side locks, perhaps also different flavors of RCU. Some of the tree data structures in the Linux kernel can be protected by either locking or RCU, for example.
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Of course, if this became a problem, there could be an argument to the ->check function that the normal
list_for_each_entry_rcu()defaults to "no effect".I've also been thinking about adding a
list_for_each_entry_norcu()macro that takes anrcu_list_headbut then just performs a simplelist_for_each_entry().
We might need to do something like this, but if we do, we need to minimize the need to use it.
Quoted 20 lines
Quoted 8 lines
Quoted 1 line
Or is there a better way to handle this?
One approach would be to use your original sparse-based approach, but use an
rcu_deference_const(ptr,lockdep_condition)for cases when the value cannot change, for example, when the update-side lock is held. This should eliminate most of the false positives, in particular, eliminate the need for otherwise-useless rcu_read_lock()s -- and also for the compiler constraints in the normalrcu_dereference().Right.
Quoted 8 lines
Your pointer-to-function idea could be a really cool way to handle the tree algorithms that can be protected either by RCU or by locking. The tree nodes could have the pointer to check function, and the current
rcu_dereference_raw()calls could be replaced by an invocation ofrcu_dereference_check()that calls the check function. A check function for an RCU-protected tree would use "rcu_read_lock_held()||lockdep_is_held(&update_side_lock)", while a lock-protected tree would just use "lockdep_is_held(&update_side_lock)".
Quoted 8 lines
I've postponed that problem for now, and updated my series to split the rculist annotations from the basic
__rcupointer annotations, as well as to apply on top of your patches in tip/core/rcu, see http://git.kernel.org/?p=linux/kernel/git/arnd/playground.git;\
a=shortlog;h=refs/heads/rcu-annotate-tip.Should we merge the simple annotations in this merge window and then think about rculist and trees separately?
I haven't given up on the possibility of getting the whole thing into this merge window, but if that is not possible, it would be good to start on the annotations. Of course, the annotations would need to be done so that they don't rain false positives on people who are not actively looking to see them.
Thanx, Paul
Re: [PATCH 07/10] module: __rcu annotations
Quoted 1 line · Paul E. McKenney
On Thu, Feb 25, 2010 at 07:10:34PM +0100, Arnd Bergmann wrote:
[ . . . ]
Quoted 5 lines
Quoted 5 lines
I've postponed that problem for now, and updated my series to split the rculist annotations from the basic
__rcupointer annotations, as well as to apply on top of your patches in tip/core/rcu, see http://git.kernel.org/?p=linux/kernel/git/arnd/playground.git;\
a=shortlog;h=refs/heads/rcu-annotate-tip.
At first glance, this looks reasonably sane. I have looked up through the "scheduler: __rcu annotations" commit.
Some comments:
o The name rcu_dereference_const() makes more sense to me than
does __rcu_dereference(), as it documents when you can safely use it -- when something is preventing the RCU-protected pointer in question from changing.
o Uses of __rcu_dereference() in your playground.git that are
safe because some lock is held should be changed to rcu_dereference_check(), mentioning that lock. Ditto zero reference counts.
For example, in your first change to put_ctx() in kernel/perf_event.c, the:
put_ctx(__rcu_dereference(ctx->parent_ctx));
should instead be:
put_ctx(rcu_dereference_check(ctx->parent_ctx,
ctx->refcount == 0));
This does take a bit more space, but very clearly documents the synchronization design and enables the combination of sparse and lockdep to enforce it. And yes, this example has the "if" right above the use, but many other cases are not so easy to see so quickly. And a future change might well rearrange the code so that the "if" is a long ways away from the dereference.
o Whatever we choose for the name of what is __rcu_dereference()
in your tree, uses should be commented, just as things like smp_mb() are commented. For example:
q = __rcu_dereference(p->next); /* Initialization. */
to indicate that the structure is still being initialized so that no other CPU or task has access to it.
Again, looks promising!
Thanx, Paul
Quoted 10 lines
Quoted 2 lines
Should we merge the simple annotations in this merge window and then think about rculist and trees separately?
I haven't given up on the possibility of getting the whole thing into this merge window, but if that is not possible, it would be good to start on the annotations. Of course, the annotations would need to be done so that they don't rain false positives on people who are not actively looking to see them.
Thanx, Paul
PATCH 8/10 pid: __rcu annotations
In reply to Arnd BergmannThis demonstrates static initialization of __rcu annotated variables using RCU_INIT_POINTER.
--- include/linux/init_task.h | 6 +++--- include/linux/pid.h | 9 +++++---- kernel/pid.c | 8 ++++---- 3 files changed, 12 insertions(+), 11 deletions(-)
include/linux/init_task.h +3 -3
@@ -53,9 +53,9 @@ extern struct group_info init_groups;#define INIT_STRUCT_PID { \ .count = ATOMIC_INIT(1), \ .tasks = { \ - { .first = &init_task.pids[PIDTYPE_PID].node }, \ - { .first = &init_task.pids[PIDTYPE_PGID].node }, \ - { .first = &init_task.pids[PIDTYPE_SID].node }, \ + { RCU_INIT_POINTER(.first, &init_task.pids[PIDTYPE_PID].node) }, \ + { RCU_INIT_POINTER(.first, &init_task.pids[PIDTYPE_PGID].node) }, \ + { RCU_INIT_POINTER(.first, &init_task.pids[PIDTYPE_SID].node) }, \ }, \ .rcu = RCU_HEAD_INIT, \ .level = 0, \
include/linux/pid.h +5 -4
@@ -2,6 +2,7 @@#define _LINUX_PID_H#include <linux/rcupdate.h> +#include <linux/rculist.h> enum pid_type {
@@ -51,7 +52,7 @@ struct upid {/* Try to keep pid_chain in the same cacheline as nr for find_vpid */ int nr;struct pid_namespace *ns; -struct hlist_node pid_chain; +struct rcu_hlist_node pid_chain; };struct pid
@@ -59,7 +60,7 @@ struct pidatomic_t count;unsigned int level;/* lists of tasks that use this pid */ -struct hlist_head tasks[PIDTYPE_MAX ]; +struct rcu_hlist_head tasks[PIDTYPE_MAX ];struct rcu_head rcu;struct upid numbers[1 ]; };
@@ -68,7 +69,7 @@ extern struct pid init_struct_pid;struct pid_link { -struct hlist_node node; +struct rcu_hlist_node node;struct pid *pid; };
@@ -164,7 +165,7 @@ pid_t pid_vnr(struct pid *pid);#define do_each_pid_task (pid, type, task) \ do { \ - struct hlist_node *pos___; \ + struct rcu_hlist_node *pos___; \ if ((pid) != NULL) \ hlist_for_each_entry_rcu((task), pos___, \ &(pid)->tasks[type], pids[type].node) {
kernel/pid.c +4 -4
@@ -39,7 +39,7 @@#define pid_hashfn (nr, ns) \ hash_long((unsigned long)nr + (unsigned long)ns, pidhash_shift) -static struct hlist_head *pid_hash; +static struct rcu_hlist_head *pid_hash;static unsigned int pidhash_shift =4 ;struct pid init_struct_pid =INIT_STRUCT_PID ;
@@ -290,7 +290,7 @@ out_free:struct pid *find_pid_ns (int nr,struct pid_namespace *ns) { -struct hlist_node *elem; +struct rcu_hlist_node *elem;struct upid *pnr; hlist_for_each_entry_rcu(pnr, elem,
@@ -336,7 +336,7 @@ static void __change_pid(struct task_struct *task, enum pid_type type, link->pid = new;for (tmp =PIDTYPE_MAX ; --tmp >=0 ; ) -if (!hlist_empty (&pid->tasks[tmp])) +if (!hlist_empty_rcu (&pid->tasks[tmp]))return ;free_pid (pid);
@@ -366,7 +366,7 @@ struct task_struct *pid_task(struct pid *pid, enum pid_type type) {struct task_struct *result =NULL ;if (pid) { -struct hlist_node *first; +struct rcu_hlist_node *first; first =rcu_dereference (pid->tasks[type].first);if (first) result = hlist_entry(first, struct task_struct, pids[(type)].node);
Signature · 1 line
1.6.3.3
PATCH 9/10 notifiers: __rcu annotations
In reply to Arnd Bergmann--- include/linux/notifier.h | 10 +++++----- kernel/notifier.c | 22 +++++++++++----------- 2 files changed, 16 insertions(+), 16 deletions(-)
include/linux/notifier.h +5 -5
@@ -49,28 +49,28 @@struct notifier_block {int (*notifier_call)(struct notifier_block *,unsigned long ,void *); -struct notifier_block *next; +struct notifier_block __rcu *next;int priority; };struct atomic_notifier_head {spinlock_t lock; -struct notifier_block *head; +struct notifier_block __rcu *head; };struct blocking_notifier_head {struct rw_semaphore rwsem; -struct notifier_block *head; +struct notifier_block __rcu *head; };struct raw_notifier_head { -struct notifier_block *head; +struct notifier_block __rcu *head; };struct srcu_notifier_head {struct mutex mutex;struct srcu_struct srcu; -struct notifier_block *head; +struct notifier_block __rcu *head; };#define ATOMIC_INIT_NOTIFIER_HEAD (name) do { \
kernel/notifier.c +11 -11
@@ -18,43 +18,43 @@ BLOCKING_NOTIFIER_HEAD(reboot_notifier_list);* are layered on top of these, with appropriate locking added. */ -static int notifier_chain_register (struct notifier_block **nl, +static int notifier_chain_register (struct notifier_block __rcu **nl,struct notifier_block *n) {while ((*nl) !=NULL ) { -if (n->priority > (*nl)->priority) +if (n->priority >__rcu_dereference (*nl)->priority)break ; - nl = &((*nl)->next); + nl =__rcu_dereference (&((*nl)->next)); } n->next = *nl;rcu_assign_pointer (*nl, n);return 0 ; } -static int notifier_chain_cond_register (struct notifier_block **nl, +static int notifier_chain_cond_register (struct notifier_block __rcu **nl,struct notifier_block *n) {while ((*nl) !=NULL ) { -if ((*nl) == n) +if (__rcu_dereference (*nl) == n)return 0 ; -if (n->priority > (*nl)->priority) +if (n->priority >__rcu_dereference (*nl)->priority)break ; - nl = &((*nl)->next); + nl =__rcu_dereference (&((*nl)->next)); } n->next = *nl;rcu_assign_pointer (*nl, n);return 0 ; } -static int notifier_chain_unregister (struct notifier_block **nl, +static int notifier_chain_unregister (struct notifier_block __rcu **nl,struct notifier_block *n) {while ((*nl) !=NULL ) { -if ((*nl) == n) { +if (__rcu_dereference (*nl) == n) {rcu_assign_pointer (*nl, n->next);return 0 ; } - nl = &((*nl)->next); + nl =__rcu_dereference (&((*nl)->next)); }return -ENOENT ; }
@@ -71,7 +71,7 @@ static int notifier_chain_unregister(struct notifier_block **nl,* @returns: notifier_call_chain returns the value returned by the * last notifier function called. */ -static int __kprobes notifier_call_chain (struct notifier_block **nl, +static int __kprobes notifier_call_chain (struct notifier_block __rcu **nl,unsigned long val,void *v,int nr_to_call,int *nr_calls) {
Signature · 1 line
1.6.3.3
PATCH 10/10 scheduler: __rcu annotations
In reply to Arnd Bergmann--- include/linux/fdtable.h | 2 +- include/linux/sched.h | 6 +++--- kernel/exit.c | 12 ++++++------ kernel/fork.c | 2 +- kernel/sched.c | 31 ++++++++++++++++--------------- 5 files changed, 27 insertions(+), 26 deletions(-)
include/linux/fdtable.h +1 -1
@@ -45,7 +45,7 @@ struct files_struct {* read mostly part */ atomic_t count; -struct fdtable *fdt; +struct fdtable __rcu *fdt;struct fdtable fdtab;/* * written part on a separate cache line in SMP
include/linux/sched.h +3 -3
@@ -1282,7 +1282,7 @@ struct task_struct {struct sched_info sched_info;#endif -struct list_head tasks; +struct rcu_list_head tasks;struct plist_node pushable_tasks;struct mm_struct *mm, *active_mm;
@@ -1340,7 +1340,7 @@ struct task_struct {/* PID/PID hash table linkage. */ struct pid_link pids[PIDTYPE_MAX ]; -struct list_head thread_group; +struct rcu_list_head thread_group;struct completion *vfork_done;/* for vfork() */ int __user *set_child_tid;/* CLONE_CHILD_SETTID */
@@ -2240,7 +2240,7 @@ static inline struct task_struct *next_thread(const struct task_struct *p)static inline int thread_group_empty (struct task_struct *p) { -return list_empty (&p->thread_group); +return list_empty_rcu (&p->thread_group); }#define delay_group_leader (p) \
kernel/exit.c +6 -6
@@ -85,7 +85,7 @@ static void __exit_signal(struct task_struct *tsk)BUG_ON (!sig);BUG_ON (!atomic_read (&sig->count)); - sighand =rcu_dereference (tsk->sighand); + sighand = tsk->sighand;spin_lock (&sighand->siglock);posix_cpu_timers_exit (tsk);
@@ -1180,18 +1180,18 @@ static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p)if (unlikely (wo->wo_flags &WNOWAIT )) {int exit_code = p->exit_code; -int why, status; +int why, __status;get_task_struct (p);read_unlock (&tasklist_lock);if ((exit_code &0x7f ) ==0 ) { why =CLD_EXITED ; - status = exit_code >>8 ; + __status = exit_code >>8 ; }else { why = (exit_code &0x80 ) ?CLD_DUMPED :CLD_KILLED ; - status = exit_code &0x7f ; + __status = exit_code &0x7f ; } -return wait_noreap_copyout (wo, p, pid, uid, why, status); +return wait_noreap_copyout (wo, p, pid, uid, why, __status); }/*
@@ -1616,7 +1616,7 @@ repeat:*/ wo->notask_error = -ECHILD ;if ((wo->wo_type <PIDTYPE_MAX ) && - (!wo->wo_pid ||hlist_empty (&wo->wo_pid->tasks[wo->wo_type]))) + (!wo->wo_pid ||hlist_empty_rcu (&wo->wo_pid->tasks[wo->wo_type]))) goto notask;set_current_state (TASK_INTERRUPTIBLE );
kernel/fork.c +1 -1
@@ -1230,7 +1230,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,* We dont wake it up yet. */ p->group_leader = p; -INIT_LIST_HEAD (&p->thread_group); +INIT_LIST_HEAD_RCU (&p->thread_group);/* Now that the task is set up, run cgroup callbacks if * necessary. We need to run them before the task is visible
kernel/sched.c +16 -15
@@ -52,6 +52,7 @@#include <linux/threads.h> #include <linux/timer.h> #include <linux/rcupdate.h> +#include <linux/rculist.h> #include <linux/cpu.h> #include <linux/cpuset.h> #include <linux/percpu.h>
@@ -239,7 +240,7 @@ static DEFINE_MUTEX(sched_domains_mutex);struct cfs_rq ; -static LIST_HEAD (task_groups); +static LIST_HEAD_RCU (task_groups);/* task group related information */ struct task_group {
@@ -267,11 +268,11 @@ struct task_group {#endif struct rcu_head rcu; -struct list_head list; +struct rcu_list_head list;struct task_group *parent; -struct list_head siblings; -struct list_head children; +struct rcu_list_head siblings; +struct rcu_list_head children; };#ifdef CONFIG_USER_SCHED
@@ -418,7 +419,7 @@ struct cfs_rq {* leaf_cfs_rq_list ties together list of leaf cfs_rq's in a cpu. This * list is used during load balance. */ -struct list_head leaf_cfs_rq_list; +struct rcu_list_head leaf_cfs_rq_list;struct task_group *tg;/* group that "owns" this runqueue */ #ifdef CONFIG_SMP
@@ -476,7 +477,7 @@ struct rt_rq {unsigned long rt_nr_boosted;struct rq *rq; -struct list_head leaf_rt_rq_list; +struct rcu_list_head leaf_rt_rq_list;struct task_group *tg;struct sched_rt_entity *rt_se;#endif
@@ -547,10 +548,10 @@ struct rq {#ifdef CONFIG_FAIR_GROUP_SCHED /* list of leaf cfs_rq on this cpu: */ -struct list_head leaf_cfs_rq_list; +struct rcu_list_head leaf_cfs_rq_list;#endif #ifdef CONFIG_RT_GROUP_SCHED -struct list_head leaf_rt_rq_list; +struct rcu_list_head leaf_rt_rq_list;#endif /*
@@ -9423,7 +9424,7 @@ static void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,init_cfs_rq (cfs_rq, rq); cfs_rq->tg = tg;if (add) -list_add (&cfs_rq->leaf_cfs_rq_list, &rq->leaf_cfs_rq_list); +list_add_rcu (&cfs_rq->leaf_cfs_rq_list, &rq->leaf_cfs_rq_list); tg->se[cpu] = se;/* se could be NULL for init_task_group */
@@ -9455,7 +9456,7 @@ static void init_tg_rt_entry(struct task_group *tg, struct rt_rq *rt_rq, rt_rq->rt_se = rt_se; rt_rq->rt_runtime = tg->rt_bandwidth.rt_runtime;if (add) -list_add (&rt_rq->leaf_rt_rq_list, &rq->leaf_rt_rq_list); +list_add_rcu (&rt_rq->leaf_rt_rq_list, &rq->leaf_rt_rq_list); tg->rt_se[cpu] = rt_se;if (!rt_se)
@@ -9547,8 +9548,8 @@ void __init sched_init(void)#endif /* CONFIG_RT_GROUP_SCHED */ #ifdef CONFIG_GROUP_SCHED -list_add (&init_task_group.list, &task_groups); -INIT_LIST_HEAD (&init_task_group.children); +list_add_rcu (&init_task_group.list, &task_groups); +INIT_LIST_HEAD_RCU (&init_task_group.children);#ifdef CONFIG_USER_SCHED INIT_LIST_HEAD (&root_task_group.children);
@@ -9573,7 +9574,7 @@ void __init sched_init(void)init_rt_rq (&rq->rt, rq);#ifdef CONFIG_FAIR_GROUP_SCHED init_task_group.shares = init_task_group_load; -INIT_LIST_HEAD (&rq->leaf_cfs_rq_list); +INIT_LIST_HEAD_RCU (&rq->leaf_cfs_rq_list);#ifdef CONFIG_CGROUP_SCHED /* * How much cpu bandwidth does init_task_group get?
@@ -9619,7 +9620,7 @@ void __init sched_init(void) rq->rt.rt_runtime = def_rt_bandwidth.rt_runtime;#ifdef CONFIG_RT_GROUP_SCHED -INIT_LIST_HEAD (&rq->leaf_rt_rq_list); +INIT_LIST_HEAD_RCU (&rq->leaf_rt_rq_list);#ifdef CONFIG_CGROUP_SCHED init_tg_rt_entry (&init_task_group, &rq->rt,NULL , i,1 ,NULL );#elif definedCONFIG_USER_SCHED
@@ -10058,7 +10059,7 @@ struct task_group *sched_create_group(struct task_group *parent)WARN_ON (!parent);/* root should already exist */ tg->parent = parent; -INIT_LIST_HEAD (&tg->children); +INIT_LIST_HEAD_RCU (&tg->children);list_add_rcu (&tg->siblings, &parent->children);spin_unlock_irqrestore (&task_group_lock, flags);
Signature · 1 line
1.6.3.3
Re: [PATCH 00/10] __rcu annotations, first draft
In reply to Arnd BergmannQuoted 25 lines · Arnd Bergmann
Quoted 6 lines · Paul E. McKenney
Quoted 6 lines
I've just started an experimental implementation and got stuck at list rcu. The two to deal with it that I can see are
- ignore list-rcu for now, and make allinclude/linux/rculist.h__forcethe problem to be ignored.
- introduce a new structrcu_list_headthat needs to be used for list rcu.Quoted 8 lines
Quoted 3 lines
A nicer option might be if sparse would let you write 'struct
list_head__rcuhead' and interpret that as having the pointers inside it annotated as__rcu.Only the "next" pointer, not the "prev" pointer, but yes.
Perhaps it would be best to see if the sparse guys are willing to take this on?
I've implemented the second option now, and this seems to work alright. In order to test this out, I've annotated all rcu users in the kernel directory. One observation is that many members of
task_structare using RCU inconsistently. I'm not sure whether these should be considered bugs or false positives though. If we get a lot of false positives or people are generally unhappy about the annotations, they are not worth it, but if we find a few actual bugs, I guess it would be good to have this.
Quoted 7 lines
Examples of pointers that I did not annotate because most of the places accessing them do not use RCU are
task->sighand,task->nsproxy, andtask->real_parent.Sorry for hijacking the discussion on your patch, but I assume that the same people interested in the lockdep diagnostics are also interested in the static annotations for RCU.
No need to apologize, this is an interesting option!
Thanx, Paul
Quoted 43 lines
Arnd
Arnd Bergmann (10):
rcu: define__rcuaddress space modifier for sparse
rcu: annotated list rcu code
cgroups:__rcuannotations
credentials: rcu annotation
perf_event:__rcuannotations
audit:__rcuannotations
module:__rcuannotations
pid:__rcuannotations
notifiers:__rcuannotations
scheduler:__rcuannotationsinclude/linux/cgroup.h | 6 +- include/linux/compiler.h | 2 + include/linux/cred.h | 4 +- include/linux/fdtable.h | 2 +- include/linux/init_task.h | 6 +- include/linux/module.h | 4 +- include/linux/notifier.h | 10 ++-- include/linux/perf_event.h | 10 ++-- include/linux/pid.h | 9 ++- include/linux/rculist.h | 152 ++++++++++++++++++++++++++++++++------------ include/linux/rcupdate.h | 46 ++++++++++++-- include/linux/sched.h | 14 ++-- kernel/audit.c | 4 +- kernel/audit.h | 6 +- kernel/audit_tree.c | 14 ++-- kernel/auditfilter.c | 28 ++++---- kernel/auditsc.c | 8 +- kernel/cgroup.c | 63 ++++++++++--------- kernel/cpuset.c | 2 +- kernel/cred.c | 50 ++++++++------- kernel/exit.c | 12 ++-- kernel/fork.c | 6 +- kernel/module.c | 20 ++++-- kernel/notifier.c | 12 ++-- kernel/perf_event.c | 52 ++++++++-------- kernel/pid.c | 8 +- kernel/sched.c | 31 +++++---- 27 files changed, 352 insertions(+), 229 deletions(-)
Re: [PATCH 00/10] __rcu annotations, first draft
In reply to Arnd BergmannQuoted 67 lines · Arnd Bergmann
Quoted 6 lines · Paul E. McKenney
Quoted 6 lines
I've just started an experimental implementation and got stuck at list rcu. The two to deal with it that I can see are
- ignore list-rcu for now, and make allinclude/linux/rculist.h__forcethe problem to be ignored.
- introduce a new structrcu_list_headthat needs to be used for list rcu.Quoted 8 lines
Quoted 3 lines
A nicer option might be if sparse would let you write 'struct
list_head__rcuhead' and interpret that as having the pointers inside it annotated as__rcu.Only the "next" pointer, not the "prev" pointer, but yes.
Perhaps it would be best to see if the sparse guys are willing to take this on?
I've implemented the second option now, and this seems to work alright. In order to test this out, I've annotated all rcu users in the kernel directory. One observation is that many members of
task_structare using RCU inconsistently. I'm not sure whether these should be considered bugs or false positives though. If we get a lot of false positives or people are generally unhappy about the annotations, they are not worth it, but if we find a few actual bugs, I guess it would be good to have this.Examples of pointers that I did not annotate because most of the places accessing them do not use RCU are
task->sighand,task->nsproxy, andtask->real_parent.Sorry for hijacking the discussion on your patch, but I assume that the same people interested in the lockdep diagnostics are also interested in the static annotations for RCU.
Arnd
Arnd Bergmann (10):
rcu: define__rcuaddress space modifier for sparse
rcu: annotated list rcu code
cgroups:__rcuannotations
credentials: rcu annotation
perf_event:__rcuannotations
audit:__rcuannotations
module:__rcuannotations
pid:__rcuannotations
notifiers:__rcuannotations
scheduler:__rcuannotationsinclude/linux/cgroup.h | 6 +- include/linux/compiler.h | 2 + include/linux/cred.h | 4 +- include/linux/fdtable.h | 2 +- include/linux/init_task.h | 6 +- include/linux/module.h | 4 +- include/linux/notifier.h | 10 ++-- include/linux/perf_event.h | 10 ++-- include/linux/pid.h | 9 ++- include/linux/rculist.h | 152 ++++++++++++++++++++++++++++++++------------ include/linux/rcupdate.h | 46 ++++++++++++-- include/linux/sched.h | 14 ++-- kernel/audit.c | 4 +- kernel/audit.h | 6 +- kernel/audit_tree.c | 14 ++-- kernel/auditfilter.c | 28 ++++---- kernel/auditsc.c | 8 +- kernel/cgroup.c | 63 ++++++++++--------- kernel/cpuset.c | 2 +- kernel/cred.c | 50 ++++++++-------
Quoted 8 lines
kernel/exit.c | 12 ++-- kernel/fork.c | 6 +- kernel/module.c | 20 ++++-- kernel/notifier.c | 12 ++-- kernel/perf_event.c | 52 ++++++++-------- kernel/pid.c | 8 +- kernel/sched.c | 31 +++++---- 27 files changed, 352 insertions(+), 229 deletions(-)
This looks very clean IMO.
By far the biggest remaining design aspects of RCU is that it's somewhat on the opaque side of APIs: it's not immediately obvious when a data structure (and subsequently, code using that date structure) is affected by RCU semantics.
This is good in terms of API utility: you _can_ use it with very little resistence on the way - you can combine RCU and non-RCU code with few syntactic constraints imposed.
That kind of flexibility inevitably has its downsides: with a quick guess i'd say more than half of the non-trivial RCU related usage bugs in various subsystem stemmed out of using non-RCU facilities on RCU data structures.
So the annotation both 'look' clean [which alone is a plus as people write new code] and they also might result in bugfixes ...
Ingo
Quoted 10 lines · Arnd Bergmann
Quoted 2 lines · Paul E. McKenney
This patch series adds lockdep-based checking to the
rcu_dereference()primitive in order to flag misuses of RCU.While I haven't looked much at this series, I've been thinking about adding static diagnostics for
rcu_dereferencemisuse, in the form of an__rcuaddress space qualifier for pointers. Such a patch would obviously conflict with this series, so I'd wait for yours to go in first, but maybe you like the idea enough to do it yourself ;-).
Quoted 5 lines
The observation is that all accesses to an RCU protected pointer are either through
rcu_dereference,rcu_assign_pointeror one of their variants. so it should be possible to add a new address space like we have for__iomem,__userand soon__percpuand have sparse check that we use RCU consistently on pointers that need it.
That is orthogonal to the current series, but sounds like a very good idea, give or take how to handle initialization accesses and the like.
Your approach would verify that a given RCU-protected pointer is consistently handled by rcu_dereference() and presumably also rcu_assign_pointer(). This patch series instead verifies that a given rcu_dereference() is protected by the proper flavor of RCU or the correct lock or whatever else.
Thanx, Paul
Ingo Molnar
AppliedQuoted 18 lines · Paul E. McKenney
Hello!
This patch series adds lockdep-based checking to the
rcu_dereference()primitive in order to flag misuses of RCU. The first four patches put the RCU infrastructure in place, the next eight use this infrastructure in the net, sched, vfs, radix-tree, idr, and security subsystems, and patch 13 documents how to use the new lockdep-checkedrcu_dereference()primitives. The remaining eight patches are other changes that also need to be applied, including some relatively urgentRCU_STALLpatches.The new (and default-disabled)
CONFIG_PROVE_RCUmakes this safe to include in tip/core/rcu -- unlike v2 and earlier, your system won't complain about RCU misuse unless you ask it to. There are still several situations that trigger on systems I have access to (and I have email out on a couple of them), some of the remaining will be triggered only by hardware I don't have access to and kernel features I am unfamiliar with. So this is ready for much wider testing.
Quoted 1 line
Changes since v5 (http://lkml.org/lkml/2010/2/17/271)
I've applied them to tip:core/rcu, Thanks Paul!
Here's a first bugreport, we've got a cgroups hit in task_subsys_state(), during bootup:
==============================================
[ BUG: Unsafe rcu_dereference_check() usage! ]
----------------------------------------------include/linux/cgroup.h:492 invoked rcu_dereference_check() without protection!
other info that might help us debug this:
1 lock held by swapper/0:
#0: (&rq->lock){......}, at: [<ffffffff818b2c20>] init_idle+0x30/0xca
stack backtrace: Pid: 0, comm: swapper Not tainted 2.6.33-tip-00720-g4cc116f-dirty #10310 Call Trace: [<ffffffff81072248>] lockdep_rcu_dereference+0x8c/0x95 [<ffffffff8103735c>] task_subsys_state+0x3d/0x55 [<ffffffff810376f2>] set_task_rq+0x1c/0x4f [<ffffffff818b2c73>] init_idle+0x83/0xca [<ffffffff835cd42a>] sched_init+0x4d1/0x54b [<ffffffff835bac07>] start_kernel+0x1c2/0x42b [<ffffffff835ba2bc>] x86_64_start_reservations+0xa7/0xab [<ffffffff835ba3b8>] x86_64_start_kernel+0xf8/0x107
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is enabled.
NR_IRQS:4352
Console: colour VGA+ 80x25
Config attached. I havent had the time to look into it yet, just wanted to report it to you, but it looks like a false positive - this is so early during init that we cannot schedule and the rq lock is held anyway. (in a raw manner)
Ingo
#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.33
# Thu Feb 25 12:49:03 2010
#CONFIG_64BIT=y
# CONFIG_X86_32 is not setCONFIG_X86_64=yCONFIG_X86=yCONFIG_OUTPUT_FORMAT="elf64-x86-64" CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" CONFIG_GENERIC_TIME=yCONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=yCONFIG_MMU=yCONFIG_ZONE_DMA=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_HWEIGHT=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_ARCH_HAS_CPU_RELAX=y CONFIG_ARCH_HAS_DEFAULT_IDLE=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y CONFIG_HAVE_CPUMASK_OF_CPU_MAP=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=yCONFIG_ZONE_DMA32=y CONFIG_ARCH_POPULATES_NODE_MAP=y CONFIG_AUDIT_ARCH=y CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_HAVE_EARLY_RES=yCONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_PENDING_IRQ=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_X86_64_SMP=yCONFIG_X86_HT=yCONFIG_X86_TRAMPOLINE=y
# CONFIG_KTIME_SCALAR is not set CONFIG_BOOTPARAM_SUPPORT_NOT_WANTED=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_CONSTRUCTORS=y
#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_BROKEN_BOOT_ALLOWED4=yCONFIG_BROKEN_BOOT_ALLOWED3=yCONFIG_BROKEN_BOOT_ALLOWED2=yCONFIG_BROKEN_BOOT_DISALLOWED=y
# CONFIG_BROKEN_BOOT_EUROPE is not set
# CONFIG_BROKEN_BOOT_TITAN is not setCONFIG_LOCK_KERNEL=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=yCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_LZO=y
# CONFIG_KERNEL_GZIP is not setCONFIG_KERNEL_BZIP2=y
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_LZO is not setCONFIG_SWAP=y
# CONFIG_SYSVIPC is not set
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
#
# RCU Subsystem
#CONFIG_TREE_RCU=y
# CONFIG_TREE_PREEMPT_RCU is not set
# CONFIG_TINY_RCU is not setCONFIG_RCU_TRACE=yCONFIG_RCU_FANOUT=64
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_RCU_FAST_NO_HZ is not setCONFIG_TREE_RCU_TRACE=yCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yCONFIG_LOG_BUF_SHIFT=20CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=yCONFIG_CGROUPS=yCONFIG_CGROUP_DEBUG=y
# CONFIG_CGROUP_NS is not setCONFIG_CGROUP_FREEZER=yCONFIG_CGROUP_DEVICE=yCONFIG_CPUSETS=yCONFIG_PROC_PID_CPUSET=yCONFIG_CGROUP_CPUACCT=yCONFIG_RESOURCE_COUNTERS=yCONFIG_CGROUP_MEM_RES_CTLR=yCONFIG_CGROUP_MEM_RES_CTLR_SWAP=yCONFIG_CGROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=y
# CONFIG_RT_GROUP_SCHED is not setCONFIG_MM_OWNER=yCONFIG_SYSFS_DEPRECATED=y
# CONFIG_SYSFS_DEPRECATED_V2 is not setCONFIG_RELAY=yCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_USER_NS=yCONFIG_PID_NS=yCONFIG_NET_NS=yCONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""
# CONFIG_RD_GZIP is not setCONFIG_RD_BZIP2=y
# CONFIG_RD_LZMA is not setCONFIG_RD_LZO=yCONFIG_CC_OPTIMIZE_FOR_SIZE=yCONFIG_SYSCTL=yCONFIG_ANON_INODES=yCONFIG_EMBEDDED=yCONFIG_UID16=y
# CONFIG_SYSCTL_SYSCALL is not setCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=yCONFIG_KALLSYMS_EXTRA_PASS=yCONFIG_HOTPLUG=yCONFIG_PRINTK=y
# CONFIG_BUG is not set
# CONFIG_ELF_CORE is not setCONFIG_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=y
# CONFIG_EPOLL is not setCONFIG_SIGNALFD=yCONFIG_TIMERFD=y
# CONFIG_EVENTFD is not set
# CONFIG_SHMEM is not setCONFIG_AIO=yCONFIG_HAVE_PERF_EVENTS=yCONFIG_PERF_USE_VMALLOC=yCONFIG_PERF_EVENTS_NMI=y
#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=yCONFIG_PERF_COUNTERS=yCONFIG_DEBUG_PERF_USE_VMALLOC=yCONFIG_VM_EVENT_COUNTERS=y
# CONFIG_PCI_QUIRKS is not setCONFIG_SLUB_DEBUG=yCONFIG_COMPAT_BRK=y
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_SLOB is not setCONFIG_PROFILING=yCONFIG_TRACEPOINTS=yCONFIG_OPROFILE=m
# CONFIG_OPROFILE_IBS is not set
# CONFIG_OPROFILE_EVENT_MULTIPLEX is not setCONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not setCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_ATTRS=yCONFIG_HAVE_DMA_API_DEBUG=yCONFIG_HAVE_HW_BREAKPOINT=yCONFIG_HAVE_USER_RETURN_NOTIFIER=y
#
# GCOV-based kernel profiling
#CONFIG_SLOW_WORK=y
# CONFIG_SLOW_WORK_DEBUG is not set
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not setCONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULES=yCONFIG_MODULE_FORCE_LOAD=yCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=yCONFIG_MODVERSIONS=yCONFIG_MODULE_SRCVERSION_ALL=yCONFIG_STOP_MACHINE=yCONFIG_BLOCK=yCONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_INTEGRITY is not set
# CONFIG_BLK_CGROUP is not setCONFIG_BLOCK_COMPAT=y
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=m
# CONFIG_CFQ_GROUP_IOSCHED is not set CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="deadline"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set # CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set # CONFIG_INLINE_SPIN_UNLOCK is not set
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set # CONFIG_INLINE_READ_UNLOCK is not set
# CONFIG_INLINE_READ_UNLOCK_BH is not set # CONFIG_INLINE_READ_UNLOCK_IRQ is not set # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set # CONFIG_INLINE_WRITE_UNLOCK is not set
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set # CONFIG_MUTEX_SPIN_ON_OWNER is not set CONFIG_FREEZER=y
#
# Processor type and features
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=yCONFIG_GENERIC_CLOCKEVENTS_BUILD=y
# CONFIG_SMP_SUPPORT is not setCONFIG_X86_MPPARSE=yCONFIG_X86_EXTENDED_PLATFORM=yCONFIG_X86_VSMP=yCONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_SCHED_OMIT_FRAME_POINTER is not setCONFIG_PARAVIRT_GUEST=yCONFIG_XEN=yCONFIG_XEN_MAX_DOMAIN_MEMORY=32CONFIG_XEN_SAVE_RESTORE=yCONFIG_XEN_DEBUG_FS=y
# CONFIG_KVM_CLOCK is not setCONFIG_KVM_GUEST=yCONFIG_PARAVIRT=y
# CONFIG_PARAVIRT_SPINLOCKS is not setCONFIG_PARAVIRT_CLOCK=y
# CONFIG_PARAVIRT_DEBUG is not set
# CONFIG_NO_BOOTMEM is not setCONFIG_MEMTEST=y
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not setCONFIG_GENERIC_CPU=yCONFIG_X86_CPU=yCONFIG_X86_INTERNODE_CACHE_SHIFT=12CONFIG_X86_CMPXCHG=yCONFIG_X86_L1_CACHE_SHIFT=6CONFIG_X86_XADD=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_TSC=yCONFIG_X86_CMPXCHG64=yCONFIG_X86_CMOV=yCONFIG_X86_MINIMUM_CPU_FAMILY=64CONFIG_X86_DEBUGCTLMSR=yCONFIG_PROCESSOR_SELECT=yCONFIG_CPU_SUP_INTEL=y
# CONFIG_CPU_SUP_AMD is not setCONFIG_CPU_SUP_CENTAUR=y
# CONFIG_X86_DS is not setCONFIG_HPET_TIMER=yCONFIG_HPET_EMULATE_RTC=yCONFIG_DMI=y
# CONFIG_GART_IOMMU is not setCONFIG_CALGARY_IOMMU=yCONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
# CONFIG_AMD_IOMMU is not setCONFIG_SWIOTLB=yCONFIG_IOMMU_HELPER=y
# CONFIG_IOMMU_API is not setCONFIG_MAXSMP=yCONFIG_NR_CPUS=4096CONFIG_SCHED_SMT=y
# CONFIG_SCHED_MC is not set
# CONFIG_PREEMPT_NONE is not setCONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not setCONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=yCONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=yCONFIG_X86_MCE=y
# CONFIG_X86_MCE_INTEL is not setCONFIG_X86_MCE_AMD=yCONFIG_X86_MCE_THRESHOLD=yCONFIG_X86_MCE_INJECT=yCONFIG_I8K=y
# CONFIG_MICROCODE is not setCONFIG_X86_MSR=mCONFIG_X86_CPUID=y
# CONFIG_UP_WANTED_1 is not setCONFIG_SMP=yCONFIG_ARCH_PHYS_ADDR_T_64BIT=y
# CONFIG_DIRECT_GBPAGES is not setCONFIG_NUMA=yCONFIG_K8_NUMA=y
# CONFIG_X86_64_ACPI_NUMA is not set
# CONFIG_NUMA_EMU is not setCONFIG_NODES_SHIFT=9CONFIG_ARCH_SPARSEMEM_DEFAULT=yCONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SELECT_MEMORY_MODEL=yCONFIG_ARCH_MEMORY_PROBE=yCONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
# CONFIG_DISCONTIGMEM_MANUAL is not setCONFIG_SPARSEMEM_MANUAL=yCONFIG_SPARSEMEM=yCONFIG_NEED_MULTIPLE_NODES=yCONFIG_HAVE_MEMORY_PRESENT=yCONFIG_SPARSEMEM_EXTREME=yCONFIG_SPARSEMEM_VMEMMAP_ENABLE=yCONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y
# CONFIG_SPARSEMEM_VMEMMAP is not setCONFIG_MEMORY_HOTPLUG=yCONFIG_MEMORY_HOTPLUG_SPARSE=y
# CONFIG_MEMORY_HOTREMOVE is not setCONFIG_PAGEFLAGS_EXTENDED=yCONFIG_SPLIT_PTLOCK_CPUS=999999CONFIG_MIGRATION=yCONFIG_PHYS_ADDR_T_64BIT=yCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=yCONFIG_KSM=yCONFIG_DEFAULT_MMAP_MIN_ADDR=4096CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=yCONFIG_MEMORY_FAILURE=yCONFIG_HWPOISON_INJECT=yCONFIG_X86_CHECK_BIOS_CORRUPTION=yCONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=yCONFIG_X86_RESERVE_LOW_64K=y
# CONFIG_MTRR is not setCONFIG_EFI=y
# CONFIG_SECCOMP is not setCONFIG_CC_STACKPROTECTOR=y
# CONFIG_HZ_100 is not setCONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not setCONFIG_HZ=250CONFIG_SCHED_HRTICK=yCONFIG_KEXEC=y
# CONFIG_CRASH_DUMP is not setCONFIG_KEXEC_JUMP=yCONFIG_PHYSICAL_START=0x1000000
# CONFIG_RELOCATABLE is not setCONFIG_PHYSICAL_ALIGN=0x1000000CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not setCONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=yCONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=yCONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y
#
# Power management and ACPI options
#CONFIG_ARCH_HIBERNATION_HEADER=yCONFIG_PM=yCONFIG_PM_DEBUG=yCONFIG_PM_VERBOSE=yCONFIG_CAN_PM_TRACE=yCONFIG_PM_TRACE=yCONFIG_PM_TRACE_RTC=yCONFIG_PM_SLEEP_SMP=yCONFIG_PM_SLEEP=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=yCONFIG_HIBERNATION_NVS=yCONFIG_HIBERNATION=yCONFIG_PM_STD_PARTITION=""
# CONFIG_PM_RUNTIME is not setCONFIG_ACPI=yCONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set
# CONFIG_ACPI_PROCFS_POWER is not setCONFIG_ACPI_POWER_METER=mCONFIG_ACPI_SYSFS_POWER=y
# CONFIG_ACPI_PROC_EVENT is not setCONFIG_ACPI_AC=y
# CONFIG_ACPI_BATTERY is not set
# CONFIG_ACPI_BUTTON is not set
# CONFIG_ACPI_VIDEO is not set
# CONFIG_ACPI_FAN is not setCONFIG_ACPI_DOCK=yCONFIG_ACPI_PROCESSOR=mCONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not setCONFIG_ACPI_THERMAL=mCONFIG_ACPI_NUMA=y
# CONFIG_ACPI_CUSTOM_DSDT is not setCONFIG_ACPI_BLACKLIST_YEAR=0CONFIG_ACPI_DEBUG=yCONFIG_ACPI_DEBUG_FUNC_TRACE=yCONFIG_ACPI_PCI_SLOT=yCONFIG_X86_PM_TIMER=yCONFIG_ACPI_CONTAINER=mCONFIG_ACPI_HOTPLUG_MEMORY=y
# CONFIG_ACPI_SBS is not set
# CONFIG_SFI is not set
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=y CONFIG_CPU_FREQ_DEBUG=y
# CONFIG_CPU_FREQ_STAT is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=m CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
#
# CPUFreq processor drivers
#CONFIG_X86_ACPI_CPUFREQ=mCONFIG_X86_POWERNOW_K8=mCONFIG_X86_SPEEDSTEP_CENTRINO=mCONFIG_X86_P4_CLOCKMOD=m
#
# shared options # CONFIG_X86_SPEEDSTEP_LIB=m CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y
#
# Memory power savings
#CONFIG_I7300_IDLE_IOAT_CHANNEL=yCONFIG_I7300_IDLE=m
#
# Bus options (PCI etc.)
#CONFIG_PCI=yCONFIG_PCI_DIRECT=y
# CONFIG_PCI_MMCONFIG is not setCONFIG_PCI_DOMAINS=yCONFIG_PCIEPORTBUS=yCONFIG_HOTPLUG_PCI_PCIE=mCONFIG_PCIEAER=yCONFIG_PCIE_ECRC=yCONFIG_PCIEAER_INJECT=y
# CONFIG_PCIEASPM is not setCONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
# CONFIG_PCI_LEGACY is not setCONFIG_PCI_DEBUG=yCONFIG_PCI_STUB=y
# CONFIG_HT_IRQ is not set
# CONFIG_PCI_IOV is not setCONFIG_PCI_IOAPIC=yCONFIG_ISA_DMA_API=yCONFIG_K8_NB=yCONFIG_PCCARD=mCONFIG_PCMCIA=mCONFIG_PCMCIA_LOAD_CIS=yCONFIG_PCMCIA_IOCTL=yCONFIG_CARDBUS=y
#
# PC-card bridges
#
# CONFIG_YENTA is not setCONFIG_PD6729=mCONFIG_I82092=mCONFIG_PCCARD_NONSTATIC=mCONFIG_HOTPLUG_PCI=mCONFIG_HOTPLUG_PCI_FAKE=m
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_CPCI is not setCONFIG_HOTPLUG_PCI_SHPC=m
#
# Executable file formats / Emulations
#CONFIG_BINFMT_ELF=yCONFIG_COMPAT_BINFMT_ELF=y
# CONFIG_HAVE_AOUT is not setCONFIG_BINFMT_MISC=yCONFIG_IA32_EMULATION=yCONFIG_IA32_AOUT=mCONFIG_COMPAT=yCONFIG_COMPAT_FOR_U64_ALIGNMENT=yCONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_UNIX=yCONFIG_XFRM=y
# CONFIG_XFRM_USER is not set CONFIG_XFRM_SUB_POLICY=y CONFIG_XFRM_MIGRATE=y
# CONFIG_XFRM_STATISTICS is not set CONFIG_XFRM_IPCOMP=yCONFIG_NET_KEY=m
# CONFIG_NET_KEY_MIGRATE is not set CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set CONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_ASK_IP_FIB_HASH is not set CONFIG_IP_FIB_TRIE=y
# CONFIG_IP_FIB_HASH is not set CONFIG_IP_FIB_TRIE_STATS=y CONFIG_IP_MULTIPLE_TABLES=y CONFIG_IP_ROUTE_MULTIPATH=y
# CONFIG_IP_ROUTE_VERBOSE is not set CONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_IP_PNP_BOOTP=y
# CONFIG_IP_PNP_RARP is not set CONFIG_NET_IPIP=y
# CONFIG_NET_IPGRE is not setCONFIG_ARPD=yCONFIG_SYN_COOKIES=y
# CONFIG_INET_AH is not setCONFIG_INET_ESP=mCONFIG_INET_IPCOMP=y CONFIG_INET_XFRM_TUNNEL=y CONFIG_INET_TUNNEL=y CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_INET_XFRM_MODE_TUNNEL=m CONFIG_INET_XFRM_MODE_BEET=m CONFIG_INET_LRO=y
# CONFIG_INET_DIAG is not set CONFIG_TCP_CONG_ADVANCED=y
# CONFIG_TCP_CONG_BIC is not set CONFIG_TCP_CONG_CUBIC=m CONFIG_TCP_CONG_WESTWOOD=m CONFIG_TCP_CONG_HTCP=m CONFIG_TCP_CONG_HSTCP=y CONFIG_TCP_CONG_HYBLA=m CONFIG_TCP_CONG_VEGAS=m CONFIG_TCP_CONG_SCALABLE=m CONFIG_TCP_CONG_LP=m
# CONFIG_TCP_CONG_VENO is not set
# CONFIG_TCP_CONG_YEAH is not set CONFIG_TCP_CONG_ILLINOIS=m
# CONFIG_DEFAULT_BIC is not set
# CONFIG_DEFAULT_CUBIC is not set
# CONFIG_DEFAULT_HTCP is not set
# CONFIG_DEFAULT_VEGAS is not set
# CONFIG_DEFAULT_WESTWOOD is not set CONFIG_DEFAULT_RENO=y CONFIG_DEFAULT_TCP_CONG="reno" CONFIG_TCP_MD5SIG=yCONFIG_IPV6=yCONFIG_IPV6_PRIVACY=y CONFIG_IPV6_ROUTER_PREF=y CONFIG_IPV6_ROUTE_INFO=y CONFIG_IPV6_OPTIMISTIC_DAD=y CONFIG_INET6_AH=yCONFIG_INET6_ESP=yCONFIG_INET6_IPCOMP=mCONFIG_IPV6_MIP6=yCONFIG_INET6_XFRM_TUNNEL=m CONFIG_INET6_TUNNEL=m
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set CONFIG_INET6_XFRM_MODE_TUNNEL=y CONFIG_INET6_XFRM_MODE_BEET=m
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set # CONFIG_IPV6_SIT is not set
# CONFIG_IPV6_TUNNEL is not set CONFIG_IPV6_MULTIPLE_TABLES=y
# CONFIG_IPV6_SUBTREES is not set
# CONFIG_IPV6_MROUTE is not set CONFIG_NETLABEL=yCONFIG_NETWORK_SECMARK=yCONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set CONFIG_NETFILTER_ADVANCED=y CONFIG_BRIDGE_NETFILTER=y
#
# Core Netfilter Configuration
#CONFIG_NETFILTER_NETLINK=m
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
# CONFIG_NETFILTER_NETLINK_LOG is not set CONFIG_NF_CONNTRACK=yCONFIG_NF_CT_ACCT=yCONFIG_NF_CONNTRACK_MARK=y CONFIG_NF_CONNTRACK_SECMARK=y CONFIG_NF_CONNTRACK_EVENTS=y CONFIG_NF_CT_PROTO_DCCP=y CONFIG_NF_CT_PROTO_GRE=y CONFIG_NF_CT_PROTO_SCTP=y CONFIG_NF_CT_PROTO_UDPLITE=y
# CONFIG_NF_CONNTRACK_AMANDA is not set CONFIG_NF_CONNTRACK_FTP=y CONFIG_NF_CONNTRACK_H323=m CONFIG_NF_CONNTRACK_IRC=m CONFIG_NF_CONNTRACK_NETBIOS_NS=y CONFIG_NF_CONNTRACK_PPTP=y CONFIG_NF_CONNTRACK_SANE=y
# CONFIG_NF_CONNTRACK_SIP is not set
# CONFIG_NF_CONNTRACK_TFTP is not set CONFIG_NF_CT_NETLINK=m
# CONFIG_NETFILTER_TPROXY is not set CONFIG_NETFILTER_XTABLES=y
# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set CONFIG_NETFILTER_XT_TARGET_CONNMARK=y CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=y
# CONFIG_NETFILTER_XT_TARGET_DSCP is not set CONFIG_NETFILTER_XT_TARGET_HL=m CONFIG_NETFILTER_XT_TARGET_LED=y
# CONFIG_NETFILTER_XT_TARGET_MARK is not set
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set # CONFIG_NETFILTER_XT_TARGET_RATEEST is not set # CONFIG_NETFILTER_XT_TARGET_SECMARK is not set CONFIG_NETFILTER_XT_TARGET_TCPMSS=y CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=y CONFIG_NETFILTER_XT_MATCH_CLUSTER=y CONFIG_NETFILTER_XT_MATCH_COMMENT=m
# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set # CONFIG_NETFILTER_XT_MATCH_DCCP is not set CONFIG_NETFILTER_XT_MATCH_DSCP=m
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set # CONFIG_NETFILTER_XT_MATCH_HELPER is not set CONFIG_NETFILTER_XT_MATCH_HL=m CONFIG_NETFILTER_XT_MATCH_IPRANGE=y CONFIG_NETFILTER_XT_MATCH_LENGTH=m CONFIG_NETFILTER_XT_MATCH_LIMIT=y
# CONFIG_NETFILTER_XT_MATCH_MAC is not set CONFIG_NETFILTER_XT_MATCH_MARK=y CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m CONFIG_NETFILTER_XT_MATCH_OWNER=m
# CONFIG_NETFILTER_XT_MATCH_POLICY is not set CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m CONFIG_NETFILTER_XT_MATCH_PKTTYPE=y CONFIG_NETFILTER_XT_MATCH_QUOTA=y
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set CONFIG_NETFILTER_XT_MATCH_REALM=m CONFIG_NETFILTER_XT_MATCH_RECENT=y
# CONFIG_NETFILTER_XT_MATCH_RECENT_PROC_COMPAT is not set CONFIG_NETFILTER_XT_MATCH_SCTP=m CONFIG_NETFILTER_XT_MATCH_STATE=y
# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set CONFIG_NETFILTER_XT_MATCH_STRING=y
# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set CONFIG_NETFILTER_XT_MATCH_TIME=m
# CONFIG_NETFILTER_XT_MATCH_U32 is not set CONFIG_NETFILTER_XT_MATCH_OSF=mCONFIG_IP_VS=mCONFIG_IP_VS_IPV6=yCONFIG_IP_VS_DEBUG=yCONFIG_IP_VS_TAB_BITS=12
#
# IPVS transport protocol load balancing support
#CONFIG_IP_VS_PROTO_TCP=y
# CONFIG_IP_VS_PROTO_UDP is not set
# CONFIG_IP_VS_PROTO_ESP is not set
# CONFIG_IP_VS_PROTO_AH is not set
#
# IPVS scheduler
#CONFIG_IP_VS_RR=mCONFIG_IP_VS_WRR=m
# CONFIG_IP_VS_LC is not set
# CONFIG_IP_VS_WLC is not setCONFIG_IP_VS_LBLC=m
# CONFIG_IP_VS_LBLCR is not set
# CONFIG_IP_VS_DH is not set
# CONFIG_IP_VS_SH is not set
# CONFIG_IP_VS_SED is not set
# CONFIG_IP_VS_NQ is not set
#
# IPVS application helper
#CONFIG_IP_VS_FTP=m
#
# IP: Netfilter Configuration
#CONFIG_NF_DEFRAG_IPV4=mCONFIG_NF_CONNTRACK_IPV4=mCONFIG_NF_CONNTRACK_PROC_COMPAT=yCONFIG_IP_NF_QUEUE=yCONFIG_IP_NF_IPTABLES=yCONFIG_IP_NF_MATCH_ADDRTYPE=yCONFIG_IP_NF_MATCH_AH=m
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_TTL is not setCONFIG_IP_NF_FILTER=yCONFIG_IP_NF_TARGET_REJECT=m
# CONFIG_IP_NF_TARGET_LOG is not set
# CONFIG_IP_NF_TARGET_ULOG is not setCONFIG_NF_NAT=mCONFIG_NF_NAT_NEEDED=yCONFIG_IP_NF_TARGET_MASQUERADE=mCONFIG_IP_NF_TARGET_NETMAP=m
# CONFIG_IP_NF_TARGET_REDIRECT is not set
# CONFIG_NF_NAT_SNMP_BASIC is not setCONFIG_NF_NAT_PROTO_DCCP=mCONFIG_NF_NAT_PROTO_GRE=mCONFIG_NF_NAT_PROTO_UDPLITE=mCONFIG_NF_NAT_PROTO_SCTP=mCONFIG_NF_NAT_FTP=mCONFIG_NF_NAT_IRC=m
# CONFIG_NF_NAT_TFTP is not set
# CONFIG_NF_NAT_AMANDA is not setCONFIG_NF_NAT_PPTP=mCONFIG_NF_NAT_H323=m
# CONFIG_NF_NAT_SIP is not setCONFIG_IP_NF_MANGLE=yCONFIG_IP_NF_TARGET_CLUSTERIP=mCONFIG_IP_NF_TARGET_ECN=mCONFIG_IP_NF_TARGET_TTL=m
# CONFIG_IP_NF_RAW is not setCONFIG_IP_NF_SECURITY=mCONFIG_IP_NF_ARPTABLES=mCONFIG_IP_NF_ARPFILTER=mCONFIG_IP_NF_ARP_MANGLE=m
#
# IPv6: Netfilter Configuration
#CONFIG_NF_CONNTRACK_IPV6=yCONFIG_IP6_NF_QUEUE=m
# CONFIG_IP6_NF_IPTABLES is not set
#
# DECnet: Netfilter Configuration
#CONFIG_DECNET_NF_GRABULATOR=mCONFIG_BRIDGE_NF_EBTABLES=mCONFIG_BRIDGE_EBT_BROUTE=mCONFIG_BRIDGE_EBT_T_FILTER=mCONFIG_BRIDGE_EBT_T_NAT=m
# CONFIG_BRIDGE_EBT_802_3 is not setCONFIG_BRIDGE_EBT_AMONG=mCONFIG_BRIDGE_EBT_ARP=mCONFIG_BRIDGE_EBT_IP=mCONFIG_BRIDGE_EBT_IP6=mCONFIG_BRIDGE_EBT_LIMIT=mCONFIG_BRIDGE_EBT_MARK=mCONFIG_BRIDGE_EBT_PKTTYPE=mCONFIG_BRIDGE_EBT_STP=m
# CONFIG_BRIDGE_EBT_VLAN is not setCONFIG_BRIDGE_EBT_ARPREPLY=mCONFIG_BRIDGE_EBT_DNAT=mCONFIG_BRIDGE_EBT_MARK_T=m
# CONFIG_BRIDGE_EBT_REDIRECT is not set
# CONFIG_BRIDGE_EBT_SNAT is not set
# CONFIG_BRIDGE_EBT_LOG is not setCONFIG_BRIDGE_EBT_ULOG=mCONFIG_BRIDGE_EBT_NFLOG=mCONFIG_IP_DCCP=m
#
# DCCP CCIDs Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP_CCID2_DEBUG is not set
# CONFIG_IP_DCCP_CCID3 is not set
#
# DCCP Kernel Hacking
#
# CONFIG_IP_DCCP_DEBUG is not setCONFIG_IP_SCTP=y
# CONFIG_SCTP_DBG_MSG is not setCONFIG_SCTP_DBG_OBJCNT=yCONFIG_SCTP_HMAC_NONE=y
# CONFIG_SCTP_HMAC_SHA1 is not set
# CONFIG_SCTP_HMAC_MD5 is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not setCONFIG_ATM=yCONFIG_ATM_CLIP=yCONFIG_ATM_CLIP_NO_ICMP=yCONFIG_ATM_LANE=yCONFIG_ATM_MPOA=mCONFIG_ATM_BR2684=m
# CONFIG_ATM_BR2684_IPFILTER is not setCONFIG_STP=yCONFIG_BRIDGE=yCONFIG_NET_DSA=y
# CONFIG_NET_DSA_TAG_DSA is not setCONFIG_NET_DSA_TAG_EDSA=yCONFIG_NET_DSA_TAG_TRAILER=yCONFIG_NET_DSA_MV88E6XXX=yCONFIG_NET_DSA_MV88E6060=y
# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set
# CONFIG_NET_DSA_MV88E6131 is not setCONFIG_NET_DSA_MV88E6123_61_65=yCONFIG_VLAN_8021Q=m
# CONFIG_VLAN_8021Q_GVRP is not setCONFIG_DECNET=mCONFIG_DECNET_ROUTER=yCONFIG_LLC=yCONFIG_LLC2=m
# CONFIG_IPX is not setCONFIG_ATALK=yCONFIG_DEV_APPLETALK=yCONFIG_IPDDP=mCONFIG_IPDDP_ENCAP=yCONFIG_IPDDP_DECAP=yCONFIG_X25=yCONFIG_LAPB=yCONFIG_ECONET=yCONFIG_ECONET_AUNUDP=y
# CONFIG_ECONET_NATIVE is not set
# CONFIG_WAN_ROUTER is not setCONFIG_PHONET=yCONFIG_IEEE802154=mCONFIG_NET_SCHED=y
#
# Queueing/Scheduling
#CONFIG_NET_SCH_CBQ=yCONFIG_NET_SCH_HTB=m
# CONFIG_NET_SCH_HFSC is not setCONFIG_NET_SCH_ATM=y
# CONFIG_NET_SCH_PRIO is not setCONFIG_NET_SCH_MULTIQ=y
# CONFIG_NET_SCH_RED is not setCONFIG_NET_SCH_SFQ=yCONFIG_NET_SCH_TEQL=m
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_NETEM is not setCONFIG_NET_SCH_DRR=m
# CONFIG_NET_SCH_INGRESS is not set
#
# Classification
#CONFIG_NET_CLS=yCONFIG_NET_CLS_BASIC=mCONFIG_NET_CLS_TCINDEX=m
# CONFIG_NET_CLS_ROUTE4 is not setCONFIG_NET_CLS_ROUTE=yCONFIG_NET_CLS_FW=yCONFIG_NET_CLS_U32=mCONFIG_CLS_U32_PERF=yCONFIG_CLS_U32_MARK=y
# CONFIG_NET_CLS_RSVP is not setCONFIG_NET_CLS_RSVP6=y
# CONFIG_NET_CLS_FLOW is not setCONFIG_NET_CLS_CGROUP=yCONFIG_NET_EMATCH=yCONFIG_NET_EMATCH_STACK=32
# CONFIG_NET_EMATCH_CMP is not setCONFIG_NET_EMATCH_NBYTE=yCONFIG_NET_EMATCH_U32=yCONFIG_NET_EMATCH_META=mCONFIG_NET_EMATCH_TEXT=yCONFIG_NET_CLS_ACT=yCONFIG_NET_ACT_POLICE=mCONFIG_NET_ACT_GACT=m
# CONFIG_GACT_PROB is not setCONFIG_NET_ACT_MIRRED=mCONFIG_NET_ACT_IPT=y
# CONFIG_NET_ACT_NAT is not setCONFIG_NET_ACT_PEDIT=yCONFIG_NET_ACT_SIMP=m
# CONFIG_NET_ACT_SKBEDIT is not setCONFIG_NET_CLS_IND=yCONFIG_NET_SCH_FIFO=y
# CONFIG_DCB is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not setCONFIG_NET_DROP_MONITOR=yCONFIG_HAMRADIO=y
#
# Packet Radio protocols
#CONFIG_AX25=m
# CONFIG_AX25_DAMA_SLAVE is not set
# CONFIG_NETROM is not set
# CONFIG_ROSE is not set
#
# AX.25 network device drivers
#CONFIG_MKISS=mCONFIG_6PACK=mCONFIG_BPQETHER=mCONFIG_BAYCOM_SER_FDX=m
# CONFIG_BAYCOM_SER_HDX is not setCONFIG_BAYCOM_PAR=mCONFIG_YAM=mCONFIG_CAN=m
# CONFIG_CAN_RAW is not setCONFIG_CAN_BCM=m
#
# CAN Device Drivers
#CONFIG_CAN_VCAN=mCONFIG_CAN_DEV=mCONFIG_CAN_CALC_BITTIMING=yCONFIG_CAN_MCP251X=mCONFIG_CAN_SJA1000=m
# CONFIG_CAN_SJA1000_PLATFORM is not setCONFIG_CAN_EMS_PCI=m
# CONFIG_CAN_KVASER_PCI is not set
#
# CAN USB interfaces
#CONFIG_CAN_EMS_USB=mCONFIG_CAN_DEBUG_DEVICES=y
# CONFIG_IRDA is not set
# CONFIG_BT is not setCONFIG_AF_RXRPC=m
# CONFIG_AF_RXRPC_DEBUG is not set
# CONFIG_RXKAD is not setCONFIG_FIB_RULES=yCONFIG_WIRELESS=y
# CONFIG_CFG80211 is not setCONFIG_LIB80211=y
# CONFIG_LIB80211_DEBUG is not set
#
# CFG80211 needs to be enabled for MAC80211
#CONFIG_WIMAX=mCONFIG_WIMAX_DEBUG_LEVEL=8CONFIG_RFKILL=yCONFIG_RFKILL_LEDS=yCONFIG_RFKILL_INPUT=y
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"CONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=yCONFIG_EXTRA_FIRMWARE=""CONFIG_DEBUG_DRIVER=yCONFIG_DEBUG_DEVRES=yCONFIG_SYS_HYPERVISOR=yCONFIG_CONNECTOR=y
# CONFIG_PROC_EVENTS is not setCONFIG_PARPORT=mCONFIG_PARPORT_PC=m
# CONFIG_PARPORT_SERIAL is not setCONFIG_PARPORT_PC_FIFO=yCONFIG_PARPORT_PC_SUPERIO=yCONFIG_PARPORT_PC_PCMCIA=m
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not setCONFIG_PARPORT_1284=yCONFIG_PARPORT_NOT_PC=yCONFIG_PNP=yCONFIG_PNP_DEBUG_MESSAGES=y
#
# Protocols
#CONFIG_PNPACPI=yCONFIG_BLK_DEV=yCONFIG_BLK_DEV_FD=yCONFIG_BLK_CPQ_DA=yCONFIG_BLK_CPQ_CISS_DA=yCONFIG_CISS_SCSI_TAPE=y
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not setCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_CRYPTOLOOP=mCONFIG_BLK_DEV_DRBD=m
# CONFIG_DRBD_FAULT_INJECTION is not setCONFIG_BLK_DEV_NBD=m
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not setCONFIG_BLK_DEV_RAM=mCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_BLK_DEV_XIP=yCONFIG_CDROM_PKTCDVD=yCONFIG_CDROM_PKTCDVD_BUFFERS=8CONFIG_CDROM_PKTCDVD_WCACHE=yCONFIG_ATA_OVER_ETH=m
# CONFIG_XEN_BLKDEV_FRONTEND is not setCONFIG_BLK_DEV_HD=yCONFIG_MISC_DEVICES=yCONFIG_AD525X_DPOT=mCONFIG_IBM_ASM=m
# CONFIG_PHANTOM is not setCONFIG_SGI_IOC4=mCONFIG_TIFM_CORE=y
# CONFIG_TIFM_7XX1 is not set
# CONFIG_ICS932S401 is not setCONFIG_ENCLOSURE_SERVICES=yCONFIG_CS5535_MFGPT=yCONFIG_CS5535_MFGPT_DEFAULT_IRQ=7CONFIG_HP_ILO=y
# CONFIG_ISL29003 is not set
# CONFIG_DS1682 is not set
# CONFIG_TI_DAC7512 is not setCONFIG_C2PORT=m
# CONFIG_C2PORT_DURAMAR_2150 is not set
#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not setCONFIG_EEPROM_AT25=mCONFIG_EEPROM_LEGACY=mCONFIG_EEPROM_MAX6875=yCONFIG_EEPROM_93CX6=yCONFIG_CB710_CORE=yCONFIG_CB710_DEBUG=yCONFIG_CB710_DEBUG_ASSUMPTIONS=yCONFIG_HAVE_IDE=y
#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not setCONFIG_SCSI=yCONFIG_SCSI_DMA=yCONFIG_SCSI_TGT=mCONFIG_SCSI_NETLINK=yCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=yCONFIG_CHR_DEV_ST=yCONFIG_CHR_DEV_OSST=yCONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not setCONFIG_CHR_DEV_SG=yCONFIG_CHR_DEV_SCH=y
# CONFIG_SCSI_ENCLOSURE is not setCONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not setCONFIG_SCSI_SCAN_ASYNC=yCONFIG_SCSI_WAIT_SCAN=m
#
# SCSI Transports
#CONFIG_SCSI_SPI_ATTRS=yCONFIG_SCSI_FC_ATTRS=yCONFIG_SCSI_ISCSI_ATTRS=yCONFIG_SCSI_SAS_ATTRS=yCONFIG_SCSI_SAS_LIBSAS=yCONFIG_SCSI_SAS_ATA=yCONFIG_SCSI_SAS_HOST_SMP=yCONFIG_SCSI_SAS_LIBSAS_DEBUG=yCONFIG_SCSI_SRP_ATTRS=mCONFIG_SCSI_SRP_TGT_ATTRS=yCONFIG_SCSI_LOWLEVEL=yCONFIG_ISCSI_TCP=yCONFIG_SCSI_BNX2_ISCSI=mCONFIG_BE2ISCSI=yCONFIG_BLK_DEV_3W_XXXX_RAID=mCONFIG_SCSI_HPSA=m
# CONFIG_SCSI_3W_9XXX is not setCONFIG_SCSI_3W_SAS=yCONFIG_SCSI_ACARD=yCONFIG_SCSI_AACRAID=mCONFIG_SCSI_AIC7XXX=yCONFIG_AIC7XXX_CMDS_PER_DEVICE=32CONFIG_AIC7XXX_RESET_DELAY_MS=5000CONFIG_AIC7XXX_DEBUG_ENABLE=yCONFIG_AIC7XXX_DEBUG_MASK=0CONFIG_AIC7XXX_REG_PRETTY_PRINT=yCONFIG_SCSI_AIC7XXX_OLD=mCONFIG_SCSI_AIC79XX=mCONFIG_AIC79XX_CMDS_PER_DEVICE=32CONFIG_AIC79XX_RESET_DELAY_MS=5000CONFIG_AIC79XX_DEBUG_ENABLE=yCONFIG_AIC79XX_DEBUG_MASK=0CONFIG_AIC79XX_REG_PRETTY_PRINT=yCONFIG_SCSI_AIC94XX=yCONFIG_AIC94XX_DEBUG=yCONFIG_SCSI_MVSAS=m
# CONFIG_SCSI_MVSAS_DEBUG is not setCONFIG_SCSI_DPT_I2O=m
# CONFIG_SCSI_ADVANSYS is not setCONFIG_SCSI_ARCMSR=yCONFIG_SCSI_ARCMSR_AER=yCONFIG_MEGARAID_NEWGEN=yCONFIG_MEGARAID_MM=yCONFIG_MEGARAID_MAILBOX=mCONFIG_MEGARAID_LEGACY=yCONFIG_MEGARAID_SAS=yCONFIG_SCSI_MPT2SAS=yCONFIG_SCSI_MPT2SAS_MAX_SGE=128CONFIG_SCSI_MPT2SAS_LOGGING=y
# CONFIG_SCSI_HPTIOP is not setCONFIG_SCSI_BUSLOGIC=y
# CONFIG_VMWARE_PVSCSI is not setCONFIG_LIBFC=yCONFIG_LIBFCOE=yCONFIG_FCOE=y
# CONFIG_FCOE_FNIC is not setCONFIG_SCSI_DMX3191D=mCONFIG_SCSI_EATA=yCONFIG_SCSI_EATA_TAGGED_QUEUE=y
# CONFIG_SCSI_EATA_LINKED_COMMANDS is not setCONFIG_SCSI_EATA_MAX_TAGS=16CONFIG_SCSI_FUTURE_DOMAIN=mCONFIG_SCSI_GDTH=mCONFIG_SCSI_IPS=m
# CONFIG_SCSI_INITIO is not setCONFIG_SCSI_INIA100=mCONFIG_SCSI_PPA=mCONFIG_SCSI_IMM=mCONFIG_SCSI_IZIP_EPP16=yCONFIG_SCSI_IZIP_SLOW_CTR=yCONFIG_SCSI_STEX=yCONFIG_SCSI_SYM53C8XX_2=yCONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64CONFIG_SCSI_SYM53C8XX_MMIO=yCONFIG_SCSI_IPR=y
# CONFIG_SCSI_IPR_TRACE is not setCONFIG_SCSI_IPR_DUMP=yCONFIG_SCSI_QLOGIC_1280=mCONFIG_SCSI_QLA_FC=yCONFIG_SCSI_QLA_ISCSI=yCONFIG_SCSI_LPFC=mCONFIG_SCSI_LPFC_DEBUG_FS=y
# CONFIG_SCSI_DC395x is not setCONFIG_SCSI_DC390T=mCONFIG_SCSI_PMCRAID=y
# CONFIG_SCSI_PM8001 is not setCONFIG_SCSI_SRP=mCONFIG_SCSI_BFA_FC=m
# CONFIG_SCSI_LOWLEVEL_PCMCIA is not set
# CONFIG_SCSI_DH is not setCONFIG_SCSI_OSD_INITIATOR=y
# CONFIG_SCSI_OSD_ULD is not setCONFIG_SCSI_OSD_DPRINT_SENSE=1
# CONFIG_SCSI_OSD_DEBUG is not setCONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not setCONFIG_ATA_VERBOSE_ERROR=y
# CONFIG_ATA_ACPI is not setCONFIG_SATA_PMP=yCONFIG_SATA_AHCI=yCONFIG_SATA_SIL24=mCONFIG_ATA_SFF=y
# CONFIG_SATA_SVW is not setCONFIG_ATA_PIIX=yCONFIG_SATA_MV=yCONFIG_SATA_NV=yCONFIG_PDC_ADMA=y
# CONFIG_SATA_QSTOR is not setCONFIG_SATA_PROMISE=m
# CONFIG_SATA_SX4 is not set
# CONFIG_SATA_SIL is not setCONFIG_SATA_SIS=m
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not setCONFIG_SATA_VITESSE=mCONFIG_SATA_INIC162X=yCONFIG_PATA_ALI=mCONFIG_PATA_AMD=yCONFIG_PATA_ARTOP=m
# CONFIG_PATA_ATP867X is not setCONFIG_PATA_ATIIXP=y
# CONFIG_PATA_CMD640_PCI is not setCONFIG_PATA_CMD64X=yCONFIG_PATA_CS5520=mCONFIG_PATA_CS5530=mCONFIG_PATA_CYPRESS=yCONFIG_PATA_EFAR=mCONFIG_ATA_GENERIC=mCONFIG_PATA_HPT366=mCONFIG_PATA_HPT37X=mCONFIG_PATA_HPT3X2N=y
# CONFIG_PATA_HPT3X3 is not setCONFIG_PATA_IT821X=y
# CONFIG_PATA_IT8213 is not setCONFIG_PATA_JMICRON=yCONFIG_PATA_TRIFLEX=mCONFIG_PATA_MARVELL=yCONFIG_PATA_MPIIX=yCONFIG_PATA_OLDPIIX=y
# CONFIG_PATA_NETCELL is not setCONFIG_PATA_NINJA32=mCONFIG_PATA_NS87410=y
# CONFIG_PATA_NS87415 is not setCONFIG_PATA_OPTI=mCONFIG_PATA_OPTIDMA=yCONFIG_PATA_PCMCIA=m
# CONFIG_PATA_PDC2027X is not setCONFIG_PATA_PDC_OLD=m
# CONFIG_PATA_RADISYS is not setCONFIG_PATA_RDC=yCONFIG_PATA_RZ1000=yCONFIG_PATA_SC1200=yCONFIG_PATA_SERVERWORKS=yCONFIG_PATA_SIL680=yCONFIG_PATA_SIS=m
# CONFIG_PATA_TOSHIBA is not setCONFIG_PATA_VIA=y
# CONFIG_PATA_WINBOND is not setCONFIG_PATA_PLATFORM=y
# CONFIG_PATA_SCH is not setCONFIG_MD=y
# CONFIG_BLK_DEV_MD is not setCONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not set
# CONFIG_DM_CRYPT is not setCONFIG_DM_SNAPSHOT=mCONFIG_DM_MIRROR=yCONFIG_DM_LOG_USERSPACE=yCONFIG_DM_ZERO=mCONFIG_DM_MULTIPATH=yCONFIG_DM_MULTIPATH_QL=mCONFIG_DM_MULTIPATH_ST=yCONFIG_DM_DELAY=y
# CONFIG_DM_UEVENT is not setCONFIG_FUSION=y
# CONFIG_FUSION_SPI is not set
# CONFIG_FUSION_FC is not setCONFIG_FUSION_SAS=mCONFIG_FUSION_MAX_SGE=128
# CONFIG_FUSION_CTL is not setCONFIG_FUSION_LOGGING=y
#
# IEEE 1394 (FireWire) support
#
#
# You can enable one or both FireWire driver stacks. #
#
# The newer stack is recommended.
#CONFIG_FIREWIRE=yCONFIG_FIREWIRE_OHCI=mCONFIG_FIREWIRE_OHCI_DEBUG=y
# CONFIG_FIREWIRE_SBP2 is not setCONFIG_FIREWIRE_NET=mCONFIG_IEEE1394=m
# CONFIG_IEEE1394_OHCI1394 is not set
# CONFIG_IEEE1394_PCILYNX is not setCONFIG_IEEE1394_SBP2=mCONFIG_IEEE1394_SBP2_PHYS_DMA=yCONFIG_IEEE1394_ETH1394_ROM_ENTRY=yCONFIG_IEEE1394_ETH1394=m
# CONFIG_IEEE1394_RAWIO is not setCONFIG_IEEE1394_VERBOSEDEBUG=y
# CONFIG_I2O is not set
# CONFIG_MACINTOSH_DRIVERS is not setCONFIG_NETDEVICES=y
# CONFIG_IFB is not setCONFIG_DUMMY=yCONFIG_BONDING=m
# CONFIG_MACVLAN is not setCONFIG_EQUALIZER=yCONFIG_TUN=yCONFIG_VETH=yCONFIG_NET_SB1000=mCONFIG_ARCNET=m
# CONFIG_ARCNET_1201 is not setCONFIG_ARCNET_1051=m
# CONFIG_ARCNET_RAW is not set
# CONFIG_ARCNET_CAP is not set
CONFIG_ARCNET_COM90xx=m
CONFIG_ARCNET_COM90xxIO=m
# CONFIG_ARCNET_RIM_I is not set
# CONFIG_ARCNET_COM20020 is not setCONFIG_PHYLIB=y
#
# MII PHY device drivers
#CONFIG_MARVELL_PHY=mCONFIG_DAVICOM_PHY=m
# CONFIG_QSEMI_PHY is not set CONFIG_LXT_PHY=yCONFIG_CICADA_PHY=yCONFIG_VITESSE_PHY=mCONFIG_SMSC_PHY=yCONFIG_BROADCOM_PHY=m
# CONFIG_ICPLUS_PHY is not set CONFIG_REALTEK_PHY=yCONFIG_NATIONAL_PHY=yCONFIG_STE10XP=yCONFIG_LSI_ET1011C_PHY=m CONFIG_FIXED_PHY=y
# CONFIG_MDIO_BITBANG is not set CONFIG_NET_ETHERNET=yCONFIG_MII=yCONFIG_HAPPYMEAL=yCONFIG_SUNGEM=m
# CONFIG_CASSINI is not set CONFIG_NET_VENDOR_3COM=yCONFIG_VORTEX=yCONFIG_TYPHOON=yCONFIG_ENC28J60=y
# CONFIG_ENC28J60_WRITEVERIFY is not set
# CONFIG_ETHOC is not setCONFIG_DNET=yCONFIG_NET_TULIP=yCONFIG_DE2104X=yCONFIG_DE2104X_DSL=0CONFIG_TULIP=mCONFIG_TULIP_MWI=yCONFIG_TULIP_MMIO=y
# CONFIG_TULIP_NAPI is not set CONFIG_DE4X5=m
# CONFIG_WINBOND_840 is not set CONFIG_DM9102=mCONFIG_ULI526X=m
# CONFIG_PCMCIA_XIRCOM is not set CONFIG_HP100=y
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set CONFIG_B44=yCONFIG_B44_PCI_AUTOSELECT=y CONFIG_B44_PCICORE_AUTOSELECT=y CONFIG_B44_PCI=yCONFIG_FORCEDETH=yCONFIG_FORCEDETH_NAPI=yCONFIG_E100=y
# CONFIG_FEALNX is not set CONFIG_NATSEMI=yCONFIG_NE2K_PCI=yCONFIG_8139CP=yCONFIG_8139TOO=yCONFIG_8139TOO_PIO=y CONFIG_8139TOO_TUNE_TWISTER=y CONFIG_8139TOO_8129=y CONFIG_8139_OLD_RX_RESET=y
# CONFIG_R6040 is not setCONFIG_SIS900=m
# CONFIG_EPIC100 is not set
# CONFIG_SMSC9420 is not set CONFIG_SUNDANCE=y
# CONFIG_SUNDANCE_MMIO is not set
# CONFIG_TLAN is not set
# CONFIG_KS8842 is not set
# CONFIG_KS8851 is not set CONFIG_KS8851_MLL=yCONFIG_VIA_RHINE=mCONFIG_VIA_RHINE_MMIO=yCONFIG_SC92031=mCONFIG_NET_POCKET=yCONFIG_ATP=m
# CONFIG_DE600 is not setCONFIG_DE620=mCONFIG_ATL2=mCONFIG_NETDEV_1000=y
# CONFIG_ACENIC is not setCONFIG_DL2K=mCONFIG_E1000=yCONFIG_E1000E=y
# CONFIG_IP1000 is not setCONFIG_IGB=mCONFIG_IGB_DCA=yCONFIG_IGBVF=mCONFIG_NS83820=yCONFIG_HAMACHI=mCONFIG_YELLOWFIN=yCONFIG_R8169=yCONFIG_R8169_VLAN=yCONFIG_SIS190=yCONFIG_SKGE=yCONFIG_SKGE_DEBUG=yCONFIG_SKY2=y
# CONFIG_SKY2_DEBUG is not set
# CONFIG_VIA_VELOCITY is not set CONFIG_TIGON3=yCONFIG_BNX2=yCONFIG_CNIC=m
# CONFIG_QLA3XXX is not setCONFIG_ATL1=yCONFIG_ATL1E=m
# CONFIG_ATL1C is not setCONFIG_JME=y
# CONFIG_NETDEV_10000 is not set CONFIG_MLX4_CORE=y
# CONFIG_TR is not set
# CONFIG_WLAN is not set
#
# WiMAX Wireless Broadband devices
#
#
# Enable MMC support to see WiMAX SDIO drivers
#
#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not setCONFIG_USB_RTL8150=yCONFIG_USB_USBNET=mCONFIG_USB_NET_AX8817X=mCONFIG_USB_NET_CDCETHER=mCONFIG_USB_NET_CDC_EEM=m
# CONFIG_USB_NET_DM9601 is not set
# CONFIG_USB_NET_SMSC95XX is not set
# CONFIG_USB_NET_GL620A is not setCONFIG_USB_NET_NET1080=m
# CONFIG_USB_NET_PLUSB is not setCONFIG_USB_NET_MCS7830=mCONFIG_USB_NET_RNDIS_HOST=mCONFIG_USB_NET_CDC_SUBSET=mCONFIG_USB_ALI_M5632=yCONFIG_USB_AN2720=yCONFIG_USB_BELKIN=yCONFIG_USB_ARMLINUX=y
# CONFIG_USB_EPSON2888 is not set
# CONFIG_USB_KC2190 is not set
# CONFIG_USB_NET_ZAURUS is not setCONFIG_USB_HSO=mCONFIG_USB_NET_INT51X1=mCONFIG_USB_CDC_PHONET=yCONFIG_NET_PCMCIA=yCONFIG_PCMCIA_3C589=m
# CONFIG_PCMCIA_3C574 is not setCONFIG_PCMCIA_FMVJ18X=mCONFIG_PCMCIA_PCNET=mCONFIG_PCMCIA_NMCLAN=m
# CONFIG_PCMCIA_SMC91C92 is not set
# CONFIG_PCMCIA_XIRC2PS is not setCONFIG_PCMCIA_AXNET=mCONFIG_WAN=y
# CONFIG_HDLC is not setCONFIG_DLCI=mCONFIG_DLCI_MAX=8
# CONFIG_LAPBETHER is not set
# CONFIG_X25_ASY is not set
# CONFIG_SBNI is not setCONFIG_ATM_DRIVERS=yCONFIG_ATM_DUMMY=yCONFIG_ATM_TCP=mCONFIG_ATM_LANAI=m
# CONFIG_ATM_ENI is not setCONFIG_ATM_FIRESTREAM=y
# CONFIG_ATM_ZATM is not set
# CONFIG_ATM_IDT77252 is not setCONFIG_ATM_AMBASSADOR=m
# CONFIG_ATM_AMBASSADOR_DEBUG is not setCONFIG_ATM_HORIZON=mCONFIG_ATM_HORIZON_DEBUG=yCONFIG_ATM_IA=yCONFIG_ATM_IA_DEBUG=yCONFIG_ATM_FORE200E=y
# CONFIG_ATM_FORE200E_USE_TASKLET is not setCONFIG_ATM_FORE200E_TX_RETRY=16CONFIG_ATM_FORE200E_DEBUG=0CONFIG_ATM_HE=mCONFIG_ATM_HE_USE_SUNI=y
# CONFIG_ATM_SOLOS is not set
# CONFIG_IEEE802154_DRIVERS is not setCONFIG_XEN_NETDEV_FRONTEND=mCONFIG_FDDI=mCONFIG_DEFXX=m
# CONFIG_DEFXX_MMIO is not setCONFIG_SKFP=m
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not setCONFIG_PPP=mCONFIG_PPP_MULTILINK=yCONFIG_PPP_FILTER=y
# CONFIG_PPP_ASYNC is not set
# CONFIG_PPP_SYNC_TTY is not set
# CONFIG_PPP_DEFLATE is not set
# CONFIG_PPP_BSDCOMP is not set
# CONFIG_PPP_MPPE is not set
# CONFIG_PPPOE is not setCONFIG_PPPOATM=mCONFIG_PPPOL2TP=m
# CONFIG_SLIP is not setCONFIG_SLHC=yCONFIG_NET_FC=yCONFIG_NETCONSOLE=y
# CONFIG_NETCONSOLE_DYNAMIC is not setCONFIG_NETPOLL=yCONFIG_NETPOLL_TRAP=yCONFIG_NET_POLL_CONTROLLER=y
# CONFIG_VMXNET3 is not setCONFIG_ISDN=yCONFIG_ISDN_I4L=yCONFIG_ISDN_PPP=yCONFIG_ISDN_PPP_VJ=yCONFIG_ISDN_MPP=yCONFIG_IPPP_FILTER=y
# CONFIG_ISDN_PPP_BSDCOMP is not set
# CONFIG_ISDN_AUDIO is not setCONFIG_ISDN_X25=y
#
# ISDN feature submodules
#CONFIG_ISDN_DIVERSION=m
#
# ISDN4Linux hardware drivers
#
#
# Passive cards
#CONFIG_ISDN_DRV_HISAX=y
#
# D-channel protocol features
#
# CONFIG_HISAX_EURO is not set
# CONFIG_HISAX_1TR6 is not setCONFIG_HISAX_NI1=yCONFIG_HISAX_MAX_CARDS=8
#
# HiSax supported cards
#CONFIG_HISAX_16_3=yCONFIG_HISAX_S0BOX=yCONFIG_HISAX_FRITZPCI=yCONFIG_HISAX_AVM_A1_PCMCIA=yCONFIG_HISAX_ELSA=yCONFIG_HISAX_DIEHLDIVA=yCONFIG_HISAX_SEDLBAUER=yCONFIG_HISAX_NICCY=yCONFIG_HISAX_GAZEL=y
# CONFIG_HISAX_HFC_SX is not setCONFIG_HISAX_DEBUG=y
#
# HiSax PCMCIA card service modules
#CONFIG_HISAX_SEDLBAUER_CS=mCONFIG_HISAX_ELSA_CS=mCONFIG_HISAX_AVM_A1_CS=mCONFIG_HISAX_TELES_CS=m
#
# HiSax sub driver modules
#CONFIG_HISAX_ST5481=m
# CONFIG_HISAX_HFCUSB is not set
# CONFIG_HISAX_HFC4S8S is not set
#
# Active cards
#CONFIG_HYSDN=m
# CONFIG_HYSDN_CAPI is not setCONFIG_ISDN_HDLC=mCONFIG_ISDN_CAPI=y
# CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON is not setCONFIG_CAPI_TRACE=y
# CONFIG_ISDN_CAPI_MIDDLEWARE is not setCONFIG_ISDN_CAPI_CAPI20=mCONFIG_ISDN_CAPI_CAPIDRV=y
#
# CAPI hardware drivers
#
# CONFIG_CAPI_AVM is not setCONFIG_CAPI_EICON=yCONFIG_ISDN_DIVAS=m
# CONFIG_ISDN_DIVAS_BRIPCI is not setCONFIG_ISDN_DIVAS_PRIPCI=yCONFIG_ISDN_DIVAS_DIVACAPI=mCONFIG_ISDN_DIVAS_USERIDI=mCONFIG_ISDN_DIVAS_MAINT=mCONFIG_ISDN_DRV_GIGASET=mCONFIG_GIGASET_CAPI=y
# CONFIG_GIGASET_I4L is not set
# CONFIG_GIGASET_DUMMYLL is not setCONFIG_GIGASET_BASE=mCONFIG_GIGASET_M105=mCONFIG_GIGASET_M101=m
# CONFIG_GIGASET_DEBUG is not set
# CONFIG_PHONE is not set
#
# Input device support
#CONFIG_INPUT=yCONFIG_INPUT_FF_MEMLESS=yCONFIG_INPUT_POLLDEV=yCONFIG_INPUT_SPARSEKMAP=y
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not setCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not setCONFIG_INPUT_EVBUG=y
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ADP5520=y
# CONFIG_KEYBOARD_ADP5588 is not setCONFIG_KEYBOARD_ATKBD=yCONFIG_QT2160=yCONFIG_KEYBOARD_LKKBD=y
# CONFIG_KEYBOARD_LM8323 is not setCONFIG_KEYBOARD_MAX7359=yCONFIG_KEYBOARD_NEWTON=y
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not setCONFIG_KEYBOARD_TWL4030=mCONFIG_KEYBOARD_XTKBD=yCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=yCONFIG_MOUSE_PS2_ALPS=yCONFIG_MOUSE_PS2_LOGIPS2PP=yCONFIG_MOUSE_PS2_SYNAPTICS=yCONFIG_MOUSE_PS2_LIFEBOOK=yCONFIG_MOUSE_PS2_TRACKPOINT=yCONFIG_MOUSE_PS2_ELANTECH=yCONFIG_MOUSE_PS2_SENTELIC=yCONFIG_MOUSE_PS2_TOUCHKIT=yCONFIG_MOUSE_SERIAL=yCONFIG_MOUSE_APPLETOUCH=mCONFIG_MOUSE_BCM5974=yCONFIG_MOUSE_VSXXXAA=yCONFIG_MOUSE_SYNAPTICS_I2C=y
# CONFIG_INPUT_JOYSTICK is not setCONFIG_INPUT_TABLET=y
# CONFIG_TABLET_USB_ACECAD is not setCONFIG_TABLET_USB_AIPTEK=yCONFIG_TABLET_USB_GTCO=y
# CONFIG_TABLET_USB_KBTAB is not set
# CONFIG_TABLET_USB_WACOM is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=yCONFIG_SERIO_CT82C710=mCONFIG_SERIO_PARKBD=mCONFIG_SERIO_PCIPS2=mCONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not setCONFIG_SERIO_ALTERA_PS2=mCONFIG_GAMEPORT=mCONFIG_GAMEPORT_NS558=m
# CONFIG_GAMEPORT_L4 is not setCONFIG_GAMEPORT_EMU10K1=mCONFIG_GAMEPORT_FM801=m
#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=yCONFIG_DEVKMEM=yCONFIG_SERIAL_NONSTANDARD=y
# CONFIG_COMPUTONE is not set
# CONFIG_ROCKETPORT is not setCONFIG_CYCLADES=yCONFIG_CYZ_INTR=yCONFIG_DIGIEPCA=yCONFIG_MOXA_INTELLIO=yCONFIG_MOXA_SMARTIO=m
# CONFIG_ISI is not set
# CONFIG_SYNCLINK is not setCONFIG_SYNCLINKMP=m
# CONFIG_SYNCLINK_GT is not setCONFIG_N_HDLC=yCONFIG_RISCOM8=m
# CONFIG_SPECIALIX is not set
# CONFIG_STALDRV is not setCONFIG_NOZOMI=y
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_FIX_EARLYCON_MEM=yCONFIG_SERIAL_8250_PCI=mCONFIG_SERIAL_8250_PNP=mCONFIG_SERIAL_8250_CS=mCONFIG_SERIAL_8250_NR_UARTS=4CONFIG_SERIAL_8250_RUNTIME_UARTS=4CONFIG_SERIAL_8250_EXTENDED=yCONFIG_SERIAL_8250_MANY_PORTS=yCONFIG_SERIAL_8250_SHARE_IRQ=yCONFIG_SERIAL_8250_DETECT_IRQ=y
# CONFIG_SERIAL_8250_RSA is not set
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_MAX3100 is not setCONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_SERIAL_JSM=mCONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not setCONFIG_LEGACY_PTYS=yCONFIG_LEGACY_PTY_COUNT=256
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not setCONFIG_HVC_DRIVER=yCONFIG_HVC_IRQ=yCONFIG_HVC_XEN=yCONFIG_IPMI_HANDLER=yCONFIG_IPMI_PANIC_EVENT=y
# CONFIG_IPMI_PANIC_STRING is not setCONFIG_IPMI_DEVICE_INTERFACE=yCONFIG_IPMI_SI=mCONFIG_IPMI_WATCHDOG=y
# CONFIG_IPMI_POWEROFF is not setCONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not setCONFIG_HW_RANDOM_INTEL=m
# CONFIG_HW_RANDOM_AMD is not setCONFIG_HW_RANDOM_VIA=y
# CONFIG_NVRAM is not setCONFIG_RTC=mCONFIG_GEN_RTC=m
# CONFIG_GEN_RTC_X is not set
# CONFIG_R3964 is not setCONFIG_APPLICOM=y
#
# PCMCIA character devices
#CONFIG_SYNCLINK_CS=mCONFIG_CARDMAN_4000=mCONFIG_CARDMAN_4040=mCONFIG_IPWIRELESS=mCONFIG_MWAVE=m
# CONFIG_PC8736x_GPIO is not setCONFIG_RAW_DRIVER=mCONFIG_MAX_RAW_DEVS=256CONFIG_HPET=yCONFIG_HPET_MMAP=yCONFIG_HANGCHECK_TIMER=yCONFIG_TCG_TPM=y
# CONFIG_TCG_TIS is not set
# CONFIG_TCG_NSC is not setCONFIG_TCG_ATMEL=y
# CONFIG_TCG_INFINEON is not setCONFIG_TELCLOCK=yCONFIG_DEVPORT=yCONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_COMPAT=yCONFIG_I2C_CHARDEV=yCONFIG_I2C_HELPER_AUTO=yCONFIG_I2C_ALGOBIT=yCONFIG_I2C_ALGOPCA=m
#
# I2C Hardware Bus support
#
#
# PC SMBus host controller drivers
#CONFIG_I2C_ALI1535=mCONFIG_I2C_ALI1563=yCONFIG_I2C_ALI15X3=yCONFIG_I2C_AMD756=mCONFIG_I2C_AMD8111=y
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_ISCH is not setCONFIG_I2C_PIIX4=mCONFIG_I2C_NFORCE2=mCONFIG_I2C_SIS5595=mCONFIG_I2C_SIS630=yCONFIG_I2C_SIS96X=yCONFIG_I2C_VIA=y
#
# ACPI drivers
#CONFIG_I2C_SCMI=m
#
# I2C system bus drivers (mostly embedded / system-on-chip) #
# CONFIG_I2C_OCORES is not setCONFIG_I2C_SIMTEC=y
#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not setCONFIG_I2C_TAOS_EVM=m
# CONFIG_I2C_TINY_USB is not set
#
# Other I2C/SMBus bus drivers
#CONFIG_I2C_PCA_PLATFORM=mCONFIG_I2C_STUB=m
#
# Miscellaneous I2C Chip support
#
# CONFIG_SENSORS_TSL2550 is not setCONFIG_I2C_DEBUG_CORE=yCONFIG_I2C_DEBUG_ALGO=yCONFIG_I2C_DEBUG_BUS=yCONFIG_I2C_DEBUG_CHIP=yCONFIG_SPI=y
# CONFIG_SPI_DEBUG is not setCONFIG_SPI_MASTER=y
#
# SPI Master Controller Drivers
#CONFIG_SPI_BITBANG=y
# CONFIG_SPI_BUTTERFLY is not setCONFIG_SPI_LM70_LLP=mCONFIG_SPI_XILINX=m
# CONFIG_SPI_XILINX_PLTFM is not setCONFIG_SPI_DESIGNWARE=yCONFIG_SPI_DW_PCI=y
#
# SPI Protocol Masters
#CONFIG_SPI_SPIDEV=y
# CONFIG_SPI_TLE62X0 is not set
#
# PPS support
#
# CONFIG_PPS is not setCONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not setCONFIG_W1=mCONFIG_W1_CON=y
#
# 1-wire Bus Masters
#CONFIG_W1_MASTER_MATROX=mCONFIG_W1_MASTER_DS2490=mCONFIG_W1_MASTER_DS2482=m
#
# 1-wire Slaves
#CONFIG_W1_SLAVE_THERM=mCONFIG_W1_SLAVE_SMEM=m
# CONFIG_W1_SLAVE_DS2431 is not setCONFIG_W1_SLAVE_DS2433=mCONFIG_W1_SLAVE_DS2433_CRC=y
# CONFIG_W1_SLAVE_DS2760 is not setCONFIG_W1_SLAVE_BQ27000=mCONFIG_POWER_SUPPLY=yCONFIG_POWER_SUPPLY_DEBUG=yCONFIG_PDA_POWER=y
# CONFIG_BATTERY_DS2760 is not setCONFIG_BATTERY_DS2782=m
CONFIG_BATTERY_BQ27x00=yCONFIG_BATTERY_DA9030=mCONFIG_BATTERY_MAX17040=yCONFIG_CHARGER_PCF50633=mCONFIG_HWMON=mCONFIG_HWMON_VID=mCONFIG_HWMON_DEBUG_CHIP=y
#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not setCONFIG_SENSORS_ABITUGURU3=m
# CONFIG_SENSORS_AD7414 is not setCONFIG_SENSORS_AD7418=m
# CONFIG_SENSORS_ADCXX is not setCONFIG_SENSORS_ADM1021=mCONFIG_SENSORS_ADM1025=m
# CONFIG_SENSORS_ADM1026 is not setCONFIG_SENSORS_ADM1029=m
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not setCONFIG_SENSORS_ADT7462=m
# CONFIG_SENSORS_ADT7470 is not setCONFIG_SENSORS_ADT7473=mCONFIG_SENSORS_ADT7475=mCONFIG_SENSORS_K8TEMP=mCONFIG_SENSORS_K10TEMP=m
# CONFIG_SENSORS_ASB100 is not setCONFIG_SENSORS_ATXP1=m
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_I5K_AMB is not setCONFIG_SENSORS_F71805F=mCONFIG_SENSORS_F71882FG=mCONFIG_SENSORS_F75375S=m
# CONFIG_SENSORS_FSCHMD is not setCONFIG_SENSORS_G760A=m
# CONFIG_SENSORS_GL518SM is not setCONFIG_SENSORS_GL520SM=mCONFIG_SENSORS_CORETEMP=mCONFIG_SENSORS_IBMAEM=mCONFIG_SENSORS_IBMPEX=m
# CONFIG_SENSORS_IT87 is not setCONFIG_SENSORS_LM63=mCONFIG_SENSORS_LM70=mCONFIG_SENSORS_LM73=m
# CONFIG_SENSORS_LM75 is not setCONFIG_SENSORS_LM77=mCONFIG_SENSORS_LM78=mCONFIG_SENSORS_LM80=mCONFIG_SENSORS_LM83=m
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not setCONFIG_SENSORS_LM90=mCONFIG_SENSORS_LM92=mCONFIG_SENSORS_LM93=m
# CONFIG_SENSORS_LTC4215 is not setCONFIG_SENSORS_LTC4245=mCONFIG_SENSORS_LM95241=m
# CONFIG_SENSORS_MAX1111 is not setCONFIG_SENSORS_MAX1619=mCONFIG_SENSORS_MAX6650=mCONFIG_SENSORS_PC87360=mCONFIG_SENSORS_PC87427=m
# CONFIG_SENSORS_PCF8591 is not setCONFIG_SENSORS_SIS5595=mCONFIG_SENSORS_DME1737=m
# CONFIG_SENSORS_SMSC47M1 is not setCONFIG_SENSORS_SMSC47M192=mCONFIG_SENSORS_SMSC47B397=mCONFIG_SENSORS_ADS7828=mCONFIG_SENSORS_AMC6821=mCONFIG_SENSORS_THMC50=mCONFIG_SENSORS_TMP401=mCONFIG_SENSORS_TMP421=mCONFIG_SENSORS_VIA_CPUTEMP=m
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not setCONFIG_SENSORS_VT8231=m
# CONFIG_SENSORS_W83781D is not setCONFIG_SENSORS_W83791D=mCONFIG_SENSORS_W83792D=mCONFIG_SENSORS_W83793=m
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not setCONFIG_SENSORS_W83627HF=mCONFIG_SENSORS_W83627EHF=mCONFIG_SENSORS_HDAPS=mCONFIG_SENSORS_LIS3_I2C=m
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_SENSORS_MC13783_ADC is not set
#
# ACPI drivers
#
# CONFIG_SENSORS_ATK0110 is not setCONFIG_SENSORS_LIS3LV02D=mCONFIG_THERMAL=yCONFIG_WATCHDOG=yCONFIG_WATCHDOG_NOWAYOUT=y
#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not setCONFIG_TWL4030_WATCHDOG=yCONFIG_ACQUIRE_WDT=m
# CONFIG_ADVANTECH_WDT is not setCONFIG_ALIM1535_WDT=mCONFIG_ALIM7101_WDT=mCONFIG_GEODE_WDT=mCONFIG_SC520_WDT=mCONFIG_IB700_WDT=yCONFIG_IBMASR=yCONFIG_WAFER_WDT=mCONFIG_I6300ESB_WDT=yCONFIG_ITCO_WDT=m
# CONFIG_ITCO_VENDOR_SUPPORT is not setCONFIG_IT8712F_WDT=y
# CONFIG_IT87_WDT is not setCONFIG_HP_WATCHDOG=yCONFIG_SC1200_WDT=mCONFIG_PC87413_WDT=mCONFIG_60XX_WDT=y
# CONFIG_SBC8360_WDT is not setCONFIG_CPU5_WDT=mCONFIG_SMSC_SCH311X_WDT=yCONFIG_SMSC37B787_WDT=yCONFIG_W83627HF_WDT=mCONFIG_W83697HF_WDT=yCONFIG_W83697UG_WDT=y
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not setCONFIG_MACHZ_WDT=mCONFIG_SBC_EPX_C3_WATCHDOG=m
#
# PCI-based Watchdog Cards
#CONFIG_PCIPCWATCHDOG=yCONFIG_WDTPCI=y
#
# USB-based Watchdog Cards
#CONFIG_USBPCWATCHDOG=yCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#CONFIG_SSB=yCONFIG_SSB_SPROM=yCONFIG_SSB_PCIHOST_POSSIBLE=yCONFIG_SSB_PCIHOST=y
# CONFIG_SSB_B43_PCI_BRIDGE is not setCONFIG_SSB_SILENT=yCONFIG_SSB_DRIVER_PCICORE_POSSIBLE=yCONFIG_SSB_DRIVER_PCICORE=y
#
# Multifunction device drivers
#CONFIG_MFD_CORE=mCONFIG_MFD_SM501=y
# CONFIG_HTC_PASIC3 is not setCONFIG_TWL4030_CORE=y
# CONFIG_TWL4030_CODEC is not set
# CONFIG_MFD_TMIO is not setCONFIG_PMIC_DA903X=yCONFIG_PMIC_ADP5520=yCONFIG_MFD_WM8400=m
# CONFIG_MFD_WM831X is not setCONFIG_MFD_PCF50633=yCONFIG_MFD_MC13783=mCONFIG_PCF50633_ADC=m
# CONFIG_PCF50633_GPIO is not setCONFIG_AB3100_CORE=yCONFIG_AB3100_OTP=yCONFIG_EZX_PCAP=y
# CONFIG_MFD_88PM8607 is not setCONFIG_AB4500_CORE=mCONFIG_REGULATOR=yCONFIG_REGULATOR_DEBUG=yCONFIG_REGULATOR_FIXED_VOLTAGE=m
# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not setCONFIG_REGULATOR_USERSPACE_CONSUMER=mCONFIG_REGULATOR_BQ24022=mCONFIG_REGULATOR_MAX1586=mCONFIG_REGULATOR_MAX8660=yCONFIG_REGULATOR_TWL4030=yCONFIG_REGULATOR_WM8400=m
# CONFIG_REGULATOR_DA903X is not setCONFIG_REGULATOR_PCF50633=y
# CONFIG_REGULATOR_LP3971 is not setCONFIG_REGULATOR_PCAP=m
# CONFIG_REGULATOR_MC13783 is not setCONFIG_REGULATOR_AB3100=m
# CONFIG_REGULATOR_TPS65023 is not setCONFIG_REGULATOR_TPS6507X=y
# CONFIG_MEDIA_SUPPORT is not set
#
# Graphics support
#CONFIG_AGP=y
# CONFIG_AGP_AMD64 is not setCONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not setCONFIG_AGP_VIA=y
# CONFIG_VGA_ARB is not setCONFIG_DRM=mCONFIG_DRM_TDFX=m
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not setCONFIG_DRM_MGA=mCONFIG_DRM_SIS=m
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not setCONFIG_VGASTATE=mCONFIG_VIDEO_OUTPUT_CONTROL=mCONFIG_FB=m
# CONFIG_FIRMWARE_EDID is not setCONFIG_FB_DDC=m
# CONFIG_FB_BOOT_VESA_SUPPORT is not setCONFIG_FB_CFB_FILLRECT=mCONFIG_FB_CFB_COPYAREA=mCONFIG_FB_CFB_IMAGEBLIT=m
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not setCONFIG_FB_SYS_FILLRECT=mCONFIG_FB_SYS_COPYAREA=mCONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not setCONFIG_FB_SYS_FOPS=mCONFIG_FB_DEFERRED_IO=yCONFIG_FB_HECUBA=mCONFIG_FB_SVGALIB=m
# CONFIG_FB_MACMODES is not setCONFIG_FB_BACKLIGHT=yCONFIG_FB_MODE_HELPERS=yCONFIG_FB_TILEBLITTING=y
#
# Frame buffer hardware drivers
#CONFIG_FB_PM2=m
# CONFIG_FB_PM2_FIFO_DISCONNECT is not setCONFIG_FB_CYBER2000=mCONFIG_FB_ARC=mCONFIG_FB_UVESA=mCONFIG_FB_N411=mCONFIG_FB_HGA=m
# CONFIG_FB_HGA_ACCEL is not setCONFIG_FB_S1D13XXX=mCONFIG_FB_NVIDIA=mCONFIG_FB_NVIDIA_I2C=y
# CONFIG_FB_NVIDIA_DEBUG is not setCONFIG_FB_NVIDIA_BACKLIGHT=yCONFIG_FB_RIVA=mCONFIG_FB_RIVA_I2C=yCONFIG_FB_RIVA_DEBUG=y
# CONFIG_FB_RIVA_BACKLIGHT is not setCONFIG_FB_LE80578=mCONFIG_FB_CARILLO_RANCH=m
# CONFIG_FB_INTEL is not setCONFIG_FB_MATROX=m
# CONFIG_FB_MATROX_MILLENIUM is not setCONFIG_FB_MATROX_MYSTIQUE=yCONFIG_FB_MATROX_G=y
# CONFIG_FB_MATROX_I2C is not setCONFIG_FB_ATY128=mCONFIG_FB_ATY128_BACKLIGHT=yCONFIG_FB_ATY=m
# CONFIG_FB_ATY_CT is not setCONFIG_FB_ATY_GX=yCONFIG_FB_ATY_BACKLIGHT=yCONFIG_FB_S3=mCONFIG_FB_SAVAGE=m
# CONFIG_FB_SAVAGE_I2C is not set
# CONFIG_FB_SAVAGE_ACCEL is not set
# CONFIG_FB_SIS is not setCONFIG_FB_VIA=mCONFIG_FB_NEOMAGIC=m
# CONFIG_FB_KYRO is not setCONFIG_FB_3DFX=m
# CONFIG_FB_3DFX_ACCEL is not set
# CONFIG_FB_3DFX_I2C is not setCONFIG_FB_VOODOO1=m
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not setCONFIG_FB_ARK=mCONFIG_FB_PM3=mCONFIG_FB_CARMINE=mCONFIG_FB_CARMINE_DRAM_EVAL=y
# CONFIG_CARMINE_DRAM_CUSTOM is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_TMIO is not setCONFIG_FB_SM501=m
# CONFIG_XEN_FBDEV_FRONTEND is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not setCONFIG_FB_BROADSHEET=mCONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not setCONFIG_BACKLIGHT_CLASS_DEVICE=mCONFIG_BACKLIGHT_GENERIC=mCONFIG_BACKLIGHT_PROGEAR=mCONFIG_BACKLIGHT_DA903X=mCONFIG_BACKLIGHT_MBP_NVIDIA=mCONFIG_BACKLIGHT_SAHARA=mCONFIG_BACKLIGHT_ADP5520=m
#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=yCONFIG_VGACON_SOFT_SCROLLBACK=yCONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64CONFIG_DUMMY_CONSOLE=yCONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not setCONFIG_LOGO_LINUX_VGA16=y
# CONFIG_LOGO_LINUX_CLUT224 is not setCONFIG_SOUND=m
# CONFIG_SOUND_OSS_CORE is not set
# CONFIG_SND is not set
# CONFIG_SOUND_PRIME is not setCONFIG_HID_SUPPORT=yCONFIG_HID=y
# CONFIG_HIDRAW is not set
#
# USB Input Devices
#CONFIG_USB_HID=y
# CONFIG_HID_PID is not setCONFIG_USB_HIDDEV=yCONFIG_USB_MOUSE=y
#
# Special HID drivers
#CONFIG_HID_A4TECH=yCONFIG_HID_APPLE=yCONFIG_HID_BELKIN=m
# CONFIG_HID_CHERRY is not set
# CONFIG_HID_CHICONY is not set
# CONFIG_HID_CYPRESS is not set
# CONFIG_HID_DRAGONRISE is not setCONFIG_HID_EZKEY=m
# CONFIG_HID_KYE is not setCONFIG_HID_GYRATION=mCONFIG_HID_TWINHAN=m
# CONFIG_HID_KENSINGTON is not setCONFIG_HID_LOGITECH=yCONFIG_LOGITECH_FF=y
# CONFIG_LOGIRUMBLEPAD2_FF is not setCONFIG_HID_MICROSOFT=m
# CONFIG_HID_MONTEREY is not set
# CONFIG_HID_NTRIG is not setCONFIG_HID_PANTHERLORD=y
# CONFIG_PANTHERLORD_FF is not setCONFIG_HID_PETALYNX=yCONFIG_HID_SAMSUNG=yCONFIG_HID_SONY=m
# CONFIG_HID_SUNPLUS is not setCONFIG_HID_GREENASIA=y
# CONFIG_GREENASIA_FF is not set
# CONFIG_HID_SMARTJOYPLUS is not setCONFIG_HID_TOPSEED=y
# CONFIG_HID_THRUSTMASTER is not setCONFIG_HID_ZEROPLUS=m
# CONFIG_ZEROPLUS_FF is not setCONFIG_USB_SUPPORT=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
#
# Miscellaneous USB options
#CONFIG_USB_DEVICEFS=yCONFIG_USB_DEVICE_CLASS=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not setCONFIG_USB_OTG_BLACKLIST_HUB=yCONFIG_USB_MON=m
# CONFIG_USB_WUSB is not set
# CONFIG_USB_WUSB_CBAF is not set
#
# USB Host Controller Drivers
#CONFIG_USB_C67X00_HCD=yCONFIG_USB_XHCI_HCD=mCONFIG_USB_XHCI_HCD_DEBUGGING=yCONFIG_USB_EHCI_HCD=yCONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_EHCI_TT_NEWSCHED is not setCONFIG_USB_OXU210HP_HCD=y
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not setCONFIG_USB_ISP1362_HCD=yCONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_HCD_SSB is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not setCONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_USB_UHCI_HCD=yCONFIG_USB_U132_HCD=m
# CONFIG_USB_SL811_HCD is not setCONFIG_USB_R8A66597_HCD=m
# CONFIG_USB_HWA_HCD is not set
#
# USB Device Class drivers
#CONFIG_USB_ACM=y
# CONFIG_USB_PRINTER is not set
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may #
#
# also be needed; see USB_STORAGE Help for more info # # CONFIG_USB_STORAGE is not set CONFIG_USB_LIBUSUAL=y
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
#
# USB port drivers
#CONFIG_USB_USS720=m
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#CONFIG_USB_EMI62=yCONFIG_USB_EMI26=m
# CONFIG_USB_ADUTUX is not setCONFIG_USB_SEVSEG=mCONFIG_USB_RIO500=yCONFIG_USB_LEGOTOWER=yCONFIG_USB_LCD=yCONFIG_USB_BERRY_CHARGE=yCONFIG_USB_LED=y
# CONFIG_USB_CYPRESS_CY7C63 is not setCONFIG_USB_CYTHERM=y
# CONFIG_USB_IDMOUSE is not setCONFIG_USB_FTDI_ELAN=m
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not setCONFIG_USB_IOWARRIOR=yCONFIG_USB_TEST=mCONFIG_USB_ISIGHTFW=yCONFIG_USB_VST=y
# CONFIG_USB_ATM is not set
#
# OTG and related infrastructure
#CONFIG_USB_OTG_UTILS=yCONFIG_TWL4030_USB=yCONFIG_NOP_USB_XCEIV=m
# CONFIG_UWB is not set
# CONFIG_MMC is not setCONFIG_MEMSTICK=y
# CONFIG_MEMSTICK_DEBUG is not set
#
# MemoryStick drivers
#CONFIG_MEMSTICK_UNSAFE_RESUME=yCONFIG_MSPRO_BLOCK=m
#
# MemoryStick Host Controller Drivers
#
# CONFIG_MEMSTICK_TIFM_MS is not setCONFIG_MEMSTICK_JMICRON_38X=yCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=y
#
# LED drivers
#CONFIG_LEDS_ALIX2=mCONFIG_LEDS_PCA9532=yCONFIG_LEDS_LP3944=y
# CONFIG_LEDS_CLEVO_MAIL is not setCONFIG_LEDS_PCA955X=y
# CONFIG_LEDS_DA903X is not setCONFIG_LEDS_DAC124S085=mCONFIG_LEDS_REGULATOR=mCONFIG_LEDS_BD2802=yCONFIG_LEDS_ADP5520=m
#
# LED Triggers
#CONFIG_LEDS_TRIGGERS=yCONFIG_LEDS_TRIGGER_TIMER=yCONFIG_LEDS_TRIGGER_HEARTBEAT=yCONFIG_LEDS_TRIGGER_BACKLIGHT=mCONFIG_LEDS_TRIGGER_DEFAULT_ON=y
#
# iptables trigger is under Netfilter config (LED target) # CONFIG_ACCESSIBILITY=y # CONFIG_A11Y_BRAILLE_CONSOLE is not set CONFIG_INFINIBAND=y CONFIG_INFINIBAND_USER_MAD=m CONFIG_INFINIBAND_USER_ACCESS=m CONFIG_INFINIBAND_USER_MEM=y CONFIG_INFINIBAND_ADDR_TRANS=y # CONFIG_INFINIBAND_MTHCA is not set # CONFIG_INFINIBAND_IPATH is not set CONFIG_INFINIBAND_AMSO1100=y CONFIG_INFINIBAND_AMSO1100_DEBUG=y CONFIG_MLX4_INFINIBAND=y CONFIG_INFINIBAND_NES=y CONFIG_INFINIBAND_NES_DEBUG=y CONFIG_INFINIBAND_IPOIB=m CONFIG_INFINIBAND_IPOIB_CM=y CONFIG_INFINIBAND_IPOIB_DEBUG=y # CONFIG_INFINIBAND_IPOIB_DEBUG_DATA is not set CONFIG_INFINIBAND_SRP=m CONFIG_INFINIBAND_ISER=m # CONFIG_EDAC is not set # CONFIG_RTC_CLASS is not set CONFIG_CS5535_CLOCK_EVENT_SRC=y CONFIG_DMADEVICES=y
#
# DMA Devices
#CONFIG_ASYNC_TX_DISABLE_CHANNEL_SWITCH=yCONFIG_INTEL_IOATDMA=mCONFIG_DMA_ENGINE=y
#
# DMA Clients
#CONFIG_NET_DMA=y
# CONFIG_ASYNC_TX_DMA is not setCONFIG_DMATEST=yCONFIG_DCA=mCONFIG_AUXDISPLAY=yCONFIG_KS0108=mCONFIG_KS0108_PORT=0x378CONFIG_KS0108_DELAY=2CONFIG_CFAG12864B=mCONFIG_CFAG12864B_RATE=20CONFIG_UIO=yCONFIG_UIO_CIF=m
# CONFIG_UIO_PDRV is not setCONFIG_UIO_PDRV_GENIRQ=y
# CONFIG_UIO_SMX is not setCONFIG_UIO_AEC=m
# CONFIG_UIO_SERCOS3 is not set
# CONFIG_UIO_PCI_GENERIC is not set
#
# TI VLYNQ
#CONFIG_XEN_BALLOON=y
# CONFIG_XEN_SCRUB_PAGES is not setCONFIG_XEN_DEV_EVTCHN=yCONFIG_XENFS=yCONFIG_XEN_COMPAT_XENFS=yCONFIG_XEN_SYS_HYPERVISOR=y
# CONFIG_X86_PLATFORM_DEVICES is not set
#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_FIRMWARE_MEMMAP is not setCONFIG_EFI_VARS=mCONFIG_DELL_RBU=m
# CONFIG_DCDBAS is not set
# CONFIG_DMIID is not setCONFIG_ISCSI_IBFT_FIND=yCONFIG_ISCSI_IBFT=m
#
# File systems
#CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not setCONFIG_EXT3_FS=yCONFIG_EXT3_DEFAULTS_TO_ORDERED=yCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_EXT4_FS=y
# CONFIG_EXT4_FS_XATTR is not setCONFIG_EXT4_DEBUG=yCONFIG_JBD=yCONFIG_JBD_DEBUG=yCONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not setCONFIG_FS_MBCACHE=yCONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not setCONFIG_REISERFS_PROC_INFO=y
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not setCONFIG_FS_POSIX_ACL=yCONFIG_XFS_FS=yCONFIG_XFS_QUOTA=y
# CONFIG_XFS_POSIX_ACL is not setCONFIG_XFS_RT=y
# CONFIG_XFS_DEBUG is not setCONFIG_GFS2_FS=m
# CONFIG_GFS2_FS_LOCKING_DLM is not setCONFIG_OCFS2_FS=y
# CONFIG_OCFS2_FS_O2CB is not setCONFIG_OCFS2_FS_STATS=y
# CONFIG_OCFS2_DEBUG_MASKLOG is not set
# CONFIG_OCFS2_DEBUG_FS is not setCONFIG_BTRFS_FS=y
# CONFIG_BTRFS_FS_POSIX_ACL is not setCONFIG_NILFS2_FS=mCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY=yCONFIG_INOTIFY_USER=yCONFIG_QUOTA=yCONFIG_QUOTA_NETLINK_INTERFACE=yCONFIG_PRINT_QUOTA_WARNING=yCONFIG_QUOTA_TREE=yCONFIG_QFMT_V1=yCONFIG_QFMT_V2=yCONFIG_QUOTACTL=yCONFIG_AUTOFS_FS=y
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set
#
# Caches
#
# CONFIG_FSCACHE is not set
#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not setCONFIG_UDF_FS=yCONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=mCONFIG_MSDOS_FS=mCONFIG_VFAT_FS=mCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=y
# CONFIG_PROC_KCORE is not setCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_HUGETLBFS=yCONFIG_HUGETLB_PAGE=yCONFIG_CONFIGFS_FS=yCONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not setCONFIG_AFFS_FS=y
# CONFIG_ECRYPT_FS is not setCONFIG_HFS_FS=mCONFIG_HFSPLUS_FS=m
# CONFIG_BEFS_FS is not setCONFIG_BFS_FS=m
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not setCONFIG_SQUASHFS=yCONFIG_SQUASHFS_EMBEDDED=yCONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not setCONFIG_OMFS_FS=yCONFIG_HPFS_FS=mCONFIG_QNX4FS_FS=mCONFIG_ROMFS_FS=yCONFIG_ROMFS_BACKED_BY_BLOCK=y
# CONFIG_ROMFS_BACKED_BY_MTD is not set
# CONFIG_ROMFS_BACKED_BY_BOTH is not setCONFIG_ROMFS_ON_BLOCK=yCONFIG_SYSV_FS=yCONFIG_UFS_FS=yCONFIG_UFS_FS_WRITE=yCONFIG_UFS_DEBUG=yCONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_NFS_FS is not setCONFIG_NFSD=yCONFIG_NFSD_V2_ACL=yCONFIG_NFSD_V3=yCONFIG_NFSD_V3_ACL=yCONFIG_NFSD_V4=yCONFIG_LOCKD=yCONFIG_LOCKD_V4=yCONFIG_EXPORTFS=yCONFIG_NFS_ACL_SUPPORT=yCONFIG_NFS_COMMON=yCONFIG_SUNRPC=yCONFIG_SUNRPC_GSS=yCONFIG_SUNRPC_XPRT_RDMA=yCONFIG_RPCSEC_GSS_KRB5=yCONFIG_RPCSEC_GSS_SPKM3=yCONFIG_SMB_FS=mCONFIG_SMB_NLS_DEFAULT=yCONFIG_SMB_NLS_REMOTE="cp437"CONFIG_CIFS=mCONFIG_CIFS_STATS=y
# CONFIG_CIFS_STATS2 is not setCONFIG_CIFS_WEAK_PW_HASH=yCONFIG_CIFS_UPCALL=y
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_DFS_UPCALL is not setCONFIG_CIFS_EXPERIMENTAL=yCONFIG_NCP_FS=mCONFIG_NCPFS_PACKET_SIGNING=yCONFIG_NCPFS_IOCTL_LOCKING=yCONFIG_NCPFS_STRONG=y
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not setCONFIG_NCPFS_SMALLDOS=yCONFIG_NCPFS_NLS=yCONFIG_NCPFS_EXTRAS=yCONFIG_CODA_FS=y
# CONFIG_AFS_FS is not set
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=yCONFIG_ACORN_PARTITION=y
# CONFIG_ACORN_PARTITION_CUMANA is not setCONFIG_ACORN_PARTITION_EESOX=y
# CONFIG_ACORN_PARTITION_ICS is not setCONFIG_ACORN_PARTITION_ADFS=y
# CONFIG_ACORN_PARTITION_POWERTEC is not setCONFIG_ACORN_PARTITION_RISCIX=yCONFIG_OSF_PARTITION=yCONFIG_AMIGA_PARTITION=y
# CONFIG_ATARI_PARTITION is not setCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_BSD_DISKLABEL=yCONFIG_MINIX_SUBPARTITION=yCONFIG_SOLARIS_X86_PARTITION=y
# CONFIG_UNIXWARE_DISKLABEL is not setCONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not setCONFIG_SGI_PARTITION=yCONFIG_ULTRIX_PARTITION=yCONFIG_SUN_PARTITION=yCONFIG_KARMA_PARTITION=y
# CONFIG_EFI_PARTITION is not setCONFIG_SYSV68_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not setCONFIG_NLS_CODEPAGE_737=mCONFIG_NLS_CODEPAGE_775=yCONFIG_NLS_CODEPAGE_850=yCONFIG_NLS_CODEPAGE_852=m
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not setCONFIG_NLS_CODEPAGE_860=y
# CONFIG_NLS_CODEPAGE_861 is not setCONFIG_NLS_CODEPAGE_862=yCONFIG_NLS_CODEPAGE_863=yCONFIG_NLS_CODEPAGE_864=y
# CONFIG_NLS_CODEPAGE_865 is not setCONFIG_NLS_CODEPAGE_866=mCONFIG_NLS_CODEPAGE_869=y
# CONFIG_NLS_CODEPAGE_936 is not setCONFIG_NLS_CODEPAGE_950=yCONFIG_NLS_CODEPAGE_932=yCONFIG_NLS_CODEPAGE_949=mCONFIG_NLS_CODEPAGE_874=y
# CONFIG_NLS_ISO8859_8 is not setCONFIG_NLS_CODEPAGE_1250=y
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not setCONFIG_NLS_ISO8859_1=yCONFIG_NLS_ISO8859_2=yCONFIG_NLS_ISO8859_3=m
# CONFIG_NLS_ISO8859_4 is not setCONFIG_NLS_ISO8859_5=yCONFIG_NLS_ISO8859_6=mCONFIG_NLS_ISO8859_7=mCONFIG_NLS_ISO8859_9=y
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not setCONFIG_NLS_ISO8859_15=mCONFIG_NLS_KOI8_R=yCONFIG_NLS_KOI8_U=mCONFIG_NLS_UTF8=y
# CONFIG_DLM is not set
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
# CONFIG_ENABLE_WARN_DEPRECATED is not setCONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=2048CONFIG_MAGIC_SYSRQ=yCONFIG_STRIP_ASM_SYMS=yCONFIG_UNUSED_SYMBOLS=yCONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not setCONFIG_DEBUG_SECTION_MISMATCH=yCONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not setCONFIG_DETECT_SOFTLOCKUP=yCONFIG_NMI_WATCHDOG=yCONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=yCONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=1CONFIG_DETECT_HUNG_TASK=y
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not setCONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0CONFIG_SCHED_DEBUG=yCONFIG_SCHEDSTATS=yCONFIG_TIMER_STATS=yCONFIG_DEBUG_OBJECTS=yCONFIG_DEBUG_OBJECTS_SELFTEST=yCONFIG_DEBUG_OBJECTS_FREE=y
# CONFIG_DEBUG_OBJECTS_TIMERS is not set
# CONFIG_DEBUG_OBJECTS_WORK is not setCONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1CONFIG_SLUB_DEBUG_ON=yCONFIG_SLUB_STATS=y
# CONFIG_DEBUG_RT_MUTEXES is not setCONFIG_RT_MUTEX_TESTER=yCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=yCONFIG_DEBUG_LOCK_ALLOC=yCONFIG_PROVE_LOCKING=yCONFIG_PROVE_RCU=yCONFIG_LOCKDEP=yCONFIG_LOCK_STAT=y
# CONFIG_DEBUG_LOCKDEP is not setCONFIG_TRACE_IRQFLAGS=yCONFIG_DEBUG_SPINLOCK_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not setCONFIG_STACKTRACE=yCONFIG_DEBUG_VM=yCONFIG_DEBUG_VIRTUAL=y
# CONFIG_DEBUG_WRITECOUNT is not setCONFIG_DEBUG_MEMORY_INIT=yCONFIG_DEBUG_LIST=yCONFIG_DEBUG_SG=yCONFIG_DEBUG_NOTIFIERS=y
# CONFIG_DEBUG_CREDENTIALS is not setCONFIG_ARCH_WANT_FRAME_POINTERS=yCONFIG_FRAME_POINTER=yCONFIG_BOOT_PRINTK_DELAY=yCONFIG_RCU_TORTURE_TEST=yCONFIG_RCU_TORTURE_TEST_RUNNABLE=yCONFIG_RCU_CPU_STALL_DETECTOR=yCONFIG_BACKTRACE_SELF_TEST=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not setCONFIG_FAULT_INJECTION=yCONFIG_FAILSLAB=yCONFIG_FAIL_PAGE_ALLOC=yCONFIG_FAIL_MAKE_REQUEST=yCONFIG_FAIL_IO_TIMEOUT=yCONFIG_FAULT_INJECTION_DEBUG_FS=yCONFIG_LATENCYTOP=y
# CONFIG_SYSCTL_SYSCALL_CHECK is not setCONFIG_DEBUG_PAGEALLOC=yCONFIG_USER_STACKTRACE_SUPPORT=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FTRACE_NMI_ENTER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=yCONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_TRACER_MAX_TRACE=yCONFIG_RING_BUFFER=yCONFIG_FTRACE_NMI_ENTER=yCONFIG_EVENT_TRACING=yCONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_RING_BUFFER_ALLOW_SWAP=yCONFIG_TRACING=yCONFIG_GENERIC_TRACER=yCONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=yCONFIG_FUNCTION_TRACER=yCONFIG_FUNCTION_GRAPH_TRACER=yCONFIG_IRQSOFF_TRACER=yCONFIG_SYSPROF_TRACER=yCONFIG_SCHED_TRACER=y
# CONFIG_FTRACE_SYSCALLS is not setCONFIG_BOOT_TRACER=yCONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not setCONFIG_POWER_TRACER=y
# CONFIG_KSYM_TRACER is not set
# CONFIG_STACK_TRACER is not setCONFIG_KMEMTRACE=yCONFIG_WORKQUEUE_TRACER=yCONFIG_BLK_DEV_IO_TRACE=yCONFIG_DYNAMIC_FTRACE=yCONFIG_FUNCTION_PROFILER=yCONFIG_FTRACE_MCOUNT_RECORD=yCONFIG_FTRACE_SELFTEST=yCONFIG_FTRACE_STARTUP_TEST=yCONFIG_EVENT_TRACE_TEST_SYSCALLS=yCONFIG_MMIOTRACE=yCONFIG_MMIOTRACE_TEST=m
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not setCONFIG_FIREWIRE_OHCI_REMOTE_DMA=yCONFIG_DYNAMIC_DEBUG=yCONFIG_DMA_API_DEBUG=yCONFIG_SAMPLES=yCONFIG_SAMPLE_TRACEPOINTS=mCONFIG_SAMPLE_TRACE_EVENTS=m
# CONFIG_SAMPLE_KOBJECT is not setCONFIG_SAMPLE_HW_BREAKPOINT=mCONFIG_HAVE_ARCH_KGDB=yCONFIG_KGDB=y
# CONFIG_KGDB_SERIAL_CONSOLE is not setCONFIG_KGDB_TESTS=yCONFIG_HAVE_ARCH_KMEMCHECK=yCONFIG_STRICT_DEVMEM=y
# CONFIG_X86_VERBOSE_BOOTUP is not setCONFIG_EARLY_PRINTK=yCONFIG_EARLY_PRINTK_DBGP=yCONFIG_DEBUG_STACKOVERFLOW=yCONFIG_DEBUG_STACK_USAGE=y
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_X86_PTDUMP is not setCONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_NX_TEST is not setCONFIG_IOMMU_STRESS=yCONFIG_HAVE_MMIOTRACE_SUPPORT=yCONFIG_IO_DELAY_TYPE_0X80=0CONFIG_IO_DELAY_TYPE_0XED=1CONFIG_IO_DELAY_TYPE_UDELAY=2CONFIG_IO_DELAY_TYPE_NONE=3
# CONFIG_IO_DELAY_0X80 is not setCONFIG_IO_DELAY_0XED=y
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not setCONFIG_DEFAULT_IO_DELAY_TYPE=1CONFIG_DEBUG_BOOT_PARAMS=yCONFIG_CPA_DEBUG=yCONFIG_OPTIMIZE_INLINING=y
#
# Security options
#CONFIG_KEYS=yCONFIG_KEYS_DEBUG_PROC_KEYS=yCONFIG_SECURITY=yCONFIG_SECURITYFS=y
# CONFIG_SECURITY_NETWORK is not setCONFIG_SECURITY_PATH=yCONFIG_SECURITY_TOMOYO=y
# CONFIG_IMA is not set
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
# CONFIG_DEFAULT_SECURITY_SMACK is not setCONFIG_DEFAULT_SECURITY_TOMOYO=y
# CONFIG_DEFAULT_SECURITY_DAC is not setCONFIG_DEFAULT_SECURITY="tomoyo"CONFIG_ASYNC_TX_DISABLE_PQ_VAL_DMA=yCONFIG_ASYNC_TX_DISABLE_XOR_VAL_DMA=yCONFIG_CRYPTO=y
#
# Crypto core or helper
#
# CONFIG_CRYPTO_FIPS is not setCONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD=yCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=yCONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_PCOMP=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_GF128MUL=m
# CONFIG_CRYPTO_NULL is not setCONFIG_CRYPTO_WORKQUEUE=yCONFIG_CRYPTO_CRYPTD=yCONFIG_CRYPTO_AUTHENC=y
# CONFIG_CRYPTO_TEST is not set
#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not setCONFIG_CRYPTO_GCM=mCONFIG_CRYPTO_SEQIV=y
#
# Block modes
#CONFIG_CRYPTO_CBC=yCONFIG_CRYPTO_CTR=yCONFIG_CRYPTO_CTS=y
# CONFIG_CRYPTO_ECB is not setCONFIG_CRYPTO_LRW=m
# CONFIG_CRYPTO_PCBC is not setCONFIG_CRYPTO_XTS=mCONFIG_CRYPTO_FPU=m
#
# Hash modes
#CONFIG_CRYPTO_HMAC=yCONFIG_CRYPTO_XCBC=y
# CONFIG_CRYPTO_VMAC is not set
#
# Digest
#CONFIG_CRYPTO_CRC32C=yCONFIG_CRYPTO_CRC32C_INTEL=mCONFIG_CRYPTO_GHASH=m
# CONFIG_CRYPTO_MD4 is not setCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_MICHAEL_MIC=mCONFIG_CRYPTO_RMD128=yCONFIG_CRYPTO_RMD160=mCONFIG_CRYPTO_RMD256=y
# CONFIG_CRYPTO_RMD320 is not setCONFIG_CRYPTO_SHA1=yCONFIG_CRYPTO_SHA256=yCONFIG_CRYPTO_SHA512=yCONFIG_CRYPTO_TGR192=yCONFIG_CRYPTO_WP512=mCONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=m
#
# Ciphers
#CONFIG_CRYPTO_AES=yCONFIG_CRYPTO_AES_X86_64=yCONFIG_CRYPTO_AES_NI_INTEL=m
# CONFIG_CRYPTO_ANUBIS is not setCONFIG_CRYPTO_ARC4=yCONFIG_CRYPTO_BLOWFISH=m
# CONFIG_CRYPTO_CAMELLIA is not setCONFIG_CRYPTO_CAST5=y
# CONFIG_CRYPTO_CAST6 is not setCONFIG_CRYPTO_DES=yCONFIG_CRYPTO_FCRYPT=m
# CONFIG_CRYPTO_KHAZAD is not setCONFIG_CRYPTO_SALSA20=mCONFIG_CRYPTO_SALSA20_X86_64=mCONFIG_CRYPTO_SEED=yCONFIG_CRYPTO_SERPENT=yCONFIG_CRYPTO_TEA=mCONFIG_CRYPTO_TWOFISH=yCONFIG_CRYPTO_TWOFISH_COMMON=yCONFIG_CRYPTO_TWOFISH_X86_64=m
#
# Compression
#CONFIG_CRYPTO_DEFLATE=yCONFIG_CRYPTO_ZLIB=mCONFIG_CRYPTO_LZO=y
#
# Random Number Generation
#CONFIG_CRYPTO_ANSI_CPRNG=mCONFIG_CRYPTO_HW=yCONFIG_CRYPTO_DEV_PADLOCK=m
# CONFIG_CRYPTO_DEV_PADLOCK_AES is not set
# CONFIG_CRYPTO_DEV_PADLOCK_SHA is not setCONFIG_CRYPTO_DEV_HIFN_795X=yCONFIG_CRYPTO_DEV_HIFN_795X_RNG=yCONFIG_HAVE_KVM=y
# CONFIG_VIRTUALIZATION is not setCONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_FIND_FIRST_BIT=yCONFIG_GENERIC_FIND_NEXT_BIT=yCONFIG_GENERIC_FIND_LAST_BIT=yCONFIG_CRC_CCITT=yCONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not setCONFIG_CRC_ITU_T=yCONFIG_CRC32=yCONFIG_CRC7=yCONFIG_LIBCRC32C=yCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=yCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_DECOMPRESS_BZIP2=yCONFIG_DECOMPRESS_LZO=yCONFIG_TEXTSEARCH=yCONFIG_TEXTSEARCH_KMP=yCONFIG_TEXTSEARCH_BM=yCONFIG_TEXTSEARCH_FSM=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_CHECK_SIGNATURE=yCONFIG_CPUMASK_OFFSTACK=yCONFIG_NLATTR=yCONFIG_LRU_CACHE=mCONFIG_FORCE_SUCCESSFUL_BUILD=yCONFIG_FORCE_MINIMAL_CONFIG=yCONFIG_FORCE_MINIMAL_CONFIG_64=yCONFIG_FORCE_MINIMAL_CONFIG_PHYS=y
Quoted 3 lines · Ingo Molnar
==============================================
[ BUG: Unsafercu_dereference_check()usage! ]
----------------------------------------------
Also, could we please make the message a bit less alarmist, something more in line with existing lockdep warnings:
Quoted 1 line
[ INFO: potentially unsafe
rcu_dereference_check()usage detected. ]
... as we should expect quite a few false positives, initially at least.
Thanks,
Ingo
another, different warning is:
PM: Adding info for No Bus:vcsa6
------------[ cut here ]------------ WARNING: at kernel/softirq.c:143 local_bh_enable_ip+0xba/0xf0() Hardware name: System Product Name Modules linked in: Pid: 0, comm: swapper Not tainted 2.6.33-tip-00730-gacec70d-dirty #18737 Call Trace: [<ffffffff8104e0eb>] warn_slowpath_common+0x7b/0xc0 [<ffffffff8166cd60>] ? __dst_free+0x60/0xd0 [<ffffffff8104e144>] warn_slowpath_null+0x14/0x20 [<ffffffff81055c7a>] local_bh_enable_ip+0xba/0xf0 [<ffffffff817c16d9>] _raw_spin_unlock_bh+0x19/0x20 [<ffffffff8166cd60>] __dst_free+0x60/0xd0 [<ffffffff8169de14>] dst_rcu_free+0x34/0x40 [<ffffffff8109c80d>] rcu_do_batch+0xcd/0x290 [<ffffffff8109ca3e>] __rcu_process_callbacks+0x6e/0xe0 [<ffffffff8109cbca>] rcu_needs_cpu+0x11a/0x170 [<ffffffff8107c14e>] tick_nohz_stop_sched_tick+0x15e/0x440 [<ffffffff81001dc9>] cpu_idle+0x79/0x120 [<ffffffff817bb627>] start_secondary+0xa0/0xa2 ---[ end trace 155c62ea9b561096 ]---
Config attached.
Ingo
#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.33
# Thu Feb 25 14:48:32 2010
#
# CONFIG_64BIT is not setCONFIG_X86_32=y
# CONFIG_X86_64 is not setCONFIG_X86=yCONFIG_OUTPUT_FORMAT="elf32-i386" CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig" CONFIG_GENERIC_TIME=yCONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=yCONFIG_MMU=yCONFIG_ZONE_DMA=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_HWEIGHT=yCONFIG_GENERIC_GPIO=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_CALIBRATE_DELAY=y
# CONFIG_GENERIC_TIME_VSYSCALL is not set CONFIG_ARCH_HAS_CPU_RELAX=y CONFIG_ARCH_HAS_DEFAULT_IDLE=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
# CONFIG_HAVE_CPUMASK_OF_CPU_MAP is not set CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=y
# CONFIG_ZONE_DMA32 is not set CONFIG_ARCH_POPULATES_NODE_MAP=y
# CONFIG_AUDIT_ARCH is not set CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_HAVE_EARLY_RES=yCONFIG_HAVE_INTEL_TXT=yCONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_PENDING_IRQ=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_X86_32_SMP=yCONFIG_X86_HT=yCONFIG_X86_TRAMPOLINE=yCONFIG_X86_32_LAZY_GS=yCONFIG_KTIME_SCALAR=y CONFIG_BOOTPARAM_SUPPORT_NOT_WANTED=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" CONFIG_CONSTRUCTORS=y
#
# General setup
#CONFIG_EXPERIMENTAL=y
# CONFIG_BROKEN_BOOT_ALLOWED4 is not set
# CONFIG_BROKEN_BOOT_DISALLOWED is not set
# CONFIG_BROKEN_BOOT_EUROPE is not set
# CONFIG_BROKEN_BOOT_TITAN is not setCONFIG_LOCK_KERNEL=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=yCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_LZO is not setCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not setCONFIG_AUDIT=yCONFIG_AUDITSYSCALL=yCONFIG_AUDIT_TREE=y
#
# RCU Subsystem
#CONFIG_TREE_RCU=y
# CONFIG_TREE_PREEMPT_RCU is not set
# CONFIG_TINY_RCU is not setCONFIG_RCU_TRACE=yCONFIG_RCU_FANOUT=32CONFIG_RCU_FANOUT_EXACT=yCONFIG_RCU_FAST_NO_HZ=yCONFIG_TREE_RCU_TRACE=yCONFIG_IKCONFIG=y
# CONFIG_IKCONFIG_PROC is not setCONFIG_LOG_BUF_SHIFT=20CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=yCONFIG_CGROUPS=yCONFIG_CGROUP_DEBUG=y
# CONFIG_CGROUP_NS is not setCONFIG_CGROUP_FREEZER=yCONFIG_CGROUP_DEVICE=yCONFIG_CPUSETS=yCONFIG_PROC_PID_CPUSET=yCONFIG_CGROUP_CPUACCT=yCONFIG_RESOURCE_COUNTERS=yCONFIG_CGROUP_MEM_RES_CTLR=yCONFIG_CGROUP_MEM_RES_CTLR_SWAP=yCONFIG_CGROUP_SCHED=y
# CONFIG_FAIR_GROUP_SCHED is not setCONFIG_RT_GROUP_SCHED=yCONFIG_MM_OWNER=yCONFIG_SYSFS_DEPRECATED=yCONFIG_SYSFS_DEPRECATED_V2=yCONFIG_RELAY=yCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_IPC_NS=yCONFIG_USER_NS=yCONFIG_PID_NS=yCONFIG_NET_NS=y
# CONFIG_BLK_DEV_INITRD is not setCONFIG_CC_OPTIMIZE_FOR_SIZE=yCONFIG_SYSCTL=yCONFIG_ANON_INODES=y
# CONFIG_EMBEDDED is not setCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=yCONFIG_KALLSYMS_EXTRA_PASS=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_HAVE_PERF_EVENTS=yCONFIG_PERF_USE_VMALLOC=yCONFIG_PERF_EVENTS_NMI=y
#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=yCONFIG_PERF_COUNTERS=yCONFIG_DEBUG_PERF_USE_VMALLOC=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_PCI_QUIRKS=yCONFIG_SLUB_DEBUG=y
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_SLOB is not setCONFIG_PROFILING=yCONFIG_TRACEPOINTS=yCONFIG_OPROFILE=yCONFIG_OPROFILE_IBS=yCONFIG_OPROFILE_EVENT_MULTIPLEX=yCONFIG_HAVE_OPROFILE=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_USER_RETURN_NOTIFIER=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_ATTRS=yCONFIG_HAVE_DMA_API_DEBUG=yCONFIG_HAVE_HW_BREAKPOINT=yCONFIG_HAVE_USER_RETURN_NOTIFIER=y
#
# GCOV-based kernel profiling
#
# CONFIG_SLOW_WORK is not setCONFIG_HAVE_GENERIC_DMA_COHERENT=yCONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0
# CONFIG_MODULES is not setCONFIG_STOP_MACHINE=yCONFIG_BLOCK=y
# CONFIG_LBDAF is not set
# CONFIG_BLK_DEV_BSG is not setCONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_BLK_CGROUP is not set
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_DEADLINE=y
# CONFIG_IOSCHED_CFQ is not set CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set CONFIG_DEFAULT_IOSCHED="deadline" CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set # CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set # CONFIG_INLINE_SPIN_UNLOCK is not set
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set # CONFIG_INLINE_READ_UNLOCK is not set
# CONFIG_INLINE_READ_UNLOCK_BH is not set # CONFIG_INLINE_READ_UNLOCK_IRQ is not set # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set # CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set # CONFIG_INLINE_WRITE_UNLOCK is not set
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set # CONFIG_MUTEX_SPIN_ON_OWNER is not set CONFIG_FREEZER=y
#
# Processor type and features
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=yCONFIG_GENERIC_CLOCKEVENTS_BUILD=y
# CONFIG_SMP_SUPPORT is not setCONFIG_SPARSE_IRQ=y
# CONFIG_X86_MPPARSE is not setCONFIG_X86_BIGSMP=y
# CONFIG_X86_EXTENDED_PLATFORM is not setCONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_PARAVIRT_GUEST is not setCONFIG_NO_BOOTMEM=y
# CONFIG_MEMTEST is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not setCONFIG_MWINCHIP3D=y
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set
# CONFIG_GENERIC_CPU is not setCONFIG_X86_GENERIC=yCONFIG_X86_CPU=yCONFIG_X86_INTERNODE_CACHE_SHIFT=6CONFIG_X86_CMPXCHG=yCONFIG_X86_L1_CACHE_SHIFT=6CONFIG_X86_XADD=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_ALIGNMENT_16=yCONFIG_X86_INTEL_USERCOPY=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_OOSTORE=yCONFIG_X86_TSC=yCONFIG_X86_MINIMUM_CPU_FAMILY=4CONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_CYRIX_32=yCONFIG_CPU_SUP_AMD=yCONFIG_CPU_SUP_CENTAUR=yCONFIG_CPU_SUP_TRANSMETA_32=yCONFIG_CPU_SUP_UMC_32=yCONFIG_HPET_TIMER=yCONFIG_HPET_EMULATE_RTC=yCONFIG_DMI=y
# CONFIG_IOMMU_HELPER is not setCONFIG_IOMMU_API=yCONFIG_NR_CPUS=32CONFIG_SCHED_SMT=y
# CONFIG_SCHED_MC is not setCONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not setCONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=yCONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=yCONFIG_X86_MCE=y
# CONFIG_X86_MCE_INTEL is not set
# CONFIG_X86_MCE_AMD is not setCONFIG_X86_ANCIENT_MCE=yCONFIG_X86_MCE_INJECT=yCONFIG_VM86=yCONFIG_I8K=yCONFIG_X86_REBOOTFIXUPS=yCONFIG_MICROCODE=y
# CONFIG_MICROCODE_INTEL is not setCONFIG_MICROCODE_AMD=yCONFIG_MICROCODE_OLD_INTERFACE=yCONFIG_X86_MSR=y
# CONFIG_X86_CPUID is not setCONFIG_UP_WANTED_1=y
# CONFIG_UP_WANTED_2 is not setCONFIG_SMP=y
# CONFIG_NOHIGHMEM is not setCONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not setCONFIG_PAGE_OFFSET=0xC0000000CONFIG_HIGHMEM=y
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not setCONFIG_NEED_NODE_MEMMAP_SIZE=yCONFIG_ARCH_FLATMEM_ENABLE=yCONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SELECT_MEMORY_MODEL=yCONFIG_ILLEGAL_POINTER_VALUE=0CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
# CONFIG_DISCONTIGMEM_MANUAL is not setCONFIG_SPARSEMEM_MANUAL=yCONFIG_SPARSEMEM=yCONFIG_HAVE_MEMORY_PRESENT=yCONFIG_SPARSEMEM_STATIC=y
# CONFIG_MEMORY_HOTPLUG is not setCONFIG_SPLIT_PTLOCK_CPUS=999999
# CONFIG_PHYS_ADDR_T_64BIT is not setCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=yCONFIG_MMU_NOTIFIER=y
# CONFIG_KSM is not setCONFIG_DEFAULT_MMAP_MIN_ADDR=4096
# CONFIG_HIGHPTE is not setCONFIG_X86_CHECK_BIOS_CORRUPTION=yCONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=yCONFIG_X86_RESERVE_LOW_64K=yCONFIG_MATH_EMULATION=yCONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not setCONFIG_X86_PAT=yCONFIG_ARCH_USES_PG_UNCACHED=yCONFIG_EFI=y
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not setCONFIG_HZ_1000=yCONFIG_HZ=1000CONFIG_SCHED_HRTICK=yCONFIG_KEXEC=y
# CONFIG_CRASH_DUMP is not setCONFIG_KEXEC_JUMP=yCONFIG_PHYSICAL_START=0x1000000CONFIG_RELOCATABLE=yCONFIG_X86_NEED_RELOCS=yCONFIG_PHYSICAL_ALIGN=0x1000000CONFIG_HOTPLUG_CPU=yCONFIG_COMPAT_VDSO=y
# CONFIG_CMDLINE_BOOL is not setCONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
#
# Power management and ACPI options
#CONFIG_PM=y
# CONFIG_PM_DEBUG is not setCONFIG_PM_SLEEP_SMP=yCONFIG_PM_SLEEP=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=yCONFIG_HIBERNATION_NVS=yCONFIG_HIBERNATION=yCONFIG_PM_STD_PARTITION=""CONFIG_PM_RUNTIME=yCONFIG_ACPI=yCONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not setCONFIG_ACPI_PROCFS_POWER=yCONFIG_ACPI_POWER_METER=y
# CONFIG_ACPI_SYSFS_POWER is not setCONFIG_ACPI_PROC_EVENT=y
# CONFIG_ACPI_AC is not setCONFIG_ACPI_BATTERY=y
# CONFIG_ACPI_BUTTON is not setCONFIG_ACPI_VIDEO=yCONFIG_ACPI_FAN=yCONFIG_ACPI_DOCK=y
# CONFIG_ACPI_PROCESSOR is not set
# CONFIG_ACPI_CUSTOM_DSDT is not setCONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not setCONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not setCONFIG_ACPI_SBS=y
# CONFIG_SFI is not set
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=y CONFIG_CPU_FREQ_DEBUG=y CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set # CONFIG_CPU_FREQ_GOV_PERFORMANCE is not set CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
#
# CPUFreq processor drivers
#
# CONFIG_X86_POWERNOW_K6 is not setCONFIG_X86_POWERNOW_K7=y
# CONFIG_X86_GX_SUSPMOD is not setCONFIG_X86_SPEEDSTEP_CENTRINO=yCONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=yCONFIG_X86_SPEEDSTEP_ICH=y
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not setCONFIG_X86_LONGRUN=yCONFIG_X86_E_POWERSAVER=y
#
# shared options # CONFIG_X86_SPEEDSTEP_LIB=y # CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK is not set CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y
#
# Bus options (PCI etc.)
#CONFIG_PCI=yCONFIG_PCI_GOBIOS=y
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
# CONFIG_PCI_GOOLPC is not set
# CONFIG_PCI_GOANY is not setCONFIG_PCI_BIOS=yCONFIG_PCI_DOMAINS=yCONFIG_DMAR=y
# CONFIG_DMAR_DEFAULT_ON is not setCONFIG_DMAR_FLOPPY_WA=y
# CONFIG_PCIEPORTBUS is not setCONFIG_ARCH_SUPPORTS_MSI=yCONFIG_PCI_MSI=yCONFIG_PCI_LEGACY=y
# CONFIG_PCI_DEBUG is not setCONFIG_PCI_STUB=y
# CONFIG_HT_IRQ is not set
# CONFIG_PCI_IOV is not setCONFIG_PCI_IOAPIC=yCONFIG_ISA_DMA_API=yCONFIG_ISA=yCONFIG_EISA=yCONFIG_EISA_VLB_PRIMING=yCONFIG_EISA_PCI_EISA=yCONFIG_EISA_VIRTUAL_ROOT=yCONFIG_EISA_NAMES=y
# CONFIG_MCA is not set
CONFIG_SCx200=y
# CONFIG_SCx200HR_TIMER is not setCONFIG_OLPC=yCONFIG_K8_NB=yCONFIG_PCCARD=yCONFIG_PCMCIA=yCONFIG_PCMCIA_LOAD_CIS=yCONFIG_PCMCIA_IOCTL=yCONFIG_CARDBUS=y
#
# PC-card bridges
#CONFIG_YENTA=yCONFIG_YENTA_O2=yCONFIG_YENTA_RICOH=yCONFIG_YENTA_TI=yCONFIG_YENTA_ENE_TUNE=yCONFIG_YENTA_TOSHIBA=yCONFIG_PD6729=y
# CONFIG_I82092 is not set
# CONFIG_I82365 is not setCONFIG_TCIC=yCONFIG_PCMCIA_PROBE=yCONFIG_PCCARD_NONSTATIC=yCONFIG_HOTPLUG_PCI=yCONFIG_HOTPLUG_PCI_FAKE=yCONFIG_HOTPLUG_PCI_COMPAQ=y
# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
# CONFIG_HOTPLUG_PCI_IBM is not set
# CONFIG_HOTPLUG_PCI_ACPI is not setCONFIG_HOTPLUG_PCI_CPCI=y
# CONFIG_HOTPLUG_PCI_CPCI_ZT5550 is not set
# CONFIG_HOTPLUG_PCI_CPCI_GENERIC is not setCONFIG_HOTPLUG_PCI_SHPC=y
#
# Executable file formats / Emulations
#CONFIG_BINFMT_ELF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not setCONFIG_HAVE_AOUT=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not setCONFIG_HAVE_ATOMIC_IOMAP=yCONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_UNIX=yCONFIG_XFRM=yCONFIG_XFRM_USER=y
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not setCONFIG_XFRM_STATISTICS=yCONFIG_XFRM_IPCOMP=y
# CONFIG_NET_KEY is not setCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=yCONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not setCONFIG_IP_FIB_HASH=y
# CONFIG_IP_MULTIPLE_TABLES is not setCONFIG_IP_ROUTE_MULTIPATH=yCONFIG_IP_ROUTE_VERBOSE=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not setCONFIG_INET_AH=yCONFIG_INET_ESP=yCONFIG_INET_IPCOMP=yCONFIG_INET_XFRM_TUNNEL=yCONFIG_INET_TUNNEL=yCONFIG_INET_XFRM_MODE_TRANSPORT=yCONFIG_INET_XFRM_MODE_TUNNEL=y
# CONFIG_INET_XFRM_MODE_BEET is not setCONFIG_INET_LRO=yCONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not setCONFIG_TCP_CONG_CUBIC=yCONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not setCONFIG_IPV6=yCONFIG_IPV6_PRIVACY=yCONFIG_IPV6_ROUTER_PREF=y
# CONFIG_IPV6_ROUTE_INFO is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not setCONFIG_INET6_ESP=yCONFIG_INET6_IPCOMP=yCONFIG_IPV6_MIP6=yCONFIG_INET6_XFRM_TUNNEL=yCONFIG_INET6_TUNNEL=yCONFIG_INET6_XFRM_MODE_TRANSPORT=yCONFIG_INET6_XFRM_MODE_TUNNEL=y
# CONFIG_INET6_XFRM_MODE_BEET is not setCONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=yCONFIG_IPV6_SIT=yCONFIG_IPV6_SIT_6RD=yCONFIG_IPV6_NDISC_NODETYPE=y
# CONFIG_IPV6_TUNNEL is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_IPV6_MROUTE is not setCONFIG_NETLABEL=y
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not setCONFIG_IP_DCCP=yCONFIG_INET_DCCP_DIAG=y
#
# DCCP CCIDs Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP_CCID2_DEBUG is not setCONFIG_IP_DCCP_CCID3=y
# CONFIG_IP_DCCP_CCID3_DEBUG is not setCONFIG_IP_DCCP_CCID3_RTO=100CONFIG_IP_DCCP_TFRC_LIB=y
#
# DCCP Kernel Hacking
#
# CONFIG_IP_DCCP_DEBUG is not setCONFIG_IP_SCTP=yCONFIG_SCTP_DBG_MSG=y
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not setCONFIG_SCTP_HMAC_SHA1=y
# CONFIG_SCTP_HMAC_MD5 is not setCONFIG_RDS=y
# CONFIG_RDS_RDMA is not setCONFIG_RDS_TCP=y
# CONFIG_RDS_DEBUG is not setCONFIG_TIPC=y
# CONFIG_TIPC_ADVANCED is not setCONFIG_TIPC_DEBUG=y
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not setCONFIG_NET_DSA=yCONFIG_NET_DSA_TAG_DSA=yCONFIG_NET_DSA_TAG_EDSA=y
# CONFIG_NET_DSA_TAG_TRAILER is not setCONFIG_NET_DSA_MV88E6XXX=y
# CONFIG_NET_DSA_MV88E6060 is not setCONFIG_NET_DSA_MV88E6XXX_NEED_PPU=yCONFIG_NET_DSA_MV88E6131=yCONFIG_NET_DSA_MV88E6123_61_65=yCONFIG_VLAN_8021Q=y
# CONFIG_VLAN_8021Q_GVRP is not setCONFIG_DECNET=yCONFIG_DECNET_ROUTER=yCONFIG_LLC=y
# CONFIG_LLC2 is not setCONFIG_IPX=y
# CONFIG_IPX_INTERN is not set
# CONFIG_ATALK is not setCONFIG_X25=y
# CONFIG_LAPB is not setCONFIG_ECONET=y
# CONFIG_ECONET_AUNUDP is not setCONFIG_ECONET_NATIVE=y
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not setCONFIG_IEEE802154=yCONFIG_NET_SCHED=y
#
# Queueing/Scheduling
#CONFIG_NET_SCH_CBQ=yCONFIG_NET_SCH_HTB=yCONFIG_NET_SCH_HFSC=yCONFIG_NET_SCH_PRIO=yCONFIG_NET_SCH_MULTIQ=y
# CONFIG_NET_SCH_RED is not setCONFIG_NET_SCH_SFQ=yCONFIG_NET_SCH_TEQL=yCONFIG_NET_SCH_TBF=yCONFIG_NET_SCH_GRED=yCONFIG_NET_SCH_DSMARK=yCONFIG_NET_SCH_NETEM=y
# CONFIG_NET_SCH_DRR is not set
#
# Classification
#CONFIG_NET_CLS=y
# CONFIG_NET_CLS_BASIC is not set
# CONFIG_NET_CLS_TCINDEX is not set
# CONFIG_NET_CLS_ROUTE4 is not setCONFIG_NET_CLS_FW=y
# CONFIG_NET_CLS_U32 is not set
# CONFIG_NET_CLS_RSVP is not setCONFIG_NET_CLS_RSVP6=yCONFIG_NET_CLS_FLOW=yCONFIG_NET_CLS_CGROUP=y
# CONFIG_NET_EMATCH is not set
# CONFIG_NET_CLS_ACT is not setCONFIG_NET_CLS_IND=yCONFIG_NET_SCH_FIFO=yCONFIG_DCB=y
#
# Network testing
#
# CONFIG_NET_PKTGEN is not setCONFIG_NET_DROP_MONITOR=y
# CONFIG_HAMRADIO is not setCONFIG_CAN=yCONFIG_CAN_RAW=y
# CONFIG_CAN_BCM is not set
#
# CAN Device Drivers
#CONFIG_CAN_VCAN=y
# CONFIG_CAN_DEV is not setCONFIG_CAN_DEBUG_DEVICES=y
# CONFIG_IRDA is not setCONFIG_BT=y
# CONFIG_BT_L2CAP is not setCONFIG_BT_SCO=y
#
# Bluetooth device drivers
#CONFIG_BT_HCIBTUSB=yCONFIG_BT_HCIBTSDIO=y
# CONFIG_BT_HCIUART is not setCONFIG_BT_HCIBCM203X=yCONFIG_BT_HCIBPA10X=yCONFIG_BT_HCIBFUSB=yCONFIG_BT_HCIDTL1=y
# CONFIG_BT_HCIBT3C is not setCONFIG_BT_HCIBLUECARD=yCONFIG_BT_HCIBTUART=yCONFIG_BT_HCIVHCI=y
# CONFIG_BT_MRVL is not setCONFIG_BT_ATH3K=y
# CONFIG_AF_RXRPC is not setCONFIG_FIB_RULES=yCONFIG_WIRELESS=yCONFIG_WIRELESS_EXT=yCONFIG_WEXT_CORE=yCONFIG_WEXT_PROC=yCONFIG_WEXT_SPY=yCONFIG_WEXT_PRIV=y
# CONFIG_CFG80211 is not set
# CONFIG_WIRELESS_EXT_SYSFS is not setCONFIG_LIB80211=yCONFIG_LIB80211_CRYPT_WEP=yCONFIG_LIB80211_CRYPT_CCMP=yCONFIG_LIB80211_CRYPT_TKIP=yCONFIG_LIB80211_DEBUG=y
#
# CFG80211 needs to be enabled for MAC80211
#CONFIG_WIMAX=yCONFIG_WIMAX_DEBUG_LEVEL=8CONFIG_RFKILL=yCONFIG_RFKILL_LEDS=yCONFIG_RFKILL_INPUT=y
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"CONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=yCONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not setCONFIG_DEBUG_DEVRES=y
# CONFIG_SYS_HYPERVISOR is not setCONFIG_CONNECTOR=yCONFIG_PROC_EVENTS=yCONFIG_PARPORT=y
# CONFIG_PARPORT_PC is not set
# CONFIG_PARPORT_GSC is not setCONFIG_PARPORT_AX88796=yCONFIG_PARPORT_1284=yCONFIG_PARPORT_NOT_PC=yCONFIG_PNP=yCONFIG_PNP_DEBUG_MESSAGES=y
#
# Protocols
#CONFIG_ISAPNP=yCONFIG_PNPBIOS=yCONFIG_PNPBIOS_PROC_FS=yCONFIG_PNPACPI=yCONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_FD is not setCONFIG_BLK_DEV_XD=yCONFIG_BLK_CPQ_DA=yCONFIG_BLK_CPQ_CISS_DA=yCONFIG_CISS_SCSI_TAPE=yCONFIG_BLK_DEV_DAC960=yCONFIG_BLK_DEV_UMEM=y
# CONFIG_BLK_DEV_COW_COMMON is not setCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_CRYPTOLOOP=yCONFIG_BLK_DEV_DRBD=yCONFIG_DRBD_FAULT_INJECTION=yCONFIG_BLK_DEV_NBD=yCONFIG_BLK_DEV_SX8=y
# CONFIG_BLK_DEV_UB is not setCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_XIP is not setCONFIG_CDROM_PKTCDVD=yCONFIG_CDROM_PKTCDVD_BUFFERS=8CONFIG_CDROM_PKTCDVD_WCACHE=yCONFIG_ATA_OVER_ETH=yCONFIG_VIRTIO_BLK=yCONFIG_BLK_DEV_HD=yCONFIG_MISC_DEVICES=y
# CONFIG_AD525X_DPOT is not setCONFIG_IBM_ASM=y
# CONFIG_PHANTOM is not setCONFIG_SGI_IOC4=yCONFIG_TIFM_CORE=y
# CONFIG_TIFM_7XX1 is not setCONFIG_ICS932S401=y
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_CS5535_MFGPT is not set
# CONFIG_HP_ILO is not setCONFIG_ISL29003=y
# CONFIG_DS1682 is not setCONFIG_TI_DAC7512=y
# CONFIG_C2PORT is not set
#
# EEPROM support
#CONFIG_EEPROM_AT24=yCONFIG_EEPROM_AT25=yCONFIG_EEPROM_LEGACY=yCONFIG_EEPROM_MAX6875=y
# CONFIG_EEPROM_93CX6 is not setCONFIG_CB710_CORE=yCONFIG_CB710_DEBUG=yCONFIG_CB710_DEBUG_ASSUMPTIONS=yCONFIG_IWMC3200TOP=y
# CONFIG_IWMC3200TOP_DEBUG is not set
# CONFIG_IWMC3200TOP_DEBUGFS is not setCONFIG_HAVE_IDE=y
#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not setCONFIG_SCSI=yCONFIG_SCSI_DMA=yCONFIG_SCSI_TGT=yCONFIG_SCSI_NETLINK=y
# CONFIG_SCSI_PROC_FS is not set
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=yCONFIG_CHR_DEV_ST=y
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not setCONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not setCONFIG_SCSI_MULTI_LUN=y
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not setCONFIG_SCSI_SCAN_ASYNC=y
#
# SCSI Transports
#CONFIG_SCSI_SPI_ATTRS=yCONFIG_SCSI_FC_ATTRS=y
# CONFIG_SCSI_FC_TGT_ATTRS is not setCONFIG_SCSI_ISCSI_ATTRS=yCONFIG_SCSI_SAS_ATTRS=yCONFIG_SCSI_SAS_LIBSAS=yCONFIG_SCSI_SAS_ATA=y
# CONFIG_SCSI_SAS_HOST_SMP is not setCONFIG_SCSI_SAS_LIBSAS_DEBUG=yCONFIG_SCSI_SRP_ATTRS=yCONFIG_SCSI_SRP_TGT_ATTRS=yCONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_SCSI_CXGB3_ISCSI is not setCONFIG_SCSI_BNX2_ISCSI=y
# CONFIG_BE2ISCSI is not setCONFIG_BLK_DEV_3W_XXXX_RAID=yCONFIG_SCSI_HPSA=y
# CONFIG_SCSI_3W_9XXX is not setCONFIG_SCSI_3W_SAS=yCONFIG_SCSI_7000FASST=yCONFIG_SCSI_ACARD=yCONFIG_SCSI_AHA152X=yCONFIG_SCSI_AHA1740=y
# CONFIG_SCSI_AACRAID is not setCONFIG_SCSI_AIC7XXX=yCONFIG_AIC7XXX_CMDS_PER_DEVICE=32CONFIG_AIC7XXX_RESET_DELAY_MS=5000
# CONFIG_AIC7XXX_DEBUG_ENABLE is not setCONFIG_AIC7XXX_DEBUG_MASK=0
# CONFIG_AIC7XXX_REG_PRETTY_PRINT is not setCONFIG_SCSI_AIC7XXX_OLD=y
# CONFIG_SCSI_AIC79XX is not setCONFIG_SCSI_AIC94XX=yCONFIG_AIC94XX_DEBUG=y
# CONFIG_SCSI_MVSAS is not setCONFIG_SCSI_DPT_I2O=yCONFIG_SCSI_ADVANSYS=yCONFIG_SCSI_IN2000=y
# CONFIG_SCSI_ARCMSR is not setCONFIG_MEGARAID_NEWGEN=y
# CONFIG_MEGARAID_MM is not setCONFIG_MEGARAID_LEGACY=y
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_MPT2SAS is not setCONFIG_SCSI_HPTIOP=y
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_VMWARE_PVSCSI is not setCONFIG_LIBFC=yCONFIG_LIBFCOE=y
# CONFIG_FCOE is not setCONFIG_FCOE_FNIC=yCONFIG_SCSI_DMX3191D=yCONFIG_SCSI_DTC3280=y
# CONFIG_SCSI_EATA is not setCONFIG_SCSI_FUTURE_DOMAIN=y
# CONFIG_SCSI_GDTH is not setCONFIG_SCSI_GENERIC_NCR5380=y
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_GENERIC_NCR53C400 is not setCONFIG_SCSI_IPS=y
# CONFIG_SCSI_INITIO is not setCONFIG_SCSI_INIA100=y
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_STEX is not setCONFIG_SCSI_SYM53C8XX_2=yCONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64CONFIG_SCSI_SYM53C8XX_MMIO=yCONFIG_SCSI_IPR=y
# CONFIG_SCSI_IPR_TRACE is not setCONFIG_SCSI_IPR_DUMP=yCONFIG_SCSI_PAS16=y
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_1280 is not setCONFIG_SCSI_QLA_FC=yCONFIG_SCSI_QLA_ISCSI=y
# CONFIG_SCSI_LPFC is not setCONFIG_SCSI_SIM710=yCONFIG_SCSI_SYM53C416=y
# CONFIG_SCSI_DC395x is not setCONFIG_SCSI_DC390T=yCONFIG_SCSI_T128=yCONFIG_SCSI_U14_34F=y
# CONFIG_SCSI_U14_34F_TAGGED_QUEUE is not setCONFIG_SCSI_U14_34F_LINKED_COMMANDS=yCONFIG_SCSI_U14_34F_MAX_TAGS=8CONFIG_SCSI_ULTRASTOR=yCONFIG_SCSI_NSP32=y
# CONFIG_SCSI_PMCRAID is not set
# CONFIG_SCSI_PM8001 is not set
# CONFIG_SCSI_SRP is not set
# CONFIG_SCSI_BFA_FC is not setCONFIG_SCSI_LOWLEVEL_PCMCIA=y
# CONFIG_SCSI_DH is not setCONFIG_SCSI_OSD_INITIATOR=y
# CONFIG_SCSI_OSD_ULD is not setCONFIG_SCSI_OSD_DPRINT_SENSE=1CONFIG_SCSI_OSD_DEBUG=yCONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not setCONFIG_ATA_VERBOSE_ERROR=y
# CONFIG_ATA_ACPI is not set
# CONFIG_SATA_PMP is not setCONFIG_SATA_AHCI=y
# CONFIG_SATA_SIL24 is not setCONFIG_ATA_SFF=y
# CONFIG_SATA_SVW is not setCONFIG_ATA_PIIX=y
# CONFIG_SATA_MV is not setCONFIG_SATA_NV=yCONFIG_PDC_ADMA=y
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_PROMISE is not setCONFIG_SATA_SX4=yCONFIG_SATA_SIL=y
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_ULI is not setCONFIG_SATA_VIA=yCONFIG_SATA_VITESSE=yCONFIG_SATA_INIC162X=y
# CONFIG_PATA_ALI is not setCONFIG_PATA_AMD=yCONFIG_PATA_ARTOP=yCONFIG_PATA_ATP867X=yCONFIG_PATA_ATIIXP=yCONFIG_PATA_CMD640_PCI=yCONFIG_PATA_CMD64X=y
# CONFIG_PATA_CS5520 is not setCONFIG_PATA_CS5530=yCONFIG_PATA_CS5535=yCONFIG_PATA_CS5536=y
# CONFIG_PATA_CYPRESS is not setCONFIG_PATA_EFAR=y
# CONFIG_ATA_GENERIC is not setCONFIG_PATA_HPT366=y
# CONFIG_PATA_HPT37X is not setCONFIG_PATA_HPT3X2N=yCONFIG_PATA_HPT3X3=y
# CONFIG_PATA_HPT3X3_DMA is not setCONFIG_PATA_ISAPNP=y
# CONFIG_PATA_IT821X is not setCONFIG_PATA_IT8213=yCONFIG_PATA_JMICRON=yCONFIG_PATA_LEGACY=yCONFIG_PATA_TRIFLEX=yCONFIG_PATA_MARVELL=y
# CONFIG_PATA_MPIIX is not setCONFIG_PATA_OLDPIIX=y
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_NS87415 is not setCONFIG_PATA_OPTI=y
# CONFIG_PATA_OPTIDMA is not setCONFIG_PATA_PCMCIA=yCONFIG_PATA_PDC2027X=y
# CONFIG_PATA_PDC_OLD is not setCONFIG_PATA_QDI=yCONFIG_PATA_RADISYS=y
# CONFIG_PATA_RDC is not setCONFIG_PATA_RZ1000=yCONFIG_PATA_SC1200=yCONFIG_PATA_SERVERWORKS=y
# CONFIG_PATA_SIL680 is not setCONFIG_PATA_SIS=yCONFIG_PATA_TOSHIBA=yCONFIG_PATA_VIA=y
# CONFIG_PATA_WINBOND is not setCONFIG_PATA_WINBOND_VLB=yCONFIG_PATA_SCH=yCONFIG_MD=y
# CONFIG_BLK_DEV_MD is not setCONFIG_BLK_DEV_DM=y
# CONFIG_DM_DEBUG is not setCONFIG_DM_CRYPT=yCONFIG_DM_SNAPSHOT=yCONFIG_DM_MIRROR=yCONFIG_DM_LOG_USERSPACE=yCONFIG_DM_ZERO=yCONFIG_DM_MULTIPATH=yCONFIG_DM_MULTIPATH_QL=yCONFIG_DM_MULTIPATH_ST=yCONFIG_DM_DELAY=yCONFIG_DM_UEVENT=y
# CONFIG_FUSION is not set
#
# IEEE 1394 (FireWire) support
#
#
# You can enable one or both FireWire driver stacks. #
#
# The newer stack is recommended.
#CONFIG_FIREWIRE=yCONFIG_FIREWIRE_OHCI=yCONFIG_FIREWIRE_OHCI_DEBUG=y
# CONFIG_FIREWIRE_SBP2 is not setCONFIG_FIREWIRE_NET=yCONFIG_IEEE1394=y
# CONFIG_IEEE1394_OHCI1394 is not setCONFIG_IEEE1394_PCILYNX=yCONFIG_IEEE1394_SBP2=y
# CONFIG_IEEE1394_SBP2_PHYS_DMA is not setCONFIG_IEEE1394_ETH1394_ROM_ENTRY=yCONFIG_IEEE1394_ETH1394=yCONFIG_IEEE1394_RAWIO=yCONFIG_IEEE1394_VERBOSEDEBUG=yCONFIG_I2O=yCONFIG_I2O_LCT_NOTIFY_ON_CHANGES=yCONFIG_I2O_EXT_ADAPTEC=y
# CONFIG_I2O_CONFIG is not setCONFIG_I2O_BUS=yCONFIG_I2O_BLOCK=y
# CONFIG_I2O_SCSI is not setCONFIG_I2O_PROC=yCONFIG_MACINTOSH_DRIVERS=yCONFIG_MAC_EMUMOUSEBTN=yCONFIG_NETDEVICES=yCONFIG_DUMMY=yCONFIG_BONDING=yCONFIG_MACVLAN=y
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_VETH is not set
# CONFIG_NET_SB1000 is not set
# CONFIG_ARCNET is not setCONFIG_PHYLIB=y
#
# MII PHY device drivers
#
# CONFIG_MARVELL_PHY is not set CONFIG_DAVICOM_PHY=yCONFIG_QSEMI_PHY=yCONFIG_LXT_PHY=yCONFIG_CICADA_PHY=yCONFIG_VITESSE_PHY=y
# CONFIG_SMSC_PHY is not set
# CONFIG_BROADCOM_PHY is not set CONFIG_ICPLUS_PHY=yCONFIG_REALTEK_PHY=yCONFIG_NATIONAL_PHY=yCONFIG_STE10XP=y
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_FIXED_PHY is not set CONFIG_MDIO_BITBANG=yCONFIG_MDIO_GPIO=yCONFIG_NET_ETHERNET=yCONFIG_MII=yCONFIG_HAPPYMEAL=y
# CONFIG_SUNGEM is not set CONFIG_CASSINI=yCONFIG_NET_VENDOR_3COM=yCONFIG_EL1=y
# CONFIG_EL2 is not setCONFIG_ELPLUS=yCONFIG_EL16=yCONFIG_EL3=yCONFIG_3C515=yCONFIG_VORTEX=yCONFIG_TYPHOON=y
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set CONFIG_ENC28J60=y CONFIG_ENC28J60_WRITEVERIFY=y CONFIG_ETHOC=yCONFIG_NET_VENDOR_RACAL=yCONFIG_NI52=yCONFIG_NI65=yCONFIG_DNET=yCONFIG_NET_TULIP=y
# CONFIG_DE2104X is not set
# CONFIG_TULIP is not setCONFIG_DE4X5=yCONFIG_WINBOND_840=yCONFIG_DM9102=yCONFIG_ULI526X=yCONFIG_PCMCIA_XIRCOM=yCONFIG_AT1700=y
# CONFIG_DEPCA is not setCONFIG_HP100=yCONFIG_NET_ISA=yCONFIG_E2100=yCONFIG_EWRK3=yCONFIG_EEXPRESS=yCONFIG_EEXPRESS_PRO=yCONFIG_HPLAN=yCONFIG_LP486E=yCONFIG_ETH16I=y
# CONFIG_NE2000 is not set
# CONFIG_ZNET is not setCONFIG_SEEQ8005=y
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set CONFIG_ADAPTEC_STARFIRE=y
# CONFIG_AC3200 is not set CONFIG_APRICOT=yCONFIG_B44=yCONFIG_B44_PCI_AUTOSELECT=y CONFIG_B44_PCICORE_AUTOSELECT=y CONFIG_B44_PCI=yCONFIG_FORCEDETH=yCONFIG_FORCEDETH_NAPI=y
CONFIG_CS89x0=yCONFIG_E100=yCONFIG_LNE390=yCONFIG_FEALNX=yCONFIG_NATSEMI=yCONFIG_NE2K_PCI=yCONFIG_NE3210=yCONFIG_ES3210=yCONFIG_8139CP=yCONFIG_8139TOO=yCONFIG_8139TOO_PIO=y CONFIG_8139TOO_TUNE_TWISTER=y CONFIG_8139TOO_8129=y CONFIG_8139_OLD_RX_RESET=yCONFIG_R6040=yCONFIG_SIS900=y
# CONFIG_EPIC100 is not set
# CONFIG_SMSC9420 is not set CONFIG_SUNDANCE=y
# CONFIG_SUNDANCE_MMIO is not set CONFIG_TLAN=yCONFIG_KS8842=yCONFIG_KS8851=yCONFIG_KS8851_MLL=yCONFIG_VIA_RHINE=yCONFIG_VIA_RHINE_MMIO=y
# CONFIG_SC92031 is not set CONFIG_NET_POCKET=y
# CONFIG_ATP is not set
# CONFIG_DE600 is not setCONFIG_DE620=yCONFIG_ATL2=yCONFIG_NETDEV_1000=yCONFIG_ACENIC=y CONFIG_ACENIC_OMIT_TIGON_I=yCONFIG_DL2K=yCONFIG_E1000=yCONFIG_E1000E=yCONFIG_IP1000=yCONFIG_IGB=y
# CONFIG_IGB_DCA is not setCONFIG_IGBVF=y
# CONFIG_NS83820 is not set CONFIG_HAMACHI=yCONFIG_YELLOWFIN=yCONFIG_R8169=yCONFIG_R8169_VLAN=yCONFIG_SIS190=yCONFIG_SKGE=yCONFIG_SKGE_DEBUG=yCONFIG_SKY2=y
# CONFIG_SKY2_DEBUG is not set CONFIG_VIA_VELOCITY=yCONFIG_TIGON3=yCONFIG_BNX2=yCONFIG_CNIC=yCONFIG_QLA3XXX=yCONFIG_ATL1=yCONFIG_ATL1E=yCONFIG_ATL1C=yCONFIG_JME=yCONFIG_NETDEV_10000=yCONFIG_MDIO=yCONFIG_CHELSIO_T1=y
# CONFIG_CHELSIO_T1_1G is not set CONFIG_CHELSIO_T3_DEPENDS=y
# CONFIG_CHELSIO_T3 is not set CONFIG_ENIC=yCONFIG_IXGBE=y
# CONFIG_IXGBE_DCA is not set
# CONFIG_IXGBE_DCB is not set CONFIG_IXGB=yCONFIG_S2IO=yCONFIG_MYRI10GE=yCONFIG_MYRI10GE_DCA=y
# CONFIG_NIU is not set
# CONFIG_MLX4_EN is not set CONFIG_MLX4_CORE=yCONFIG_MLX4_DEBUG=yCONFIG_TEHUTI=yCONFIG_BNX2X=yCONFIG_QLGE=yCONFIG_SFC=yCONFIG_BE2NET=y
# CONFIG_TR is not setCONFIG_WLAN=yCONFIG_PCMCIA_RAYCS=y
# CONFIG_AIRO is not setCONFIG_ATMEL=yCONFIG_PCI_ATMEL=yCONFIG_PCMCIA_ATMEL=yCONFIG_AIRO_CS=y
# CONFIG_PCMCIA_WL3501 is not set
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set CONFIG_HOSTAP=yCONFIG_HOSTAP_FIRMWARE=y
# CONFIG_HOSTAP_FIRMWARE_NVRAM is not set CONFIG_HOSTAP_PLX=yCONFIG_HOSTAP_PCI=yCONFIG_HOSTAP_CS=y
#
# WiMAX Wireless Broadband devices
#CONFIG_WIMAX_I2400M=yCONFIG_WIMAX_I2400M_SDIO=yCONFIG_WIMAX_IWMC3200_SDIO=yCONFIG_WIMAX_I2400M_DEBUG_LEVEL=8
#
# USB Network Adapters
#CONFIG_USB_CATC=yCONFIG_USB_KAWETH=yCONFIG_USB_PEGASUS=yCONFIG_USB_RTL8150=yCONFIG_USB_USBNET=yCONFIG_USB_NET_AX8817X=yCONFIG_USB_NET_CDCETHER=yCONFIG_USB_NET_CDC_EEM=y
# CONFIG_USB_NET_DM9601 is not setCONFIG_USB_NET_SMSC95XX=yCONFIG_USB_NET_GL620A=yCONFIG_USB_NET_NET1080=y
# CONFIG_USB_NET_PLUSB is not set
# CONFIG_USB_NET_MCS7830 is not set
# CONFIG_USB_NET_RNDIS_HOST is not setCONFIG_USB_NET_CDC_SUBSET=yCONFIG_USB_ALI_M5632=y
# CONFIG_USB_AN2720 is not setCONFIG_USB_BELKIN=yCONFIG_USB_ARMLINUX=yCONFIG_USB_EPSON2888=yCONFIG_USB_KC2190=yCONFIG_USB_NET_ZAURUS=yCONFIG_USB_HSO=yCONFIG_USB_NET_INT51X1=yCONFIG_NET_PCMCIA=yCONFIG_PCMCIA_3C589=yCONFIG_PCMCIA_3C574=yCONFIG_PCMCIA_FMVJ18X=y
# CONFIG_PCMCIA_PCNET is not setCONFIG_PCMCIA_NMCLAN=y
# CONFIG_PCMCIA_SMC91C92 is not set
# CONFIG_PCMCIA_XIRC2PS is not set
# CONFIG_PCMCIA_AXNET is not set
# CONFIG_WAN is not setCONFIG_IEEE802154_DRIVERS=yCONFIG_IEEE802154_FAKEHARD=y
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not setCONFIG_PPP=yCONFIG_PPP_MULTILINK=y
# CONFIG_PPP_FILTER is not setCONFIG_PPP_ASYNC=y
# CONFIG_PPP_SYNC_TTY is not set
# CONFIG_PPP_DEFLATE is not setCONFIG_PPP_BSDCOMP=yCONFIG_PPP_MPPE=yCONFIG_PPPOE=y
# CONFIG_PPPOL2TP is not setCONFIG_SLIP=yCONFIG_SLIP_COMPRESSED=yCONFIG_SLHC=y
# CONFIG_SLIP_SMART is not setCONFIG_SLIP_MODE_SLIP6=y
# CONFIG_NET_FC is not setCONFIG_NETCONSOLE=yCONFIG_NETCONSOLE_DYNAMIC=yCONFIG_NETPOLL=yCONFIG_NETPOLL_TRAP=yCONFIG_NET_POLL_CONTROLLER=yCONFIG_VIRTIO_NET=y
# CONFIG_VMXNET3 is not set
# CONFIG_ISDN is not setCONFIG_PHONE=yCONFIG_PHONE_IXJ=yCONFIG_PHONE_IXJ_PCMCIA=y
#
# Input device support
#CONFIG_INPUT=yCONFIG_INPUT_FF_MEMLESS=yCONFIG_INPUT_POLLDEV=yCONFIG_INPUT_SPARSEKMAP=y
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not setCONFIG_INPUT_EVDEV=yCONFIG_INPUT_EVBUG=y
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ADP5588=yCONFIG_KEYBOARD_ATKBD=yCONFIG_QT2160=yCONFIG_KEYBOARD_LKKBD=yCONFIG_KEYBOARD_GPIO=yCONFIG_KEYBOARD_MATRIX=y
# CONFIG_KEYBOARD_LM8323 is not setCONFIG_KEYBOARD_MAX7359=yCONFIG_KEYBOARD_NEWTON=yCONFIG_KEYBOARD_OPENCORES=yCONFIG_KEYBOARD_STOWAWAY=yCONFIG_KEYBOARD_SUNKBD=yCONFIG_KEYBOARD_TWL4030=y
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_INPUT_MOUSE is not setCONFIG_INPUT_JOYSTICK=yCONFIG_JOYSTICK_ANALOG=yCONFIG_JOYSTICK_A3D=yCONFIG_JOYSTICK_ADI=yCONFIG_JOYSTICK_COBRA=y
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not setCONFIG_JOYSTICK_GRIP_MP=yCONFIG_JOYSTICK_GUILLEMOT=yCONFIG_JOYSTICK_INTERACT=yCONFIG_JOYSTICK_SIDEWINDER=y
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not setCONFIG_JOYSTICK_WARRIOR=yCONFIG_JOYSTICK_MAGELLAN=y
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not setCONFIG_JOYSTICK_STINGER=yCONFIG_JOYSTICK_TWIDJOY=yCONFIG_JOYSTICK_ZHENHUA=y
# CONFIG_JOYSTICK_DB9 is not setCONFIG_JOYSTICK_GAMECON=yCONFIG_JOYSTICK_TURBOGRAFX=yCONFIG_JOYSTICK_JOYDUMP=yCONFIG_JOYSTICK_XPAD=yCONFIG_JOYSTICK_XPAD_FF=yCONFIG_JOYSTICK_XPAD_LEDS=y
# CONFIG_JOYSTICK_WALKERA0701 is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not setCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=yCONFIG_INPUT_APANEL=y
# CONFIG_INPUT_WISTRON_BTNS is not set
# CONFIG_INPUT_ATLAS_BTNS is not setCONFIG_INPUT_ATI_REMOTE=y
# CONFIG_INPUT_ATI_REMOTE2 is not setCONFIG_INPUT_KEYSPAN_REMOTE=yCONFIG_INPUT_POWERMATE=y
# CONFIG_INPUT_YEALINK is not setCONFIG_INPUT_CM109=yCONFIG_INPUT_TWL4030_PWRBUTTON=y
# CONFIG_INPUT_UINPUT is not set
# CONFIG_INPUT_WINBOND_CIR is not setCONFIG_INPUT_PCF50633_PMU=yCONFIG_INPUT_GPIO_ROTARY_ENCODER=y
# CONFIG_INPUT_WM831X_ON is not set
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=yCONFIG_SERIO_CT82C710=yCONFIG_SERIO_PARKBD=yCONFIG_SERIO_PCIPS2=yCONFIG_SERIO_LIBPS2=yCONFIG_SERIO_RAW=yCONFIG_SERIO_ALTERA_PS2=yCONFIG_GAMEPORT=y
# CONFIG_GAMEPORT_NS558 is not setCONFIG_GAMEPORT_L4=y
# CONFIG_GAMEPORT_EMU10K1 is not setCONFIG_GAMEPORT_FM801=y
#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=y
# CONFIG_DEVKMEM is not setCONFIG_SERIAL_NONSTANDARD=yCONFIG_COMPUTONE=y
# CONFIG_ROCKETPORT is not setCONFIG_CYCLADES=yCONFIG_CYZ_INTR=yCONFIG_DIGIEPCA=yCONFIG_MOXA_INTELLIO=yCONFIG_MOXA_SMARTIO=yCONFIG_ISI=yCONFIG_SYNCLINK=y
# CONFIG_SYNCLINKMP is not setCONFIG_SYNCLINK_GT=yCONFIG_N_HDLC=yCONFIG_RISCOM8=yCONFIG_SPECIALIX=yCONFIG_STALDRV=y
# CONFIG_STALLION is not set
# CONFIG_ISTALLION is not setCONFIG_NOZOMI=y
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_FIX_EARLYCON_MEM=yCONFIG_SERIAL_8250_PCI=yCONFIG_SERIAL_8250_PNP=yCONFIG_SERIAL_8250_CS=yCONFIG_SERIAL_8250_NR_UARTS=4CONFIG_SERIAL_8250_RUNTIME_UARTS=4CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not setCONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not setCONFIG_SERIAL_8250_RSA=y
#
# Non-8250 serial port support
#CONFIG_SERIAL_MAX3100=yCONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_SERIAL_JSM=yCONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_PRINTER is not setCONFIG_PPDEV=yCONFIG_HVC_DRIVER=yCONFIG_VIRTIO_CONSOLE=y
# CONFIG_IPMI_HANDLER is not setCONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HW_RANDOM_INTEL is not set
# CONFIG_HW_RANDOM_AMD is not setCONFIG_HW_RANDOM_GEODE=yCONFIG_HW_RANDOM_VIA=y
# CONFIG_HW_RANDOM_VIRTIO is not setCONFIG_NVRAM=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not setCONFIG_APPLICOM=y
# CONFIG_SONYPI is not set
#
# PCMCIA character devices
#CONFIG_SYNCLINK_CS=yCONFIG_CARDMAN_4000=yCONFIG_CARDMAN_4040=yCONFIG_IPWIRELESS=y
# CONFIG_MWAVE is not set
CONFIG_SCx200_GPIO=y
CONFIG_PC8736x_GPIO=yCONFIG_NSC_GPIO=yCONFIG_CS5535_GPIO=yCONFIG_RAW_DRIVER=yCONFIG_MAX_RAW_DEVS=256CONFIG_HPET=y
# CONFIG_HPET_MMAP is not setCONFIG_HANGCHECK_TIMER=yCONFIG_TCG_TPM=yCONFIG_TCG_TIS=y
# CONFIG_TCG_NSC is not setCONFIG_TCG_ATMEL=yCONFIG_TCG_INFINEON=yCONFIG_TELCLOCK=yCONFIG_DEVPORT=yCONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_COMPAT=yCONFIG_I2C_CHARDEV=y
# CONFIG_I2C_HELPER_AUTO is not set
#
# I2C Algorithms
#CONFIG_I2C_ALGOBIT=y
# CONFIG_I2C_ALGOPCF is not setCONFIG_I2C_ALGOPCA=y
#
# I2C Hardware Bus support
#
#
# PC SMBus host controller drivers
#CONFIG_I2C_ALI1535=yCONFIG_I2C_ALI1563=yCONFIG_I2C_ALI15X3=y
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_I801 is not setCONFIG_I2C_ISCH=yCONFIG_I2C_PIIX4=yCONFIG_I2C_NFORCE2=yCONFIG_I2C_SIS5595=yCONFIG_I2C_SIS630=y
# CONFIG_I2C_SIS96X is not setCONFIG_I2C_VIA=y
# CONFIG_I2C_VIAPRO is not set
#
# ACPI drivers
#CONFIG_I2C_SCMI=y
#
# I2C system bus drivers (mostly embedded / system-on-chip) #CONFIG_I2C_GPIO=yCONFIG_I2C_OCORES=y
# CONFIG_I2C_SIMTEC is not set
#
# External I2C/SMBus adapter drivers
#CONFIG_I2C_PARPORT=yCONFIG_I2C_PARPORT_LIGHT=yCONFIG_I2C_TAOS_EVM=y
# CONFIG_I2C_TINY_USB is not set
#
# Other I2C/SMBus bus drivers
#CONFIG_I2C_PCA_PLATFORM=y
CONFIG_SCx200_I2C=y
CONFIG_SCx200_I2C_SCL=12
CONFIG_SCx200_I2C_SDA=13
CONFIG_SCx200_ACB=y
#
# Miscellaneous I2C Chip support
#CONFIG_SENSORS_TSL2550=y
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not setCONFIG_I2C_DEBUG_BUS=yCONFIG_I2C_DEBUG_CHIP=yCONFIG_SPI=yCONFIG_SPI_DEBUG=yCONFIG_SPI_MASTER=y
#
# SPI Master Controller Drivers
#CONFIG_SPI_BITBANG=y
# CONFIG_SPI_BUTTERFLY is not setCONFIG_SPI_GPIO=yCONFIG_SPI_LM70_LLP=yCONFIG_SPI_XILINX=yCONFIG_SPI_XILINX_PLTFM=y
# CONFIG_SPI_DESIGNWARE is not set
#
# SPI Protocol Masters
#
# CONFIG_SPI_SPIDEV is not setCONFIG_SPI_TLE62X0=y
#
# PPS support
#
# CONFIG_PPS is not setCONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=yCONFIG_GPIOLIB=yCONFIG_DEBUG_GPIO=yCONFIG_GPIO_SYSFS=y
#
# Memory mapped GPIO expanders:
#
#
# I2C GPIO expanders:
#CONFIG_GPIO_MAX732X=yCONFIG_GPIO_PCA953X=yCONFIG_GPIO_PCF857X=y
# CONFIG_GPIO_TWL4030 is not setCONFIG_GPIO_WM831X=yCONFIG_GPIO_ADP5588=y
#
# PCI GPIO expanders:
#
# CONFIG_GPIO_BT8XX is not setCONFIG_GPIO_LANGWELL=y
#
# SPI GPIO expanders:
#CONFIG_GPIO_MAX7301=yCONFIG_GPIO_MCP23S08=yCONFIG_GPIO_MC33880=y
#
# AC97 GPIO expanders:
#CONFIG_W1=yCONFIG_W1_CON=y
#
# 1-wire Bus Masters
#
# CONFIG_W1_MASTER_MATROX is not set
# CONFIG_W1_MASTER_DS2490 is not setCONFIG_W1_MASTER_DS2482=yCONFIG_W1_MASTER_GPIO=y
#
# 1-wire Slaves
#CONFIG_W1_SLAVE_THERM=yCONFIG_W1_SLAVE_SMEM=yCONFIG_W1_SLAVE_DS2431=y
# CONFIG_W1_SLAVE_DS2433 is not setCONFIG_W1_SLAVE_DS2760=y
# CONFIG_W1_SLAVE_BQ27000 is not setCONFIG_POWER_SUPPLY=yCONFIG_POWER_SUPPLY_DEBUG=yCONFIG_PDA_POWER=yCONFIG_WM831X_BACKUP=yCONFIG_WM831X_POWER=yCONFIG_BATTERY_DS2760=y
# CONFIG_BATTERY_DS2782 is not setCONFIG_BATTERY_OLPC=y
CONFIG_BATTERY_BQ27x00=yCONFIG_BATTERY_DA9030=yCONFIG_BATTERY_MAX17040=yCONFIG_CHARGER_PCF50633=yCONFIG_HWMON=yCONFIG_HWMON_VID=yCONFIG_HWMON_DEBUG_CHIP=y
#
# Native drivers
#CONFIG_SENSORS_ABITUGURU=yCONFIG_SENSORS_ABITUGURU3=y
# CONFIG_SENSORS_AD7414 is not setCONFIG_SENSORS_AD7418=yCONFIG_SENSORS_ADCXX=yCONFIG_SENSORS_ADM1021=yCONFIG_SENSORS_ADM1025=yCONFIG_SENSORS_ADM1026=yCONFIG_SENSORS_ADM1029=y
# CONFIG_SENSORS_ADM1031 is not setCONFIG_SENSORS_ADM9240=yCONFIG_SENSORS_ADT7462=yCONFIG_SENSORS_ADT7470=y
# CONFIG_SENSORS_ADT7473 is not setCONFIG_SENSORS_ADT7475=yCONFIG_SENSORS_K8TEMP=yCONFIG_SENSORS_K10TEMP=yCONFIG_SENSORS_ASB100=y
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS1621 is not setCONFIG_SENSORS_I5K_AMB=yCONFIG_SENSORS_F71805F=yCONFIG_SENSORS_F71882FG=yCONFIG_SENSORS_F75375S=yCONFIG_SENSORS_FSCHMD=y
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not setCONFIG_SENSORS_CORETEMP=y
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not setCONFIG_SENSORS_LM70=yCONFIG_SENSORS_LM73=yCONFIG_SENSORS_LM75=y
# CONFIG_SENSORS_LM77 is not setCONFIG_SENSORS_LM78=y
# CONFIG_SENSORS_LM80 is not setCONFIG_SENSORS_LM83=y
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LTC4215 is not setCONFIG_SENSORS_LTC4245=yCONFIG_SENSORS_LM95241=y
# CONFIG_SENSORS_MAX1111 is not set
# CONFIG_SENSORS_MAX1619 is not setCONFIG_SENSORS_MAX6650=yCONFIG_SENSORS_PC87360=yCONFIG_SENSORS_PC87427=y
# CONFIG_SENSORS_PCF8591 is not setCONFIG_SENSORS_SHT15=yCONFIG_SENSORS_SIS5595=yCONFIG_SENSORS_DME1737=yCONFIG_SENSORS_SMSC47M1=y
# CONFIG_SENSORS_SMSC47M192 is not setCONFIG_SENSORS_SMSC47B397=yCONFIG_SENSORS_ADS7828=yCONFIG_SENSORS_AMC6821=y
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not setCONFIG_SENSORS_VIA_CPUTEMP=y
# CONFIG_SENSORS_VIA686A is not setCONFIG_SENSORS_VT1211=y
# CONFIG_SENSORS_VT8231 is not setCONFIG_SENSORS_W83781D=yCONFIG_SENSORS_W83791D=yCONFIG_SENSORS_W83792D=yCONFIG_SENSORS_W83793=y
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not setCONFIG_SENSORS_WM831X=y
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_SENSORS_LIS3_I2C is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_SENSORS_MC13783_ADC is not set
#
# ACPI drivers
#CONFIG_SENSORS_ATK0110=yCONFIG_SENSORS_LIS3LV02D=yCONFIG_THERMAL=yCONFIG_THERMAL_HWMON=yCONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not setCONFIG_WM831X_WATCHDOG=y
# CONFIG_TWL4030_WATCHDOG is not setCONFIG_ACQUIRE_WDT=y
# CONFIG_ADVANTECH_WDT is not setCONFIG_ALIM1535_WDT=yCONFIG_ALIM7101_WDT=y
# CONFIG_SC520_WDT is not setCONFIG_IB700_WDT=yCONFIG_IBMASR=yCONFIG_WAFER_WDT=yCONFIG_I6300ESB_WDT=y
# CONFIG_ITCO_WDT is not setCONFIG_IT8712F_WDT=y
# CONFIG_IT87_WDT is not setCONFIG_HP_WATCHDOG=yCONFIG_SC1200_WDT=y
# CONFIG_SCx200_WDT is not set
# CONFIG_PC87413_WDT is not setCONFIG_60XX_WDT=yCONFIG_SBC8360_WDT=yCONFIG_SBC7240_WDT=y
# CONFIG_CPU5_WDT is not setCONFIG_SMSC_SCH311X_WDT=y
# CONFIG_SMSC37B787_WDT is not setCONFIG_W83627HF_WDT=y
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_MACHZ_WDT is not setCONFIG_SBC_EPX_C3_WATCHDOG=y
#
# ISA-based Watchdog Cards
#
# CONFIG_PCWATCHDOG is not setCONFIG_MIXCOMWD=y
#
# PCI-based Watchdog Cards
#CONFIG_PCIPCWATCHDOG=yCONFIG_WDTPCI=y
#
# USB-based Watchdog Cards
#CONFIG_USBPCWATCHDOG=yCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#CONFIG_SSB=yCONFIG_SSB_SPROM=yCONFIG_SSB_PCIHOST_POSSIBLE=yCONFIG_SSB_PCIHOST=y
# CONFIG_SSB_B43_PCI_BRIDGE is not setCONFIG_SSB_PCMCIAHOST_POSSIBLE=yCONFIG_SSB_PCMCIAHOST=yCONFIG_SSB_SDIOHOST_POSSIBLE=yCONFIG_SSB_SDIOHOST=yCONFIG_SSB_DEBUG=yCONFIG_SSB_DRIVER_PCICORE_POSSIBLE=yCONFIG_SSB_DRIVER_PCICORE=y
#
# Multifunction device drivers
#CONFIG_MFD_CORE=y
# CONFIG_MFD_SM501 is not set
# CONFIG_HTC_PASIC3 is not setCONFIG_TPS65010=yCONFIG_TWL4030_CORE=y
# CONFIG_TWL4030_CODEC is not set
# CONFIG_MFD_TMIO is not setCONFIG_PMIC_DA903X=y
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_WM8400 is not setCONFIG_MFD_WM831X=yCONFIG_MFD_PCF50633=yCONFIG_MFD_MC13783=yCONFIG_PCF50633_ADC=yCONFIG_PCF50633_GPIO=y
# CONFIG_AB3100_CORE is not set
# CONFIG_EZX_PCAP is not setCONFIG_MFD_88PM8607=yCONFIG_AB4500_CORE=y
# CONFIG_REGULATOR is not setCONFIG_MEDIA_SUPPORT=y
#
# Multimedia core support
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DVB_CORE is not set
# CONFIG_VIDEO_MEDIA is not set
#
# Multimedia drivers
#CONFIG_IR_CORE=yCONFIG_VIDEO_IR=y
# CONFIG_DAB is not set
#
# Graphics support
#CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not setCONFIG_AGP_AMD64=yCONFIG_AGP_INTEL=yCONFIG_AGP_NVIDIA=yCONFIG_AGP_SIS=yCONFIG_AGP_SWORKS=yCONFIG_AGP_VIA=yCONFIG_AGP_EFFICEON=yCONFIG_VGA_ARB=yCONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_DRM is not setCONFIG_VGASTATE=yCONFIG_VIDEO_OUTPUT_CONTROL=yCONFIG_FB=yCONFIG_FIRMWARE_EDID=yCONFIG_FB_DDC=yCONFIG_FB_BOOT_VESA_SUPPORT=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not setCONFIG_FB_SYS_FILLRECT=yCONFIG_FB_SYS_COPYAREA=yCONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not setCONFIG_FB_SYS_FOPS=yCONFIG_FB_DEFERRED_IO=yCONFIG_FB_HECUBA=yCONFIG_FB_SVGALIB=y
# CONFIG_FB_MACMODES is not setCONFIG_FB_BACKLIGHT=yCONFIG_FB_MODE_HELPERS=yCONFIG_FB_TILEBLITTING=y
#
# Frame buffer hardware drivers
#CONFIG_FB_PM2=yCONFIG_FB_PM2_FIFO_DISCONNECT=y
# CONFIG_FB_CYBER2000 is not setCONFIG_FB_ARC=yCONFIG_FB_IMSTT=yCONFIG_FB_UVESA=y
# CONFIG_FB_EFI is not setCONFIG_FB_N411=yCONFIG_FB_HGA=yCONFIG_FB_HGA_ACCEL=y
# CONFIG_FB_S1D13XXX is not setCONFIG_FB_NVIDIA=yCONFIG_FB_NVIDIA_I2C=yCONFIG_FB_NVIDIA_DEBUG=y
# CONFIG_FB_NVIDIA_BACKLIGHT is not setCONFIG_FB_RIVA=yCONFIG_FB_RIVA_I2C=yCONFIG_FB_RIVA_DEBUG=yCONFIG_FB_RIVA_BACKLIGHT=yCONFIG_FB_I810=y
# CONFIG_FB_I810_GTF is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not setCONFIG_FB_ATY128=y
# CONFIG_FB_ATY128_BACKLIGHT is not setCONFIG_FB_ATY=yCONFIG_FB_ATY_CT=yCONFIG_FB_ATY_GENERIC_LCD=yCONFIG_FB_ATY_GX=yCONFIG_FB_ATY_BACKLIGHT=yCONFIG_FB_S3=yCONFIG_FB_SAVAGE=yCONFIG_FB_SAVAGE_I2C=yCONFIG_FB_SAVAGE_ACCEL=yCONFIG_FB_SIS=y
# CONFIG_FB_SIS_300 is not setCONFIG_FB_SIS_315=yCONFIG_FB_VIA=y
# CONFIG_FB_NEOMAGIC is not setCONFIG_FB_KYRO=y
# CONFIG_FB_3DFX is not setCONFIG_FB_VOODOO1=yCONFIG_FB_VT8623=yCONFIG_FB_TRIDENT=yCONFIG_FB_ARK=yCONFIG_FB_PM3=yCONFIG_FB_CARMINE=yCONFIG_FB_CARMINE_DRAM_EVAL=y
# CONFIG_CARMINE_DRAM_CUSTOM is not setCONFIG_FB_GEODE=y
# CONFIG_FB_GEODE_LX is not set
# CONFIG_FB_GEODE_GX is not setCONFIG_FB_GEODE_GX1=yCONFIG_FB_TMIO=yCONFIG_FB_TMIO_ACCELL=yCONFIG_FB_METRONOME=yCONFIG_FB_MB862XX=yCONFIG_FB_MB862XX_PCI_GDC=yCONFIG_FB_BROADSHEET=yCONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not setCONFIG_BACKLIGHT_CLASS_DEVICE=yCONFIG_BACKLIGHT_GENERIC=yCONFIG_BACKLIGHT_PROGEAR=yCONFIG_BACKLIGHT_DA903X=y
# CONFIG_BACKLIGHT_MBP_NVIDIA is not setCONFIG_BACKLIGHT_SAHARA=yCONFIG_BACKLIGHT_WM831X=y
#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=yCONFIG_VGACON_SOFT_SCROLLBACK=yCONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64CONFIG_DUMMY_CONSOLE=yCONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not setCONFIG_LOGO_LINUX_VGA16=yCONFIG_LOGO_LINUX_CLUT224=y
# CONFIG_SOUND is not set
# CONFIG_HID_SUPPORT is not setCONFIG_USB_MOUSE=yCONFIG_USB_SUPPORT=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB=yCONFIG_USB_DEBUG=yCONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
# Miscellaneous USB options
#
# CONFIG_USB_DEVICEFS is not setCONFIG_USB_DEVICE_CLASS=y
# CONFIG_USB_DYNAMIC_MINORS is not setCONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not setCONFIG_USB_MON=yCONFIG_USB_WUSB=yCONFIG_USB_WUSB_CBAF=yCONFIG_USB_WUSB_CBAF_DEBUG=y
#
# USB Host Controller Drivers
#CONFIG_USB_C67X00_HCD=y
# CONFIG_USB_XHCI_HCD is not setCONFIG_USB_EHCI_HCD=yCONFIG_USB_EHCI_ROOT_HUB_TT=yCONFIG_USB_EHCI_TT_NEWSCHED=yCONFIG_USB_OXU210HP_HCD=yCONFIG_USB_ISP116X_HCD=yCONFIG_USB_ISP1760_HCD=yCONFIG_USB_ISP1362_HCD=yCONFIG_USB_OHCI_HCD=yCONFIG_USB_OHCI_HCD_SSB=y
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not setCONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_USB_UHCI_HCD=yCONFIG_USB_U132_HCD=yCONFIG_USB_SL811_HCD=yCONFIG_USB_SL811_CS=yCONFIG_USB_R8A66597_HCD=yCONFIG_USB_HWA_HCD=y
#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not setCONFIG_USB_PRINTER=yCONFIG_USB_WDM=yCONFIG_USB_TMC=y
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may #
#
# also be needed; see USB_STORAGE Help for more info # CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_DEBUG=y CONFIG_USB_STORAGE_DATAFAB=y CONFIG_USB_STORAGE_FREECOM=y CONFIG_USB_STORAGE_ISD200=y # CONFIG_USB_STORAGE_USBAT is not set CONFIG_USB_STORAGE_SDDR09=y # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set CONFIG_USB_STORAGE_ALAUDA=y # CONFIG_USB_STORAGE_ONETOUCH is not set CONFIG_USB_STORAGE_KARMA=y CONFIG_USB_STORAGE_CYPRESS_ATACB=y CONFIG_USB_LIBUSUAL=y
#
# USB Imaging devices
#CONFIG_USB_MDC800=yCONFIG_USB_MICROTEK=y
#
# USB port drivers
#
# CONFIG_USB_USS720 is not set
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#CONFIG_USB_EMI62=yCONFIG_USB_EMI26=yCONFIG_USB_ADUTUX=y
# CONFIG_USB_SEVSEG is not setCONFIG_USB_RIO500=yCONFIG_USB_LEGOTOWER=yCONFIG_USB_LCD=y
# CONFIG_USB_BERRY_CHARGE is not set
# CONFIG_USB_LED is not setCONFIG_USB_CYPRESS_CY7C63=yCONFIG_USB_CYTHERM=yCONFIG_USB_IDMOUSE=yCONFIG_USB_FTDI_ELAN=y
# CONFIG_USB_APPLEDISPLAY is not setCONFIG_USB_SISUSBVGA=y
# CONFIG_USB_SISUSBVGA_CON is not setCONFIG_USB_LD=y
# CONFIG_USB_TRANCEVIBRATOR is not setCONFIG_USB_IOWARRIOR=yCONFIG_USB_TEST=yCONFIG_USB_ISIGHTFW=yCONFIG_USB_VST=y
#
# OTG and related infrastructure
#CONFIG_USB_OTG_UTILS=y
# CONFIG_USB_GPIO_VBUS is not setCONFIG_NOP_USB_XCEIV=yCONFIG_UWB=yCONFIG_UWB_HWA=yCONFIG_UWB_WHCI=yCONFIG_UWB_WLP=yCONFIG_UWB_I1480U=yCONFIG_UWB_I1480U_WLP=yCONFIG_MMC=yCONFIG_MMC_DEBUG=yCONFIG_MMC_UNSAFE_RESUME=y
#
# MMC/SD/SDIO Card Drivers
#CONFIG_MMC_BLOCK=y
# CONFIG_MMC_BLOCK_BOUNCE is not set
# CONFIG_SDIO_UART is not setCONFIG_MMC_TEST=y
#
# MMC/SD/SDIO Host Controller Drivers
#CONFIG_MMC_SDHCI=yCONFIG_MMC_SDHCI_PCI=y
# CONFIG_MMC_RICOH_MMC is not setCONFIG_MMC_SDHCI_PLTFM=yCONFIG_MMC_WBSD=y
# CONFIG_MMC_AT91 is not set
# CONFIG_MMC_ATMELMCI is not set
# CONFIG_MMC_TIFM_SD is not setCONFIG_MMC_SDRICOH_CS=yCONFIG_MMC_CB710=yCONFIG_MMC_VIA_SDMMC=yCONFIG_MEMSTICK=yCONFIG_MEMSTICK_DEBUG=y
#
# MemoryStick drivers
#CONFIG_MEMSTICK_UNSAFE_RESUME=yCONFIG_MSPRO_BLOCK=y
#
# MemoryStick Host Controller Drivers
#CONFIG_MEMSTICK_TIFM_MS=y
# CONFIG_MEMSTICK_JMICRON_38X is not setCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=y
#
# LED drivers
#CONFIG_LEDS_NET48XX=yCONFIG_LEDS_WRAP=y
# CONFIG_LEDS_ALIX2 is not set
# CONFIG_LEDS_PCA9532 is not setCONFIG_LEDS_GPIO=y
# CONFIG_LEDS_GPIO_PLATFORM is not set
# CONFIG_LEDS_LP3944 is not set
# CONFIG_LEDS_CLEVO_MAIL is not set
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_WM831X_STATUS is not setCONFIG_LEDS_DA903X=yCONFIG_LEDS_DAC124S085=yCONFIG_LEDS_BD2802=yCONFIG_LEDS_LT3593=y
#
# LED Triggers
#CONFIG_LEDS_TRIGGERS=yCONFIG_LEDS_TRIGGER_TIMER=yCONFIG_LEDS_TRIGGER_HEARTBEAT=yCONFIG_LEDS_TRIGGER_BACKLIGHT=yCONFIG_LEDS_TRIGGER_GPIO=y
# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
#
# iptables trigger is under Netfilter config (LED target) # CONFIG_ACCESSIBILITY=y CONFIG_A11Y_BRAILLE_CONSOLE=y CONFIG_INFINIBAND=y CONFIG_INFINIBAND_USER_MAD=y CONFIG_INFINIBAND_USER_ACCESS=y CONFIG_INFINIBAND_USER_MEM=y CONFIG_INFINIBAND_ADDR_TRANS=y CONFIG_INFINIBAND_MTHCA=y CONFIG_INFINIBAND_MTHCA_DEBUG=y CONFIG_INFINIBAND_AMSO1100=y CONFIG_INFINIBAND_AMSO1100_DEBUG=y CONFIG_MLX4_INFINIBAND=y # CONFIG_INFINIBAND_NES is not set CONFIG_INFINIBAND_IPOIB=y CONFIG_INFINIBAND_IPOIB_CM=y CONFIG_INFINIBAND_IPOIB_DEBUG=y CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=y CONFIG_INFINIBAND_SRP=y # CONFIG_INFINIBAND_ISER is not set # CONFIG_EDAC is not set CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y # CONFIG_RTC_HCTOSYS is not set # CONFIG_RTC_DEBUG is not set
#
# RTC interfaces
#
# CONFIG_RTC_INTF_SYSFS is not setCONFIG_RTC_INTF_PROC=y
# CONFIG_RTC_INTF_DEV is not setCONFIG_RTC_DRV_TEST=y
#
# I2C RTC drivers
#CONFIG_RTC_DRV_DS1307=yCONFIG_RTC_DRV_DS1374=y
# CONFIG_RTC_DRV_DS1672 is not setCONFIG_RTC_DRV_MAX6900=yCONFIG_RTC_DRV_RS5C372=yCONFIG_RTC_DRV_ISL1208=yCONFIG_RTC_DRV_X1205=yCONFIG_RTC_DRV_PCF8563=yCONFIG_RTC_DRV_PCF8583=yCONFIG_RTC_DRV_M41T80=yCONFIG_RTC_DRV_M41T80_WDT=yCONFIG_RTC_DRV_BQ32K=yCONFIG_RTC_DRV_TWL4030=y
# CONFIG_RTC_DRV_S35390A is not setCONFIG_RTC_DRV_FM3130=y
# CONFIG_RTC_DRV_RX8581 is not setCONFIG_RTC_DRV_RX8025=y
#
# SPI RTC drivers
#CONFIG_RTC_DRV_M41T94=yCONFIG_RTC_DRV_DS1305=yCONFIG_RTC_DRV_DS1390=y
# CONFIG_RTC_DRV_MAX6902 is not setCONFIG_RTC_DRV_R9701=yCONFIG_RTC_DRV_RS5C348=y
# CONFIG_RTC_DRV_DS3234 is not setCONFIG_RTC_DRV_PCF2123=y
#
# Platform RTC drivers
#CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not setCONFIG_RTC_DRV_DS1553=yCONFIG_RTC_DRV_DS1742=y
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not setCONFIG_RTC_DRV_M48T59=yCONFIG_RTC_DRV_MSM6242=y
# CONFIG_RTC_DRV_BQ4802 is not setCONFIG_RTC_DRV_RP5C01=yCONFIG_RTC_DRV_V3020=yCONFIG_RTC_DRV_WM831X=yCONFIG_RTC_DRV_PCF50633=y
#
# on-CPU RTC drivers
#CONFIG_RTC_DRV_MC13783=yCONFIG_DMADEVICES=y
#
# DMA Devices
#CONFIG_ASYNC_TX_DISABLE_CHANNEL_SWITCH=yCONFIG_INTEL_IOATDMA=yCONFIG_DMA_ENGINE=y
#
# DMA Clients
#CONFIG_NET_DMA=yCONFIG_ASYNC_TX_DMA=yCONFIG_DMATEST=yCONFIG_DCA=yCONFIG_AUXDISPLAY=yCONFIG_UIO=y
# CONFIG_UIO_CIF is not set
# CONFIG_UIO_PDRV is not set
# CONFIG_UIO_PDRV_GENIRQ is not setCONFIG_UIO_SMX=y
# CONFIG_UIO_AEC is not set
# CONFIG_UIO_SERCOS3 is not set
# CONFIG_UIO_PCI_GENERIC is not set
#
# TI VLYNQ
#CONFIG_X86_PLATFORM_DEVICES=yCONFIG_ACER_WMI=yCONFIG_DELL_LAPTOP=yCONFIG_DELL_WMI=y
# CONFIG_FUJITSU_LAPTOP is not setCONFIG_TC1100_WMI=yCONFIG_HP_WMI=yCONFIG_MSI_LAPTOP=yCONFIG_PANASONIC_LAPTOP=yCONFIG_COMPAL_LAPTOP=yCONFIG_SONY_LAPTOP=yCONFIG_SONYPI_COMPAT=y
# CONFIG_EEEPC_LAPTOP is not setCONFIG_ACPI_WMI=yCONFIG_MSI_WMI=yCONFIG_ACPI_ASUS=y
# CONFIG_TOPSTAR_LAPTOP is not setCONFIG_ACPI_TOSHIBA=y
# CONFIG_TOSHIBA_BT_RFKILL is not setCONFIG_ACPI_CMPC=y
#
# Firmware Drivers
#CONFIG_EDD=y
# CONFIG_EDD_OFF is not setCONFIG_FIRMWARE_MEMMAP=yCONFIG_EFI_VARS=y
# CONFIG_DELL_RBU is not setCONFIG_DCDBAS=y
# CONFIG_DMIID is not setCONFIG_ISCSI_IBFT_FIND=y
# CONFIG_ISCSI_IBFT is not set
#
# File systems
#
# CONFIG_EXT2_FS is not setCONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not setCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_EXT4_FS=yCONFIG_EXT4_USE_FOR_EXT23=yCONFIG_EXT4_FS_XATTR=yCONFIG_EXT4_FS_POSIX_ACL=y
# CONFIG_EXT4_FS_SECURITY is not set
# CONFIG_EXT4_DEBUG is not setCONFIG_JBD=yCONFIG_JBD_DEBUG=yCONFIG_JBD2=yCONFIG_JBD2_DEBUG=yCONFIG_FS_MBCACHE=yCONFIG_REISERFS_FS=yCONFIG_REISERFS_CHECK=yCONFIG_REISERFS_PROC_INFO=y
# CONFIG_REISERFS_FS_XATTR is not set
# CONFIG_JFS_FS is not setCONFIG_FS_POSIX_ACL=yCONFIG_XFS_FS=yCONFIG_XFS_QUOTA=y
# CONFIG_XFS_POSIX_ACL is not setCONFIG_XFS_RT=yCONFIG_XFS_DEBUG=yCONFIG_OCFS2_FS=yCONFIG_OCFS2_FS_O2CB=yCONFIG_OCFS2_FS_USERSPACE_CLUSTER=y
# CONFIG_OCFS2_FS_STATS is not set
# CONFIG_OCFS2_DEBUG_MASKLOG is not setCONFIG_OCFS2_DEBUG_FS=yCONFIG_BTRFS_FS=yCONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_NILFS2_FS is not setCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY=y
# CONFIG_INOTIFY_USER is not setCONFIG_QUOTA=yCONFIG_QUOTA_NETLINK_INTERFACE=yCONFIG_PRINT_QUOTA_WARNING=yCONFIG_QUOTA_TREE=yCONFIG_QFMT_V1=y
# CONFIG_QFMT_V2 is not setCONFIG_QUOTACTL=yCONFIG_AUTOFS_FS=y
# CONFIG_AUTOFS4_FS is not setCONFIG_FUSE_FS=y
# CONFIG_CUSE is not set
#
# Caches
#
# CONFIG_FSCACHE is not set
#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not setCONFIG_UDF_FS=yCONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not setCONFIG_VFAT_FS=yCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=y
# CONFIG_TMPFS is not setCONFIG_HUGETLBFS=yCONFIG_HUGETLB_PAGE=yCONFIG_CONFIGFS_FS=y
# CONFIG_MISC_FILESYSTEMS is not set
# CONFIG_NETWORK_FILESYSTEMS is not setCONFIG_EXPORTFS=y
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not setCONFIG_OSF_PARTITION=yCONFIG_AMIGA_PARTITION=y
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not setCONFIG_MSDOS_PARTITION=yCONFIG_BSD_DISKLABEL=y
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not setCONFIG_UNIXWARE_DISKLABEL=yCONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not setCONFIG_SGI_PARTITION=y
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not setCONFIG_KARMA_PARTITION=yCONFIG_EFI_PARTITION=yCONFIG_SYSV68_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_CODEPAGE_437=yCONFIG_NLS_CODEPAGE_737=yCONFIG_NLS_CODEPAGE_775=y
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not setCONFIG_NLS_CODEPAGE_857=y
# CONFIG_NLS_CODEPAGE_860 is not setCONFIG_NLS_CODEPAGE_861=y
# CONFIG_NLS_CODEPAGE_862 is not setCONFIG_NLS_CODEPAGE_863=y
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not setCONFIG_NLS_CODEPAGE_869=y
# CONFIG_NLS_CODEPAGE_936 is not setCONFIG_NLS_CODEPAGE_950=y
# CONFIG_NLS_CODEPAGE_932 is not setCONFIG_NLS_CODEPAGE_949=y
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not setCONFIG_NLS_CODEPAGE_1250=yCONFIG_NLS_CODEPAGE_1251=yCONFIG_NLS_ASCII=yCONFIG_NLS_ISO8859_1=yCONFIG_NLS_ISO8859_2=y
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not setCONFIG_NLS_ISO8859_9=y
# CONFIG_NLS_ISO8859_13 is not setCONFIG_NLS_ISO8859_14=yCONFIG_NLS_ISO8859_15=yCONFIG_NLS_KOI8_R=yCONFIG_NLS_KOI8_U=y
# CONFIG_NLS_UTF8 is not setCONFIG_DLM=y
# CONFIG_DLM_DEBUG is not set
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=yCONFIG_PRINTK_TIME=yCONFIG_ENABLE_WARN_DEPRECATED=yCONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=1024CONFIG_MAGIC_SYSRQ=yCONFIG_STRIP_ASM_SYMS=yCONFIG_UNUSED_SYMBOLS=yCONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not setCONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_SHIRQ=yCONFIG_DETECT_SOFTLOCKUP=yCONFIG_NMI_WATCHDOG=y
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not setCONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0CONFIG_DETECT_HUNG_TASK=yCONFIG_BOOTPARAM_HUNG_TASK_PANIC=yCONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=1CONFIG_SCHED_DEBUG=yCONFIG_SCHEDSTATS=y
# CONFIG_TIMER_STATS is not setCONFIG_DEBUG_OBJECTS=y
# CONFIG_DEBUG_OBJECTS_SELFTEST is not set
# CONFIG_DEBUG_OBJECTS_FREE is not set
# CONFIG_DEBUG_OBJECTS_TIMERS is not set
# CONFIG_DEBUG_OBJECTS_WORK is not setCONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
# CONFIG_SLUB_DEBUG_ON is not setCONFIG_SLUB_STATS=yCONFIG_DEBUG_RT_MUTEXES=yCONFIG_DEBUG_PI_LIST=y
# CONFIG_RT_MUTEX_TESTER is not setCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=yCONFIG_DEBUG_LOCK_ALLOC=yCONFIG_PROVE_LOCKING=yCONFIG_PROVE_RCU=yCONFIG_LOCKDEP=yCONFIG_LOCK_STAT=yCONFIG_DEBUG_LOCKDEP=yCONFIG_TRACE_IRQFLAGS=y
# CONFIG_DEBUG_SPINLOCK_SLEEP is not setCONFIG_DEBUG_LOCKING_API_SELFTESTS=yCONFIG_STACKTRACE=y
# CONFIG_DEBUG_HIGHMEM is not setCONFIG_DEBUG_BUGVERBOSE=yCONFIG_DEBUG_VM=yCONFIG_DEBUG_VIRTUAL=yCONFIG_DEBUG_WRITECOUNT=yCONFIG_DEBUG_MEMORY_INIT=yCONFIG_DEBUG_LIST=yCONFIG_DEBUG_SG=y
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not setCONFIG_ARCH_WANT_FRAME_POINTERS=yCONFIG_FRAME_POINTER=y
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_CPU_STALL_DETECTOR is not setCONFIG_BACKTRACE_SELF_TEST=yCONFIG_DEBUG_FORCE_WEAK_PER_CPU=yCONFIG_FAULT_INJECTION=yCONFIG_FAILSLAB=yCONFIG_FAIL_PAGE_ALLOC=yCONFIG_FAIL_MAKE_REQUEST=y
# CONFIG_FAIL_IO_TIMEOUT is not setCONFIG_FAULT_INJECTION_DEBUG_FS=yCONFIG_FAULT_INJECTION_STACKTRACE_FILTER=yCONFIG_LATENCYTOP=y
# CONFIG_SYSCTL_SYSCALL_CHECK is not setCONFIG_DEBUG_PAGEALLOC=yCONFIG_USER_STACKTRACE_SUPPORT=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FTRACE_NMI_ENTER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=yCONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_TRACER_MAX_TRACE=yCONFIG_RING_BUFFER=yCONFIG_FTRACE_NMI_ENTER=yCONFIG_EVENT_TRACING=yCONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_RING_BUFFER_ALLOW_SWAP=yCONFIG_TRACING=yCONFIG_GENERIC_TRACER=yCONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=yCONFIG_FUNCTION_TRACER=yCONFIG_IRQSOFF_TRACER=yCONFIG_SYSPROF_TRACER=y
# CONFIG_SCHED_TRACER is not set
# CONFIG_FTRACE_SYSCALLS is not setCONFIG_BOOT_TRACER=yCONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not setCONFIG_POWER_TRACER=yCONFIG_KSYM_TRACER=y
# CONFIG_PROFILE_KSYM_TRACER is not setCONFIG_STACK_TRACER=yCONFIG_KMEMTRACE=y
# CONFIG_WORKQUEUE_TRACER is not setCONFIG_BLK_DEV_IO_TRACE=yCONFIG_DYNAMIC_FTRACE=yCONFIG_FUNCTION_PROFILER=yCONFIG_FTRACE_MCOUNT_RECORD=y
# CONFIG_FTRACE_STARTUP_TEST is not setCONFIG_MMIOTRACE=yCONFIG_PROVIDE_OHCI1394_DMA_INIT=yCONFIG_FIREWIRE_OHCI_REMOTE_DMA=y
# CONFIG_DYNAMIC_DEBUG is not setCONFIG_DMA_API_DEBUG=yCONFIG_SAMPLES=yCONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not setCONFIG_HAVE_ARCH_KMEMCHECK=yCONFIG_STRICT_DEVMEM=yCONFIG_X86_VERBOSE_BOOTUP=yCONFIG_EARLY_PRINTK=yCONFIG_EARLY_PRINTK_DBGP=y
# CONFIG_DEBUG_STACKOVERFLOW is not setCONFIG_DEBUG_STACK_USAGE=y
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_X86_PTDUMP is not setCONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not setCONFIG_4KSTACKS=yCONFIG_DOUBLEFAULT=y
# CONFIG_IOMMU_STRESS is not setCONFIG_HAVE_MMIOTRACE_SUPPORT=yCONFIG_IO_DELAY_TYPE_0X80=0CONFIG_IO_DELAY_TYPE_0XED=1CONFIG_IO_DELAY_TYPE_UDELAY=2CONFIG_IO_DELAY_TYPE_NONE=3
# CONFIG_IO_DELAY_0X80 is not set
# CONFIG_IO_DELAY_0XED is not setCONFIG_IO_DELAY_UDELAY=y
# CONFIG_IO_DELAY_NONE is not setCONFIG_DEFAULT_IO_DELAY_TYPE=2CONFIG_DEBUG_BOOT_PARAMS=yCONFIG_CPA_DEBUG=yCONFIG_OPTIMIZE_INLINING=y
#
# Security options
#
# CONFIG_KEYS is not setCONFIG_SECURITY=yCONFIG_SECURITYFS=y
# CONFIG_SECURITY_NETWORK is not setCONFIG_SECURITY_PATH=yCONFIG_INTEL_TXT=yCONFIG_SECURITY_TOMOYO=yCONFIG_IMA=yCONFIG_IMA_MEASURE_PCR_IDX=10CONFIG_IMA_AUDIT=y
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
# CONFIG_DEFAULT_SECURITY_SMACK is not setCONFIG_DEFAULT_SECURITY_TOMOYO=y
# CONFIG_DEFAULT_SECURITY_DAC is not setCONFIG_DEFAULT_SECURITY="tomoyo"CONFIG_ASYNC_TX_DISABLE_PQ_VAL_DMA=yCONFIG_ASYNC_TX_DISABLE_XOR_VAL_DMA=yCONFIG_CRYPTO=y
#
# Crypto core or helper
#CONFIG_CRYPTO_FIPS=yCONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD=yCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=yCONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_PCOMP=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_GF128MUL=yCONFIG_CRYPTO_NULL=yCONFIG_CRYPTO_WORKQUEUE=yCONFIG_CRYPTO_CRYPTD=yCONFIG_CRYPTO_AUTHENC=y
#
# Authenticated Encryption with Associated Data
#CONFIG_CRYPTO_CCM=y
# CONFIG_CRYPTO_GCM is not setCONFIG_CRYPTO_SEQIV=y
#
# Block modes
#CONFIG_CRYPTO_CBC=yCONFIG_CRYPTO_CTR=yCONFIG_CRYPTO_CTS=yCONFIG_CRYPTO_ECB=yCONFIG_CRYPTO_LRW=yCONFIG_CRYPTO_PCBC=y
# CONFIG_CRYPTO_XTS is not set
#
# Hash modes
#CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set
#
# Digest
#CONFIG_CRYPTO_CRC32C=yCONFIG_CRYPTO_CRC32C_INTEL=y
# CONFIG_CRYPTO_GHASH is not setCONFIG_CRYPTO_MD4=yCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_MICHAEL_MIC=y
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not setCONFIG_CRYPTO_RMD256=yCONFIG_CRYPTO_RMD320=yCONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not setCONFIG_CRYPTO_SHA512=yCONFIG_CRYPTO_TGR192=y
# CONFIG_CRYPTO_WP512 is not set
#
# Ciphers
#CONFIG_CRYPTO_AES=yCONFIG_CRYPTO_AES_586=yCONFIG_CRYPTO_ANUBIS=yCONFIG_CRYPTO_ARC4=y
# CONFIG_CRYPTO_BLOWFISH is not setCONFIG_CRYPTO_CAMELLIA=yCONFIG_CRYPTO_CAST5=yCONFIG_CRYPTO_CAST6=yCONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not setCONFIG_CRYPTO_SALSA20_586=yCONFIG_CRYPTO_SEED=yCONFIG_CRYPTO_SERPENT=y
# CONFIG_CRYPTO_TEA is not setCONFIG_CRYPTO_TWOFISH=yCONFIG_CRYPTO_TWOFISH_COMMON=yCONFIG_CRYPTO_TWOFISH_586=y
#
# Compression
#CONFIG_CRYPTO_DEFLATE=yCONFIG_CRYPTO_ZLIB=y
# CONFIG_CRYPTO_LZO is not set
#
# Random Number Generation
#CONFIG_CRYPTO_ANSI_CPRNG=y
# CONFIG_CRYPTO_HW is not setCONFIG_HAVE_KVM=yCONFIG_HAVE_KVM_IRQCHIP=yCONFIG_HAVE_KVM_EVENTFD=yCONFIG_KVM_APIC_ARCHITECTURE=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=yCONFIG_KVM_INTEL=yCONFIG_KVM_AMD=yCONFIG_LGUEST=yCONFIG_VIRTIO=yCONFIG_VIRTIO_RING=yCONFIG_VIRTIO_PCI=yCONFIG_VIRTIO_BALLOON=yCONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_FIND_FIRST_BIT=yCONFIG_GENERIC_FIND_NEXT_BIT=yCONFIG_GENERIC_FIND_LAST_BIT=yCONFIG_CRC_CCITT=yCONFIG_CRC16=yCONFIG_CRC_T10DIF=yCONFIG_CRC_ITU_T=yCONFIG_CRC32=yCONFIG_CRC7=yCONFIG_LIBCRC32C=yCONFIG_AUDIT_GENERIC=yCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_CHECK_SIGNATURE=yCONFIG_NLATTR=yCONFIG_LRU_CACHE=yCONFIG_FORCE_SUCCESSFUL_BUILD=yCONFIG_FORCE_MINIMAL_CONFIG=yCONFIG_FORCE_MINIMAL_CONFIG_PHYS=yCONFIG_X86_32_ALWAYS_ON=y
Quoted 25 lines · Ingo Molnar
another, different warning is:
PM: Adding info for No Bus:vcsa6
------------[ cut here ]------------ WARNING: at kernel/softirq.c:143 local_bh_enable_ip+0xba/0xf0() Hardware name: System Product Name Modules linked in: Pid: 0, comm: swapper Not tainted 2.6.33-tip-00730-gacec70d-dirty #18737 Call Trace: [<ffffffff8104e0eb>] warn_slowpath_common+0x7b/0xc0 [<ffffffff8166cd60>] ? __dst_free+0x60/0xd0 [<ffffffff8104e144>] warn_slowpath_null+0x14/0x20 [<ffffffff81055c7a>] local_bh_enable_ip+0xba/0xf0 [<ffffffff817c16d9>] _raw_spin_unlock_bh+0x19/0x20 [<ffffffff8166cd60>] __dst_free+0x60/0xd0 [<ffffffff8169de14>] dst_rcu_free+0x34/0x40 [<ffffffff8109c80d>] rcu_do_batch+0xcd/0x290 [<ffffffff8109ca3e>] __rcu_process_callbacks+0x6e/0xe0 [<ffffffff8109cbca>] rcu_needs_cpu+0x11a/0x170 [<ffffffff8107c14e>] tick_nohz_stop_sched_tick+0x15e/0x440 [<ffffffff81001dc9>] cpu_idle+0x79/0x120 [<ffffffff817bb627>] start_secondary+0xa0/0xa2 ---[ end trace 155c62ea9b561096 ]---
Quoted 1 line
Config attached.
Color me confused!
rcu_needs_cpu() is supposed to be called with irqs disabled, and tick_nohz_stop_sched_tick() does in fact disable them with local_irq_save() near the beginning of the function. Doing a quick inspection, starting at that point in tick_nohz_stop_sched_tick():
o smp_processor_id() does not mess with irq, nor does per_cpu().
o tick_nohz_start_idle() calls a bunch of things.
sched_clock_cpu() checks for irqs being disabled, but only if CONFIG_HAVE_UNSTABLE_SCHED_CLOCK. Which you have set. So we know irqs remained disabled at this point.
And I don't see anything re-enabling irqs in the subsequent code path in this function.
o need_resched() just checks the TIF_NEED_RESCHED flag.
o Neither local_softirq_pending() and cpu_online() mess
with irq enabling.
o The code path containing the printk() was apparently not
taken, as there is no message in your log.
o read_seqbegin() and read_seqretry() leave irqs alone, as
does timekeeping_max_deferment().
And that puts us at the call to rcu_needs_cpu(). You have the new CONFIG_RCU_FAST_NO_HZ config variable set, and are not running preemptible RCU, so we are in the one at line 993 of rcutree_plugin.c. The fact that __rcu_process_callbacks() is on the stack means that all other CPUs were in dyntick-idle mode, so we went through the loop.
o rcu_sched_qs() doesn't mess with irqs.
o force_quiescent_state() does mess with irqs, but puts them
back the way it found them.
o Ditto for __rcu_process_callbacks().
So I am reduced to putting together a diagnostic patch for you. :-/
Thanx, Paul
Quoted 2,929 lines
Ingo
#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.33
# Thu Feb 25 14:48:32 2010
#
#CONFIG_64BITis not setCONFIG_X86_32=y
#CONFIG_X86_64is not setCONFIG_X86=yCONFIG_OUTPUT_FORMAT="elf32-i386"CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"CONFIG_GENERIC_TIME=yCONFIG_GENERIC_CMOS_UPDATE=yCONFIG_CLOCKSOURCE_WATCHDOG=yCONFIG_GENERIC_CLOCKEVENTS=yCONFIG_GENERIC_CLOCKEVENTS_BROADCAST=yCONFIG_LOCKDEP_SUPPORT=yCONFIG_STACKTRACE_SUPPORT=yCONFIG_HAVE_LATENCYTOP_SUPPORT=yCONFIG_MMU=yCONFIG_ZONE_DMA=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_HWEIGHT=yCONFIG_GENERIC_GPIO=yCONFIG_ARCH_MAY_HAVE_PC_FDC=y
#CONFIG_RWSEM_GENERIC_SPINLOCKis not setCONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_ARCH_HAS_CPU_IDLE_WAIT=yCONFIG_GENERIC_CALIBRATE_DELAY=y
#CONFIG_GENERIC_TIME_VSYSCALLis not setCONFIG_ARCH_HAS_CPU_RELAX=yCONFIG_ARCH_HAS_DEFAULT_IDLE=yCONFIG_ARCH_HAS_CACHE_LINE_SIZE=yCONFIG_HAVE_SETUP_PER_CPU_AREA=yCONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=yCONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
#CONFIG_HAVE_CPUMASK_OF_CPU_MAPis not setCONFIG_ARCH_HIBERNATION_POSSIBLE=yCONFIG_ARCH_SUSPEND_POSSIBLE=y
#CONFIG_ZONE_DMA32is not setCONFIG_ARCH_POPULATES_NODE_MAP=y
#CONFIG_AUDIT_ARCHis not setCONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=yCONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=yCONFIG_HAVE_EARLY_RES=yCONFIG_HAVE_INTEL_TXT=yCONFIG_GENERIC_HARDIRQS=yCONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=yCONFIG_GENERIC_IRQ_PROBE=yCONFIG_GENERIC_PENDING_IRQ=yCONFIG_USE_GENERIC_SMP_HELPERS=yCONFIG_X86_32_SMP=yCONFIG_X86_HT=yCONFIG_X86_TRAMPOLINE=yCONFIG_X86_32_LAZY_GS=yCONFIG_KTIME_SCALAR=yCONFIG_BOOTPARAM_SUPPORT_NOT_WANTED=yCONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"CONFIG_CONSTRUCTORS=y#
# General setup
#CONFIG_EXPERIMENTAL=y
#CONFIG_BROKEN_BOOT_ALLOWED4is not set
#CONFIG_BROKEN_BOOT_DISALLOWEDis not set
#CONFIG_BROKEN_BOOT_EUROPEis not set
#CONFIG_BROKEN_BOOT_TITANis not setCONFIG_LOCK_KERNEL=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=yCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_KERNEL_GZIP=y
#CONFIG_KERNEL_BZIP2is not set
#CONFIG_KERNEL_LZMAis not set
#CONFIG_KERNEL_LZOis not setCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=y
#CONFIG_POSIX_MQUEUEis not set
#CONFIG_BSD_PROCESS_ACCTis not set
#CONFIG_TASKSTATSis not setCONFIG_AUDIT=yCONFIG_AUDITSYSCALL=yCONFIG_AUDIT_TREE=y#
# RCU Subsystem
#CONFIG_TREE_RCU=y
#CONFIG_TREE_PREEMPT_RCUis not set
#CONFIG_TINY_RCUis not setCONFIG_RCU_TRACE=yCONFIG_RCU_FANOUT=32CONFIG_RCU_FANOUT_EXACT=yCONFIG_RCU_FAST_NO_HZ=yCONFIG_TREE_RCU_TRACE=yCONFIG_IKCONFIG=y
#CONFIG_IKCONFIG_PROCis not setCONFIG_LOG_BUF_SHIFT=20CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=yCONFIG_CGROUPS=yCONFIG_CGROUP_DEBUG=y
#CONFIG_CGROUP_NSis not setCONFIG_CGROUP_FREEZER=yCONFIG_CGROUP_DEVICE=yCONFIG_CPUSETS=yCONFIG_PROC_PID_CPUSET=yCONFIG_CGROUP_CPUACCT=yCONFIG_RESOURCE_COUNTERS=yCONFIG_CGROUP_MEM_RES_CTLR=yCONFIG_CGROUP_MEM_RES_CTLR_SWAP=yCONFIG_CGROUP_SCHED=y
#CONFIG_FAIR_GROUP_SCHEDis not setCONFIG_RT_GROUP_SCHED=yCONFIG_MM_OWNER=yCONFIG_SYSFS_DEPRECATED=yCONFIG_SYSFS_DEPRECATED_V2=yCONFIG_RELAY=yCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_IPC_NS=yCONFIG_USER_NS=yCONFIG_PID_NS=yCONFIG_NET_NS=y
#CONFIG_BLK_DEV_INITRDis not setCONFIG_CC_OPTIMIZE_FOR_SIZE=yCONFIG_SYSCTL=yCONFIG_ANON_INODES=y
#CONFIG_EMBEDDEDis not setCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=yCONFIG_KALLSYMS_EXTRA_PASS=yCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_HAVE_PERF_EVENTS=yCONFIG_PERF_USE_VMALLOC=yCONFIG_PERF_EVENTS_NMI=y#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=yCONFIG_PERF_COUNTERS=yCONFIG_DEBUG_PERF_USE_VMALLOC=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_PCI_QUIRKS=yCONFIG_SLUB_DEBUG=y
#CONFIG_COMPAT_BRKis not set
#CONFIG_SLABis not setCONFIG_SLUB=y
#CONFIG_SLOBis not setCONFIG_PROFILING=yCONFIG_TRACEPOINTS=yCONFIG_OPROFILE=yCONFIG_OPROFILE_IBS=yCONFIG_OPROFILE_EVENT_MULTIPLEX=yCONFIG_HAVE_OPROFILE=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_USER_RETURN_NOTIFIER=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_ATTRS=yCONFIG_HAVE_DMA_API_DEBUG=yCONFIG_HAVE_HW_BREAKPOINT=yCONFIG_HAVE_USER_RETURN_NOTIFIER=y#
# GCOV-based kernel profiling
#
#CONFIG_SLOW_WORKis not setCONFIG_HAVE_GENERIC_DMA_COHERENT=yCONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0
#CONFIG_MODULESis not setCONFIG_STOP_MACHINE=yCONFIG_BLOCK=y
#CONFIG_LBDAFis not set
#CONFIG_BLK_DEV_BSGis not setCONFIG_BLK_DEV_INTEGRITY=y
#CONFIG_BLK_CGROUPis not set#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_DEADLINE=y
#CONFIG_IOSCHED_CFQis not setCONFIG_DEFAULT_DEADLINE=y
#CONFIG_DEFAULT_CFQis not set
#CONFIG_DEFAULT_NOOPis not setCONFIG_DEFAULT_IOSCHED="deadline"CONFIG_PREEMPT_NOTIFIERS=y
#CONFIG_INLINE_SPIN_TRYLOCKis not set
#CONFIG_INLINE_SPIN_TRYLOCK_BHis not set #CONFIG_INLINE_SPIN_LOCKis not set
#CONFIG_INLINE_SPIN_LOCK_BHis not set
#CONFIG_INLINE_SPIN_LOCK_IRQis not set
#CONFIG_INLINE_SPIN_LOCK_IRQSAVEis not set #CONFIG_INLINE_SPIN_UNLOCKis not set
#CONFIG_INLINE_SPIN_UNLOCK_BHis not set #CONFIG_INLINE_SPIN_UNLOCK_IRQis not set #CONFIG_INLINE_SPIN_UNLOCK_IRQRESTOREis not set #CONFIG_INLINE_READ_TRYLOCKis not set
#CONFIG_INLINE_READ_LOCKis not set
#CONFIG_INLINE_READ_LOCK_BHis not set
#CONFIG_INLINE_READ_LOCK_IRQis not set
#CONFIG_INLINE_READ_LOCK_IRQSAVEis not set #CONFIG_INLINE_READ_UNLOCKis not set
#CONFIG_INLINE_READ_UNLOCK_BHis not set #CONFIG_INLINE_READ_UNLOCK_IRQis not set #CONFIG_INLINE_READ_UNLOCK_IRQRESTOREis not set #CONFIG_INLINE_WRITE_TRYLOCKis not set
#CONFIG_INLINE_WRITE_LOCKis not set
#CONFIG_INLINE_WRITE_LOCK_BHis not set
#CONFIG_INLINE_WRITE_LOCK_IRQis not set #CONFIG_INLINE_WRITE_LOCK_IRQSAVEis not set #CONFIG_INLINE_WRITE_UNLOCKis not set
#CONFIG_INLINE_WRITE_UNLOCK_BHis not set #CONFIG_INLINE_WRITE_UNLOCK_IRQis not set #CONFIG_INLINE_WRITE_UNLOCK_IRQRESTOREis not set #CONFIG_MUTEX_SPIN_ON_OWNERis not setCONFIG_FREEZER=y#
# Processor type and features
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=yCONFIG_GENERIC_CLOCKEVENTS_BUILD=y
#CONFIG_SMP_SUPPORTis not setCONFIG_SPARSE_IRQ=y
#CONFIG_X86_MPPARSEis not setCONFIG_X86_BIGSMP=y
#CONFIG_X86_EXTENDED_PLATFORMis not setCONFIG_SCHED_OMIT_FRAME_POINTER=y
#CONFIG_PARAVIRT_GUESTis not setCONFIG_NO_BOOTMEM=y
#CONFIG_MEMTESTis not set
#CONFIG_M386is not set
#CONFIG_M486is not set
#CONFIG_M586is not set
#CONFIG_M586TSCis not set
#CONFIG_M586MMXis not set
#CONFIG_M686is not set
#CONFIG_MPENTIUMIIis not set
#CONFIG_MPENTIUMIIIis not set
#CONFIG_MPENTIUMMis not set
#CONFIG_MPENTIUM4is not set
#CONFIG_MK6is not set
#CONFIG_MK7is not set
#CONFIG_MK8is not set
#CONFIG_MCRUSOEis not set
#CONFIG_MEFFICEONis not set
#CONFIG_MWINCHIPC6is not setCONFIG_MWINCHIP3D=y
#CONFIG_MGEODEGX1is not set
#CONFIG_MGEODE_LXis not set
#CONFIG_MCYRIXIIIis not set
#CONFIG_MVIAC3_2is not set
#CONFIG_MVIAC7is not set
#CONFIG_MPSCis not set
#CONFIG_MCORE2is not set
#CONFIG_MATOMis not set
#CONFIG_GENERIC_CPUis not setCONFIG_X86_GENERIC=yCONFIG_X86_CPU=yCONFIG_X86_INTERNODE_CACHE_SHIFT=6CONFIG_X86_CMPXCHG=yCONFIG_X86_L1_CACHE_SHIFT=6CONFIG_X86_XADD=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_ALIGNMENT_16=yCONFIG_X86_INTEL_USERCOPY=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_OOSTORE=yCONFIG_X86_TSC=yCONFIG_X86_MINIMUM_CPU_FAMILY=4CONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_CYRIX_32=yCONFIG_CPU_SUP_AMD=yCONFIG_CPU_SUP_CENTAUR=yCONFIG_CPU_SUP_TRANSMETA_32=yCONFIG_CPU_SUP_UMC_32=yCONFIG_HPET_TIMER=yCONFIG_HPET_EMULATE_RTC=yCONFIG_DMI=y
#CONFIG_IOMMU_HELPERis not setCONFIG_IOMMU_API=yCONFIG_NR_CPUS=32CONFIG_SCHED_SMT=y
#CONFIG_SCHED_MCis not setCONFIG_PREEMPT_NONE=y
#CONFIG_PREEMPT_VOLUNTARYis not set
#CONFIG_PREEMPTis not setCONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=yCONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=yCONFIG_X86_MCE=y
#CONFIG_X86_MCE_INTELis not set
#CONFIG_X86_MCE_AMDis not setCONFIG_X86_ANCIENT_MCE=yCONFIG_X86_MCE_INJECT=yCONFIG_VM86=yCONFIG_I8K=yCONFIG_X86_REBOOTFIXUPS=yCONFIG_MICROCODE=y
#CONFIG_MICROCODE_INTELis not setCONFIG_MICROCODE_AMD=yCONFIG_MICROCODE_OLD_INTERFACE=yCONFIG_X86_MSR=y
#CONFIG_X86_CPUIDis not setCONFIG_UP_WANTED_1=y
#CONFIG_UP_WANTED_2is not setCONFIG_SMP=y
#CONFIG_NOHIGHMEMis not setCONFIG_HIGHMEM4G=y
#CONFIG_HIGHMEM64Gis not setCONFIG_PAGE_OFFSET=0xC0000000CONFIG_HIGHMEM=y
#CONFIG_ARCH_PHYS_ADDR_T_64BITis not setCONFIG_NEED_NODE_MEMMAP_SIZE=yCONFIG_ARCH_FLATMEM_ENABLE=yCONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SELECT_MEMORY_MODEL=yCONFIG_ILLEGAL_POINTER_VALUE=0CONFIG_SELECT_MEMORY_MODEL=y
#CONFIG_FLATMEM_MANUALis not set
#CONFIG_DISCONTIGMEM_MANUALis not setCONFIG_SPARSEMEM_MANUAL=yCONFIG_SPARSEMEM=yCONFIG_HAVE_MEMORY_PRESENT=yCONFIG_SPARSEMEM_STATIC=y
#CONFIG_MEMORY_HOTPLUGis not setCONFIG_SPLIT_PTLOCK_CPUS=999999
#CONFIG_PHYS_ADDR_T_64BITis not setCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=yCONFIG_MMU_NOTIFIER=y
#CONFIG_KSMis not setCONFIG_DEFAULT_MMAP_MIN_ADDR=4096
#CONFIG_HIGHPTEis not setCONFIG_X86_CHECK_BIOS_CORRUPTION=yCONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=yCONFIG_X86_RESERVE_LOW_64K=yCONFIG_MATH_EMULATION=yCONFIG_MTRR=y
#CONFIG_MTRR_SANITIZERis not setCONFIG_X86_PAT=yCONFIG_ARCH_USES_PG_UNCACHED=yCONFIG_EFI=y
#CONFIG_SECCOMPis not set
#CONFIG_CC_STACKPROTECTORis not set
#CONFIG_HZ_100is not set
#CONFIG_HZ_250is not set
#CONFIG_HZ_300is not setCONFIG_HZ_1000=yCONFIG_HZ=1000CONFIG_SCHED_HRTICK=yCONFIG_KEXEC=y
#CONFIG_CRASH_DUMPis not setCONFIG_KEXEC_JUMP=yCONFIG_PHYSICAL_START=0x1000000CONFIG_RELOCATABLE=yCONFIG_X86_NEED_RELOCS=yCONFIG_PHYSICAL_ALIGN=0x1000000CONFIG_HOTPLUG_CPU=yCONFIG_COMPAT_VDSO=y
#CONFIG_CMDLINE_BOOLis not setCONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y#
# Power management and ACPI options
#CONFIG_PM=y
#CONFIG_PM_DEBUGis not setCONFIG_PM_SLEEP_SMP=yCONFIG_PM_SLEEP=yCONFIG_SUSPEND=yCONFIG_SUSPEND_FREEZER=yCONFIG_HIBERNATION_NVS=yCONFIG_HIBERNATION=yCONFIG_PM_STD_PARTITION=""CONFIG_PM_RUNTIME=yCONFIG_ACPI=yCONFIG_ACPI_SLEEP=y
#CONFIG_ACPI_PROCFSis not setCONFIG_ACPI_PROCFS_POWER=yCONFIG_ACPI_POWER_METER=y
#CONFIG_ACPI_SYSFS_POWERis not setCONFIG_ACPI_PROC_EVENT=y
#CONFIG_ACPI_ACis not setCONFIG_ACPI_BATTERY=y
#CONFIG_ACPI_BUTTONis not setCONFIG_ACPI_VIDEO=yCONFIG_ACPI_FAN=yCONFIG_ACPI_DOCK=y
#CONFIG_ACPI_PROCESSORis not set
#CONFIG_ACPI_CUSTOM_DSDTis not setCONFIG_ACPI_BLACKLIST_YEAR=0
#CONFIG_ACPI_DEBUGis not set
#CONFIG_ACPI_PCI_SLOTis not setCONFIG_X86_PM_TIMER=y
#CONFIG_ACPI_CONTAINERis not setCONFIG_ACPI_SBS=y
#CONFIG_SFIis not set#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=yCONFIG_CPU_FREQ_DEBUG=yCONFIG_CPU_FREQ_STAT=yCONFIG_CPU_FREQ_STAT_DETAILS=y
#CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCEis not set #CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVEis not setCONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
#CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMANDis not set #CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVEis not set #CONFIG_CPU_FREQ_GOV_PERFORMANCEis not setCONFIG_CPU_FREQ_GOV_POWERSAVE=yCONFIG_CPU_FREQ_GOV_USERSPACE=yCONFIG_CPU_FREQ_GOV_ONDEMAND=y
#CONFIG_CPU_FREQ_GOV_CONSERVATIVEis not set#
# CPUFreq processor drivers
#
#CONFIG_X86_POWERNOW_K6is not setCONFIG_X86_POWERNOW_K7=y
#CONFIG_X86_GX_SUSPMODis not setCONFIG_X86_SPEEDSTEP_CENTRINO=yCONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=yCONFIG_X86_SPEEDSTEP_ICH=y
#CONFIG_X86_SPEEDSTEP_SMIis not set
#CONFIG_X86_P4_CLOCKMODis not set
#CONFIG_X86_CPUFREQ_NFORCE2is not setCONFIG_X86_LONGRUN=yCONFIG_X86_E_POWERSAVER=y#
# shared options # CONFIG_X86_SPEEDSTEP_LIB=y # CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK is not set CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y#
# Bus options (PCI etc.)
#CONFIG_PCI=yCONFIG_PCI_GOBIOS=y
#CONFIG_PCI_GOMMCONFIGis not set
#CONFIG_PCI_GODIRECTis not set
#CONFIG_PCI_GOOLPCis not set
#CONFIG_PCI_GOANYis not setCONFIG_PCI_BIOS=yCONFIG_PCI_DOMAINS=yCONFIG_DMAR=y
#CONFIG_DMAR_DEFAULT_ONis not setCONFIG_DMAR_FLOPPY_WA=y
#CONFIG_PCIEPORTBUSis not setCONFIG_ARCH_SUPPORTS_MSI=yCONFIG_PCI_MSI=yCONFIG_PCI_LEGACY=y
#CONFIG_PCI_DEBUGis not setCONFIG_PCI_STUB=y
#CONFIG_HT_IRQis not set
#CONFIG_PCI_IOVis not setCONFIG_PCI_IOAPIC=yCONFIG_ISA_DMA_API=yCONFIG_ISA=yCONFIG_EISA=yCONFIG_EISA_VLB_PRIMING=yCONFIG_EISA_PCI_EISA=yCONFIG_EISA_VIRTUAL_ROOT=yCONFIG_EISA_NAMES=y
#CONFIG_MCAis not set
CONFIG_SCx200=y
#CONFIG_SCx200HR_TIMERis not setCONFIG_OLPC=yCONFIG_K8_NB=yCONFIG_PCCARD=yCONFIG_PCMCIA=yCONFIG_PCMCIA_LOAD_CIS=yCONFIG_PCMCIA_IOCTL=yCONFIG_CARDBUS=y#
# PC-card bridges
#CONFIG_YENTA=yCONFIG_YENTA_O2=yCONFIG_YENTA_RICOH=yCONFIG_YENTA_TI=yCONFIG_YENTA_ENE_TUNE=yCONFIG_YENTA_TOSHIBA=yCONFIG_PD6729=y
#CONFIG_I82092is not set
#CONFIG_I82365is not setCONFIG_TCIC=yCONFIG_PCMCIA_PROBE=yCONFIG_PCCARD_NONSTATIC=yCONFIG_HOTPLUG_PCI=yCONFIG_HOTPLUG_PCI_FAKE=yCONFIG_HOTPLUG_PCI_COMPAQ=y
#CONFIG_HOTPLUG_PCI_COMPAQ_NVRAMis not set
#CONFIG_HOTPLUG_PCI_IBMis not set
#CONFIG_HOTPLUG_PCI_ACPIis not setCONFIG_HOTPLUG_PCI_CPCI=y
#CONFIG_HOTPLUG_PCI_CPCI_ZT5550is not set
#CONFIG_HOTPLUG_PCI_CPCI_GENERICis not setCONFIG_HOTPLUG_PCI_SHPC=y#
# Executable file formats / Emulations
#CONFIG_BINFMT_ELF=y
#CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERSis not setCONFIG_HAVE_AOUT=y
#CONFIG_BINFMT_AOUTis not set
#CONFIG_BINFMT_MISCis not setCONFIG_HAVE_ATOMIC_IOMAP=yCONFIG_NET=y#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_UNIX=yCONFIG_XFRM=yCONFIG_XFRM_USER=y
#CONFIG_XFRM_SUB_POLICYis not set
#CONFIG_XFRM_MIGRATEis not setCONFIG_XFRM_STATISTICS=yCONFIG_XFRM_IPCOMP=y
#CONFIG_NET_KEYis not setCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=yCONFIG_ASK_IP_FIB_HASH=y
#CONFIG_IP_FIB_TRIEis not setCONFIG_IP_FIB_HASH=y
#CONFIG_IP_MULTIPLE_TABLESis not setCONFIG_IP_ROUTE_MULTIPATH=yCONFIG_IP_ROUTE_VERBOSE=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=y
#CONFIG_IP_PNP_BOOTPis not set
#CONFIG_IP_PNP_RARPis not set
#CONFIG_NET_IPIPis not set
#CONFIG_NET_IPGREis not set
#CONFIG_IP_MROUTEis not set
#CONFIG_ARPDis not set
#CONFIG_SYN_COOKIESis not setCONFIG_INET_AH=yCONFIG_INET_ESP=yCONFIG_INET_IPCOMP=yCONFIG_INET_XFRM_TUNNEL=yCONFIG_INET_TUNNEL=yCONFIG_INET_XFRM_MODE_TRANSPORT=yCONFIG_INET_XFRM_MODE_TUNNEL=y
#CONFIG_INET_XFRM_MODE_BEETis not setCONFIG_INET_LRO=yCONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=y
#CONFIG_TCP_CONG_ADVANCEDis not setCONFIG_TCP_CONG_CUBIC=yCONFIG_DEFAULT_TCP_CONG="cubic"
#CONFIG_TCP_MD5SIGis not setCONFIG_IPV6=yCONFIG_IPV6_PRIVACY=yCONFIG_IPV6_ROUTER_PREF=y
#CONFIG_IPV6_ROUTE_INFOis not set
#CONFIG_IPV6_OPTIMISTIC_DADis not set
#CONFIG_INET6_AHis not setCONFIG_INET6_ESP=yCONFIG_INET6_IPCOMP=yCONFIG_IPV6_MIP6=yCONFIG_INET6_XFRM_TUNNEL=yCONFIG_INET6_TUNNEL=yCONFIG_INET6_XFRM_MODE_TRANSPORT=yCONFIG_INET6_XFRM_MODE_TUNNEL=y
#CONFIG_INET6_XFRM_MODE_BEETis not setCONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=yCONFIG_IPV6_SIT=yCONFIG_IPV6_SIT_6RD=yCONFIG_IPV6_NDISC_NODETYPE=y
#CONFIG_IPV6_TUNNELis not set
#CONFIG_IPV6_MULTIPLE_TABLESis not set
#CONFIG_IPV6_MROUTEis not setCONFIG_NETLABEL=y
#CONFIG_NETWORK_SECMARKis not set
#CONFIG_NETFILTERis not setCONFIG_IP_DCCP=yCONFIG_INET_DCCP_DIAG=y#
# DCCP CCIDs Configuration (EXPERIMENTAL)
#
#CONFIG_IP_DCCP_CCID2_DEBUGis not setCONFIG_IP_DCCP_CCID3=y
#CONFIG_IP_DCCP_CCID3_DEBUGis not setCONFIG_IP_DCCP_CCID3_RTO=100CONFIG_IP_DCCP_TFRC_LIB=y#
# DCCP Kernel Hacking
#
#CONFIG_IP_DCCP_DEBUGis not setCONFIG_IP_SCTP=yCONFIG_SCTP_DBG_MSG=y
#CONFIG_SCTP_DBG_OBJCNTis not set
#CONFIG_SCTP_HMAC_NONEis not setCONFIG_SCTP_HMAC_SHA1=y
#CONFIG_SCTP_HMAC_MD5is not setCONFIG_RDS=y
#CONFIG_RDS_RDMAis not setCONFIG_RDS_TCP=y
#CONFIG_RDS_DEBUGis not setCONFIG_TIPC=y
#CONFIG_TIPC_ADVANCEDis not setCONFIG_TIPC_DEBUG=y
#CONFIG_ATMis not set
#CONFIG_BRIDGEis not setCONFIG_NET_DSA=yCONFIG_NET_DSA_TAG_DSA=yCONFIG_NET_DSA_TAG_EDSA=y
#CONFIG_NET_DSA_TAG_TRAILERis not setCONFIG_NET_DSA_MV88E6XXX=y
#CONFIG_NET_DSA_MV88E6060is not setCONFIG_NET_DSA_MV88E6XXX_NEED_PPU=yCONFIG_NET_DSA_MV88E6131=yCONFIG_NET_DSA_MV88E6123_61_65=yCONFIG_VLAN_8021Q=y
#CONFIG_VLAN_8021Q_GVRPis not setCONFIG_DECNET=yCONFIG_DECNET_ROUTER=yCONFIG_LLC=y
#CONFIG_LLC2is not setCONFIG_IPX=y
#CONFIG_IPX_INTERNis not set
#CONFIG_ATALKis not setCONFIG_X25=y
#CONFIG_LAPBis not setCONFIG_ECONET=y
#CONFIG_ECONET_AUNUDPis not setCONFIG_ECONET_NATIVE=y
#CONFIG_WAN_ROUTERis not set
#CONFIG_PHONETis not setCONFIG_IEEE802154=yCONFIG_NET_SCHED=y#
# Queueing/Scheduling
#CONFIG_NET_SCH_CBQ=yCONFIG_NET_SCH_HTB=yCONFIG_NET_SCH_HFSC=yCONFIG_NET_SCH_PRIO=yCONFIG_NET_SCH_MULTIQ=y
#CONFIG_NET_SCH_REDis not setCONFIG_NET_SCH_SFQ=yCONFIG_NET_SCH_TEQL=yCONFIG_NET_SCH_TBF=yCONFIG_NET_SCH_GRED=yCONFIG_NET_SCH_DSMARK=yCONFIG_NET_SCH_NETEM=y
#CONFIG_NET_SCH_DRRis not set#
# Classification
#CONFIG_NET_CLS=y
#CONFIG_NET_CLS_BASICis not set
#CONFIG_NET_CLS_TCINDEXis not set
#CONFIG_NET_CLS_ROUTE4is not setCONFIG_NET_CLS_FW=y
#CONFIG_NET_CLS_U32is not set
#CONFIG_NET_CLS_RSVPis not setCONFIG_NET_CLS_RSVP6=yCONFIG_NET_CLS_FLOW=yCONFIG_NET_CLS_CGROUP=y
#CONFIG_NET_EMATCHis not set
#CONFIG_NET_CLS_ACTis not setCONFIG_NET_CLS_IND=yCONFIG_NET_SCH_FIFO=yCONFIG_DCB=y#
# Network testing
#
#CONFIG_NET_PKTGENis not setCONFIG_NET_DROP_MONITOR=y
#CONFIG_HAMRADIOis not setCONFIG_CAN=yCONFIG_CAN_RAW=y
#CONFIG_CAN_BCMis not set#
# CAN Device Drivers
#CONFIG_CAN_VCAN=y
#CONFIG_CAN_DEVis not setCONFIG_CAN_DEBUG_DEVICES=y
#CONFIG_IRDAis not setCONFIG_BT=y
#CONFIG_BT_L2CAPis not setCONFIG_BT_SCO=y#
# Bluetooth device drivers
#CONFIG_BT_HCIBTUSB=yCONFIG_BT_HCIBTSDIO=y
#CONFIG_BT_HCIUARTis not setCONFIG_BT_HCIBCM203X=yCONFIG_BT_HCIBPA10X=yCONFIG_BT_HCIBFUSB=yCONFIG_BT_HCIDTL1=y
#CONFIG_BT_HCIBT3Cis not setCONFIG_BT_HCIBLUECARD=yCONFIG_BT_HCIBTUART=yCONFIG_BT_HCIVHCI=y
#CONFIG_BT_MRVLis not setCONFIG_BT_ATH3K=y
#CONFIG_AF_RXRPCis not setCONFIG_FIB_RULES=yCONFIG_WIRELESS=yCONFIG_WIRELESS_EXT=yCONFIG_WEXT_CORE=yCONFIG_WEXT_PROC=yCONFIG_WEXT_SPY=yCONFIG_WEXT_PRIV=y
#CONFIG_CFG80211is not set
#CONFIG_WIRELESS_EXT_SYSFSis not setCONFIG_LIB80211=yCONFIG_LIB80211_CRYPT_WEP=yCONFIG_LIB80211_CRYPT_CCMP=yCONFIG_LIB80211_CRYPT_TKIP=yCONFIG_LIB80211_DEBUG=y#
# CFG80211 needs to be enabled for MAC80211
#CONFIG_WIMAX=yCONFIG_WIMAX_DEBUG_LEVEL=8CONFIG_RFKILL=yCONFIG_RFKILL_LEDS=yCONFIG_RFKILL_INPUT=y#
# Device Drivers
##
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"CONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=yCONFIG_FIRMWARE_IN_KERNEL=yCONFIG_EXTRA_FIRMWARE=""
#CONFIG_DEBUG_DRIVERis not setCONFIG_DEBUG_DEVRES=y
#CONFIG_SYS_HYPERVISORis not setCONFIG_CONNECTOR=yCONFIG_PROC_EVENTS=yCONFIG_PARPORT=y
#CONFIG_PARPORT_PCis not set
#CONFIG_PARPORT_GSCis not setCONFIG_PARPORT_AX88796=yCONFIG_PARPORT_1284=yCONFIG_PARPORT_NOT_PC=yCONFIG_PNP=yCONFIG_PNP_DEBUG_MESSAGES=y#
# Protocols
#CONFIG_ISAPNP=yCONFIG_PNPBIOS=yCONFIG_PNPBIOS_PROC_FS=yCONFIG_PNPACPI=yCONFIG_BLK_DEV=y
#CONFIG_BLK_DEV_FDis not setCONFIG_BLK_DEV_XD=yCONFIG_BLK_CPQ_DA=yCONFIG_BLK_CPQ_CISS_DA=yCONFIG_CISS_SCSI_TAPE=yCONFIG_BLK_DEV_DAC960=yCONFIG_BLK_DEV_UMEM=y
#CONFIG_BLK_DEV_COW_COMMONis not setCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_CRYPTOLOOP=yCONFIG_BLK_DEV_DRBD=yCONFIG_DRBD_FAULT_INJECTION=yCONFIG_BLK_DEV_NBD=yCONFIG_BLK_DEV_SX8=y
#CONFIG_BLK_DEV_UBis not setCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=4096
#CONFIG_BLK_DEV_XIPis not setCONFIG_CDROM_PKTCDVD=yCONFIG_CDROM_PKTCDVD_BUFFERS=8CONFIG_CDROM_PKTCDVD_WCACHE=yCONFIG_ATA_OVER_ETH=yCONFIG_VIRTIO_BLK=yCONFIG_BLK_DEV_HD=yCONFIG_MISC_DEVICES=y
#CONFIG_AD525X_DPOTis not setCONFIG_IBM_ASM=y
#CONFIG_PHANTOMis not setCONFIG_SGI_IOC4=yCONFIG_TIFM_CORE=y
#CONFIG_TIFM_7XX1is not setCONFIG_ICS932S401=y
#CONFIG_ENCLOSURE_SERVICESis not set
#CONFIG_CS5535_MFGPTis not set
#CONFIG_HP_ILOis not setCONFIG_ISL29003=y
#CONFIG_DS1682is not setCONFIG_TI_DAC7512=y
#CONFIG_C2PORTis not set#
# EEPROM support
#CONFIG_EEPROM_AT24=yCONFIG_EEPROM_AT25=yCONFIG_EEPROM_LEGACY=yCONFIG_EEPROM_MAX6875=y
#CONFIG_EEPROM_93CX6is not setCONFIG_CB710_CORE=yCONFIG_CB710_DEBUG=yCONFIG_CB710_DEBUG_ASSUMPTIONS=yCONFIG_IWMC3200TOP=y
#CONFIG_IWMC3200TOP_DEBUGis not set
#CONFIG_IWMC3200TOP_DEBUGFSis not setCONFIG_HAVE_IDE=y#
# SCSI device support
#
#CONFIG_RAID_ATTRSis not setCONFIG_SCSI=yCONFIG_SCSI_DMA=yCONFIG_SCSI_TGT=yCONFIG_SCSI_NETLINK=y
#CONFIG_SCSI_PROC_FSis not set#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=yCONFIG_CHR_DEV_ST=y
#CONFIG_CHR_DEV_OSSTis not set
#CONFIG_BLK_DEV_SRis not setCONFIG_CHR_DEV_SG=y
#CONFIG_CHR_DEV_SCHis not setCONFIG_SCSI_MULTI_LUN=y
#CONFIG_SCSI_CONSTANTSis not set
#CONFIG_SCSI_LOGGINGis not setCONFIG_SCSI_SCAN_ASYNC=y#
# SCSI Transports
#CONFIG_SCSI_SPI_ATTRS=yCONFIG_SCSI_FC_ATTRS=y
#CONFIG_SCSI_FC_TGT_ATTRSis not setCONFIG_SCSI_ISCSI_ATTRS=yCONFIG_SCSI_SAS_ATTRS=yCONFIG_SCSI_SAS_LIBSAS=yCONFIG_SCSI_SAS_ATA=y
#CONFIG_SCSI_SAS_HOST_SMPis not setCONFIG_SCSI_SAS_LIBSAS_DEBUG=yCONFIG_SCSI_SRP_ATTRS=yCONFIG_SCSI_SRP_TGT_ATTRS=yCONFIG_SCSI_LOWLEVEL=y
#CONFIG_ISCSI_TCPis not set
#CONFIG_SCSI_CXGB3_ISCSIis not setCONFIG_SCSI_BNX2_ISCSI=y
#CONFIG_BE2ISCSIis not setCONFIG_BLK_DEV_3W_XXXX_RAID=yCONFIG_SCSI_HPSA=y
#CONFIG_SCSI_3W_9XXXis not setCONFIG_SCSI_3W_SAS=yCONFIG_SCSI_7000FASST=yCONFIG_SCSI_ACARD=yCONFIG_SCSI_AHA152X=yCONFIG_SCSI_AHA1740=y
#CONFIG_SCSI_AACRAIDis not setCONFIG_SCSI_AIC7XXX=yCONFIG_AIC7XXX_CMDS_PER_DEVICE=32CONFIG_AIC7XXX_RESET_DELAY_MS=5000
#CONFIG_AIC7XXX_DEBUG_ENABLEis not setCONFIG_AIC7XXX_DEBUG_MASK=0
#CONFIG_AIC7XXX_REG_PRETTY_PRINTis not setCONFIG_SCSI_AIC7XXX_OLD=y
#CONFIG_SCSI_AIC79XXis not setCONFIG_SCSI_AIC94XX=yCONFIG_AIC94XX_DEBUG=y
#CONFIG_SCSI_MVSASis not setCONFIG_SCSI_DPT_I2O=yCONFIG_SCSI_ADVANSYS=yCONFIG_SCSI_IN2000=y
#CONFIG_SCSI_ARCMSRis not setCONFIG_MEGARAID_NEWGEN=y
#CONFIG_MEGARAID_MMis not setCONFIG_MEGARAID_LEGACY=y
#CONFIG_MEGARAID_SASis not set
#CONFIG_SCSI_MPT2SASis not setCONFIG_SCSI_HPTIOP=y
#CONFIG_SCSI_BUSLOGICis not set
#CONFIG_VMWARE_PVSCSIis not setCONFIG_LIBFC=yCONFIG_LIBFCOE=y
#CONFIG_FCOEis not setCONFIG_FCOE_FNIC=yCONFIG_SCSI_DMX3191D=yCONFIG_SCSI_DTC3280=y
#CONFIG_SCSI_EATAis not setCONFIG_SCSI_FUTURE_DOMAIN=y
#CONFIG_SCSI_GDTHis not setCONFIG_SCSI_GENERIC_NCR5380=y
#CONFIG_SCSI_GENERIC_NCR5380_MMIOis not set
#CONFIG_SCSI_GENERIC_NCR53C400is not setCONFIG_SCSI_IPS=y
#CONFIG_SCSI_INITIOis not setCONFIG_SCSI_INIA100=y
#CONFIG_SCSI_NCR53C406Ais not set
#CONFIG_SCSI_STEXis not setCONFIG_SCSI_SYM53C8XX_2=yCONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64CONFIG_SCSI_SYM53C8XX_MMIO=yCONFIG_SCSI_IPR=y
#CONFIG_SCSI_IPR_TRACEis not setCONFIG_SCSI_IPR_DUMP=yCONFIG_SCSI_PAS16=y
#CONFIG_SCSI_QLOGIC_FASis not set
#CONFIG_SCSI_QLOGIC_1280is not setCONFIG_SCSI_QLA_FC=yCONFIG_SCSI_QLA_ISCSI=y
#CONFIG_SCSI_LPFCis not setCONFIG_SCSI_SIM710=yCONFIG_SCSI_SYM53C416=y
#CONFIG_SCSI_DC395xis not setCONFIG_SCSI_DC390T=yCONFIG_SCSI_T128=yCONFIG_SCSI_U14_34F=y
#CONFIG_SCSI_U14_34F_TAGGED_QUEUEis not setCONFIG_SCSI_U14_34F_LINKED_COMMANDS=yCONFIG_SCSI_U14_34F_MAX_TAGS=8CONFIG_SCSI_ULTRASTOR=yCONFIG_SCSI_NSP32=y
#CONFIG_SCSI_PMCRAIDis not set
#CONFIG_SCSI_PM8001is not set
#CONFIG_SCSI_SRPis not set
#CONFIG_SCSI_BFA_FCis not setCONFIG_SCSI_LOWLEVEL_PCMCIA=y
#CONFIG_SCSI_DHis not setCONFIG_SCSI_OSD_INITIATOR=y
#CONFIG_SCSI_OSD_ULDis not setCONFIG_SCSI_OSD_DPRINT_SENSE=1CONFIG_SCSI_OSD_DEBUG=yCONFIG_ATA=y
#CONFIG_ATA_NONSTANDARDis not setCONFIG_ATA_VERBOSE_ERROR=y
#CONFIG_ATA_ACPIis not set
#CONFIG_SATA_PMPis not setCONFIG_SATA_AHCI=y
#CONFIG_SATA_SIL24is not setCONFIG_ATA_SFF=y
#CONFIG_SATA_SVWis not setCONFIG_ATA_PIIX=y
#CONFIG_SATA_MVis not setCONFIG_SATA_NV=yCONFIG_PDC_ADMA=y
#CONFIG_SATA_QSTORis not set
#CONFIG_SATA_PROMISEis not setCONFIG_SATA_SX4=yCONFIG_SATA_SIL=y
#CONFIG_SATA_SISis not set
#CONFIG_SATA_ULIis not setCONFIG_SATA_VIA=yCONFIG_SATA_VITESSE=yCONFIG_SATA_INIC162X=y
#CONFIG_PATA_ALIis not setCONFIG_PATA_AMD=yCONFIG_PATA_ARTOP=yCONFIG_PATA_ATP867X=yCONFIG_PATA_ATIIXP=yCONFIG_PATA_CMD640_PCI=yCONFIG_PATA_CMD64X=y
#CONFIG_PATA_CS5520is not setCONFIG_PATA_CS5530=yCONFIG_PATA_CS5535=yCONFIG_PATA_CS5536=y
#CONFIG_PATA_CYPRESSis not setCONFIG_PATA_EFAR=y
#CONFIG_ATA_GENERICis not setCONFIG_PATA_HPT366=y
#CONFIG_PATA_HPT37Xis not setCONFIG_PATA_HPT3X2N=yCONFIG_PATA_HPT3X3=y
#CONFIG_PATA_HPT3X3_DMAis not setCONFIG_PATA_ISAPNP=y
#CONFIG_PATA_IT821Xis not setCONFIG_PATA_IT8213=yCONFIG_PATA_JMICRON=yCONFIG_PATA_LEGACY=yCONFIG_PATA_TRIFLEX=yCONFIG_PATA_MARVELL=y
#CONFIG_PATA_MPIIXis not setCONFIG_PATA_OLDPIIX=y
#CONFIG_PATA_NETCELLis not set
#CONFIG_PATA_NINJA32is not set
#CONFIG_PATA_NS87410is not set
#CONFIG_PATA_NS87415is not setCONFIG_PATA_OPTI=y
#CONFIG_PATA_OPTIDMAis not setCONFIG_PATA_PCMCIA=yCONFIG_PATA_PDC2027X=y
#CONFIG_PATA_PDC_OLDis not setCONFIG_PATA_QDI=yCONFIG_PATA_RADISYS=y
#CONFIG_PATA_RDCis not setCONFIG_PATA_RZ1000=yCONFIG_PATA_SC1200=yCONFIG_PATA_SERVERWORKS=y
#CONFIG_PATA_SIL680is not setCONFIG_PATA_SIS=yCONFIG_PATA_TOSHIBA=yCONFIG_PATA_VIA=y
#CONFIG_PATA_WINBONDis not setCONFIG_PATA_WINBOND_VLB=yCONFIG_PATA_SCH=yCONFIG_MD=y
#CONFIG_BLK_DEV_MDis not setCONFIG_BLK_DEV_DM=y
#CONFIG_DM_DEBUGis not setCONFIG_DM_CRYPT=yCONFIG_DM_SNAPSHOT=yCONFIG_DM_MIRROR=yCONFIG_DM_LOG_USERSPACE=yCONFIG_DM_ZERO=yCONFIG_DM_MULTIPATH=yCONFIG_DM_MULTIPATH_QL=yCONFIG_DM_MULTIPATH_ST=yCONFIG_DM_DELAY=yCONFIG_DM_UEVENT=y
#CONFIG_FUSIONis not set#
# IEEE 1394 (FireWire) support
##
# You can enable one or both FireWire driver stacks. ##
# The newer stack is recommended.
#CONFIG_FIREWIRE=yCONFIG_FIREWIRE_OHCI=yCONFIG_FIREWIRE_OHCI_DEBUG=y
#CONFIG_FIREWIRE_SBP2is not setCONFIG_FIREWIRE_NET=yCONFIG_IEEE1394=y
#CONFIG_IEEE1394_OHCI1394is not setCONFIG_IEEE1394_PCILYNX=yCONFIG_IEEE1394_SBP2=y
#CONFIG_IEEE1394_SBP2_PHYS_DMAis not setCONFIG_IEEE1394_ETH1394_ROM_ENTRY=yCONFIG_IEEE1394_ETH1394=yCONFIG_IEEE1394_RAWIO=yCONFIG_IEEE1394_VERBOSEDEBUG=yCONFIG_I2O=yCONFIG_I2O_LCT_NOTIFY_ON_CHANGES=yCONFIG_I2O_EXT_ADAPTEC=y
#CONFIG_I2O_CONFIGis not setCONFIG_I2O_BUS=yCONFIG_I2O_BLOCK=y
#CONFIG_I2O_SCSIis not setCONFIG_I2O_PROC=yCONFIG_MACINTOSH_DRIVERS=yCONFIG_MAC_EMUMOUSEBTN=yCONFIG_NETDEVICES=yCONFIG_DUMMY=yCONFIG_BONDING=yCONFIG_MACVLAN=y
#CONFIG_EQUALIZERis not set
#CONFIG_TUNis not set
#CONFIG_VETHis not set
#CONFIG_NET_SB1000is not set
#CONFIG_ARCNETis not setCONFIG_PHYLIB=y#
# MII PHY device drivers
#
#CONFIG_MARVELL_PHYis not setCONFIG_DAVICOM_PHY=yCONFIG_QSEMI_PHY=yCONFIG_LXT_PHY=yCONFIG_CICADA_PHY=yCONFIG_VITESSE_PHY=y
#CONFIG_SMSC_PHYis not set
#CONFIG_BROADCOM_PHYis not setCONFIG_ICPLUS_PHY=yCONFIG_REALTEK_PHY=yCONFIG_NATIONAL_PHY=yCONFIG_STE10XP=y
#CONFIG_LSI_ET1011C_PHYis not set
#CONFIG_FIXED_PHYis not setCONFIG_MDIO_BITBANG=yCONFIG_MDIO_GPIO=yCONFIG_NET_ETHERNET=yCONFIG_MII=yCONFIG_HAPPYMEAL=y
#CONFIG_SUNGEMis not setCONFIG_CASSINI=yCONFIG_NET_VENDOR_3COM=yCONFIG_EL1=y
#CONFIG_EL2is not setCONFIG_ELPLUS=yCONFIG_EL16=yCONFIG_EL3=yCONFIG_3C515=yCONFIG_VORTEX=yCONFIG_TYPHOON=y
#CONFIG_LANCEis not set
#CONFIG_NET_VENDOR_SMCis not setCONFIG_ENC28J60=yCONFIG_ENC28J60_WRITEVERIFY=yCONFIG_ETHOC=yCONFIG_NET_VENDOR_RACAL=yCONFIG_NI52=yCONFIG_NI65=yCONFIG_DNET=yCONFIG_NET_TULIP=y
#CONFIG_DE2104Xis not set
#CONFIG_TULIPis not setCONFIG_DE4X5=yCONFIG_WINBOND_840=yCONFIG_DM9102=yCONFIG_ULI526X=yCONFIG_PCMCIA_XIRCOM=yCONFIG_AT1700=y
#CONFIG_DEPCAis not setCONFIG_HP100=yCONFIG_NET_ISA=yCONFIG_E2100=yCONFIG_EWRK3=yCONFIG_EEXPRESS=yCONFIG_EEXPRESS_PRO=yCONFIG_HPLAN=yCONFIG_LP486E=yCONFIG_ETH16I=y
#CONFIG_NE2000is not set
#CONFIG_ZNETis not setCONFIG_SEEQ8005=y
#CONFIG_IBM_NEW_EMAC_ZMIIis not set
#CONFIG_IBM_NEW_EMAC_RGMIIis not set
#CONFIG_IBM_NEW_EMAC_TAHis not set
#CONFIG_IBM_NEW_EMAC_EMAC4is not set
#CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRLis not set #CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTATis not set #CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERRis not setCONFIG_NET_PCI=y
#CONFIG_PCNET32is not set
#CONFIG_AMD8111_ETHis not setCONFIG_ADAPTEC_STARFIRE=y
#CONFIG_AC3200is not setCONFIG_APRICOT=yCONFIG_B44=yCONFIG_B44_PCI_AUTOSELECT=yCONFIG_B44_PCICORE_AUTOSELECT=yCONFIG_B44_PCI=yCONFIG_FORCEDETH=yCONFIG_FORCEDETH_NAPI=y
CONFIG_CS89x0=yCONFIG_E100=yCONFIG_LNE390=yCONFIG_FEALNX=yCONFIG_NATSEMI=yCONFIG_NE2K_PCI=yCONFIG_NE3210=yCONFIG_ES3210=yCONFIG_8139CP=yCONFIG_8139TOO=yCONFIG_8139TOO_PIO=yCONFIG_8139TOO_TUNE_TWISTER=yCONFIG_8139TOO_8129=yCONFIG_8139_OLD_RX_RESET=yCONFIG_R6040=yCONFIG_SIS900=y
#CONFIG_EPIC100is not set
#CONFIG_SMSC9420is not setCONFIG_SUNDANCE=y
#CONFIG_SUNDANCE_MMIOis not setCONFIG_TLAN=yCONFIG_KS8842=yCONFIG_KS8851=yCONFIG_KS8851_MLL=yCONFIG_VIA_RHINE=yCONFIG_VIA_RHINE_MMIO=y
#CONFIG_SC92031is not setCONFIG_NET_POCKET=y
#CONFIG_ATPis not set
#CONFIG_DE600is not setCONFIG_DE620=yCONFIG_ATL2=yCONFIG_NETDEV_1000=yCONFIG_ACENIC=yCONFIG_ACENIC_OMIT_TIGON_I=yCONFIG_DL2K=yCONFIG_E1000=yCONFIG_E1000E=yCONFIG_IP1000=yCONFIG_IGB=y
#CONFIG_IGB_DCAis not setCONFIG_IGBVF=y
#CONFIG_NS83820is not setCONFIG_HAMACHI=yCONFIG_YELLOWFIN=yCONFIG_R8169=yCONFIG_R8169_VLAN=yCONFIG_SIS190=yCONFIG_SKGE=yCONFIG_SKGE_DEBUG=yCONFIG_SKY2=y
#CONFIG_SKY2_DEBUGis not setCONFIG_VIA_VELOCITY=yCONFIG_TIGON3=yCONFIG_BNX2=yCONFIG_CNIC=yCONFIG_QLA3XXX=yCONFIG_ATL1=yCONFIG_ATL1E=yCONFIG_ATL1C=yCONFIG_JME=yCONFIG_NETDEV_10000=yCONFIG_MDIO=yCONFIG_CHELSIO_T1=y
#CONFIG_CHELSIO_T1_1Gis not setCONFIG_CHELSIO_T3_DEPENDS=y
#CONFIG_CHELSIO_T3is not setCONFIG_ENIC=yCONFIG_IXGBE=y
#CONFIG_IXGBE_DCAis not set
#CONFIG_IXGBE_DCBis not setCONFIG_IXGB=yCONFIG_S2IO=yCONFIG_MYRI10GE=yCONFIG_MYRI10GE_DCA=y
#CONFIG_NIUis not set
#CONFIG_MLX4_ENis not setCONFIG_MLX4_CORE=yCONFIG_MLX4_DEBUG=yCONFIG_TEHUTI=yCONFIG_BNX2X=yCONFIG_QLGE=yCONFIG_SFC=yCONFIG_BE2NET=y
#CONFIG_TRis not setCONFIG_WLAN=yCONFIG_PCMCIA_RAYCS=y
#CONFIG_AIROis not setCONFIG_ATMEL=yCONFIG_PCI_ATMEL=yCONFIG_PCMCIA_ATMEL=yCONFIG_AIRO_CS=y
#CONFIG_PCMCIA_WL3501is not set
#CONFIG_PRISM54is not set
#CONFIG_USB_ZD1201is not setCONFIG_HOSTAP=yCONFIG_HOSTAP_FIRMWARE=y
#CONFIG_HOSTAP_FIRMWARE_NVRAMis not setCONFIG_HOSTAP_PLX=yCONFIG_HOSTAP_PCI=yCONFIG_HOSTAP_CS=y#
# WiMAX Wireless Broadband devices
#CONFIG_WIMAX_I2400M=yCONFIG_WIMAX_I2400M_SDIO=yCONFIG_WIMAX_IWMC3200_SDIO=yCONFIG_WIMAX_I2400M_DEBUG_LEVEL=8#
# USB Network Adapters
#CONFIG_USB_CATC=yCONFIG_USB_KAWETH=yCONFIG_USB_PEGASUS=yCONFIG_USB_RTL8150=yCONFIG_USB_USBNET=yCONFIG_USB_NET_AX8817X=yCONFIG_USB_NET_CDCETHER=yCONFIG_USB_NET_CDC_EEM=y
#CONFIG_USB_NET_DM9601is not setCONFIG_USB_NET_SMSC95XX=yCONFIG_USB_NET_GL620A=yCONFIG_USB_NET_NET1080=y
#CONFIG_USB_NET_PLUSBis not set
#CONFIG_USB_NET_MCS7830is not set
#CONFIG_USB_NET_RNDIS_HOSTis not setCONFIG_USB_NET_CDC_SUBSET=yCONFIG_USB_ALI_M5632=y
#CONFIG_USB_AN2720is not setCONFIG_USB_BELKIN=yCONFIG_USB_ARMLINUX=yCONFIG_USB_EPSON2888=yCONFIG_USB_KC2190=yCONFIG_USB_NET_ZAURUS=yCONFIG_USB_HSO=yCONFIG_USB_NET_INT51X1=yCONFIG_NET_PCMCIA=yCONFIG_PCMCIA_3C589=yCONFIG_PCMCIA_3C574=yCONFIG_PCMCIA_FMVJ18X=y
#CONFIG_PCMCIA_PCNETis not setCONFIG_PCMCIA_NMCLAN=y
#CONFIG_PCMCIA_SMC91C92is not set
#CONFIG_PCMCIA_XIRC2PSis not set
#CONFIG_PCMCIA_AXNETis not set
#CONFIG_WANis not setCONFIG_IEEE802154_DRIVERS=yCONFIG_IEEE802154_FAKEHARD=y
#CONFIG_FDDIis not set
#CONFIG_HIPPIis not set
#CONFIG_PLIPis not setCONFIG_PPP=yCONFIG_PPP_MULTILINK=y
#CONFIG_PPP_FILTERis not setCONFIG_PPP_ASYNC=y
#CONFIG_PPP_SYNC_TTYis not set
#CONFIG_PPP_DEFLATEis not setCONFIG_PPP_BSDCOMP=yCONFIG_PPP_MPPE=yCONFIG_PPPOE=y
#CONFIG_PPPOL2TPis not setCONFIG_SLIP=yCONFIG_SLIP_COMPRESSED=yCONFIG_SLHC=y
#CONFIG_SLIP_SMARTis not setCONFIG_SLIP_MODE_SLIP6=y
#CONFIG_NET_FCis not setCONFIG_NETCONSOLE=yCONFIG_NETCONSOLE_DYNAMIC=yCONFIG_NETPOLL=yCONFIG_NETPOLL_TRAP=yCONFIG_NET_POLL_CONTROLLER=yCONFIG_VIRTIO_NET=y
#CONFIG_VMXNET3is not set
#CONFIG_ISDNis not setCONFIG_PHONE=yCONFIG_PHONE_IXJ=yCONFIG_PHONE_IXJ_PCMCIA=y#
# Input device support
#CONFIG_INPUT=yCONFIG_INPUT_FF_MEMLESS=yCONFIG_INPUT_POLLDEV=yCONFIG_INPUT_SPARSEKMAP=y#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
#CONFIG_INPUT_JOYDEVis not setCONFIG_INPUT_EVDEV=yCONFIG_INPUT_EVBUG=y#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ADP5588=yCONFIG_KEYBOARD_ATKBD=yCONFIG_QT2160=yCONFIG_KEYBOARD_LKKBD=yCONFIG_KEYBOARD_GPIO=yCONFIG_KEYBOARD_MATRIX=y
#CONFIG_KEYBOARD_LM8323is not setCONFIG_KEYBOARD_MAX7359=yCONFIG_KEYBOARD_NEWTON=yCONFIG_KEYBOARD_OPENCORES=yCONFIG_KEYBOARD_STOWAWAY=yCONFIG_KEYBOARD_SUNKBD=yCONFIG_KEYBOARD_TWL4030=y
#CONFIG_KEYBOARD_XTKBDis not set
#CONFIG_INPUT_MOUSEis not setCONFIG_INPUT_JOYSTICK=yCONFIG_JOYSTICK_ANALOG=yCONFIG_JOYSTICK_A3D=yCONFIG_JOYSTICK_ADI=yCONFIG_JOYSTICK_COBRA=y
#CONFIG_JOYSTICK_GF2Kis not set
#CONFIG_JOYSTICK_GRIPis not setCONFIG_JOYSTICK_GRIP_MP=yCONFIG_JOYSTICK_GUILLEMOT=yCONFIG_JOYSTICK_INTERACT=yCONFIG_JOYSTICK_SIDEWINDER=y
#CONFIG_JOYSTICK_TMDCis not set
#CONFIG_JOYSTICK_IFORCEis not setCONFIG_JOYSTICK_WARRIOR=yCONFIG_JOYSTICK_MAGELLAN=y
#CONFIG_JOYSTICK_SPACEORBis not set
#CONFIG_JOYSTICK_SPACEBALLis not setCONFIG_JOYSTICK_STINGER=yCONFIG_JOYSTICK_TWIDJOY=yCONFIG_JOYSTICK_ZHENHUA=y
#CONFIG_JOYSTICK_DB9is not setCONFIG_JOYSTICK_GAMECON=yCONFIG_JOYSTICK_TURBOGRAFX=yCONFIG_JOYSTICK_JOYDUMP=yCONFIG_JOYSTICK_XPAD=yCONFIG_JOYSTICK_XPAD_FF=yCONFIG_JOYSTICK_XPAD_LEDS=y
#CONFIG_JOYSTICK_WALKERA0701is not set
#CONFIG_INPUT_TABLETis not set
#CONFIG_INPUT_TOUCHSCREENis not setCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=yCONFIG_INPUT_APANEL=y
#CONFIG_INPUT_WISTRON_BTNSis not set
#CONFIG_INPUT_ATLAS_BTNSis not setCONFIG_INPUT_ATI_REMOTE=y
#CONFIG_INPUT_ATI_REMOTE2is not setCONFIG_INPUT_KEYSPAN_REMOTE=yCONFIG_INPUT_POWERMATE=y
#CONFIG_INPUT_YEALINKis not setCONFIG_INPUT_CM109=yCONFIG_INPUT_TWL4030_PWRBUTTON=y
#CONFIG_INPUT_UINPUTis not set
#CONFIG_INPUT_WINBOND_CIRis not setCONFIG_INPUT_PCF50633_PMU=yCONFIG_INPUT_GPIO_ROTARY_ENCODER=y
#CONFIG_INPUT_WM831X_ONis not set#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=yCONFIG_SERIO_CT82C710=yCONFIG_SERIO_PARKBD=yCONFIG_SERIO_PCIPS2=yCONFIG_SERIO_LIBPS2=yCONFIG_SERIO_RAW=yCONFIG_SERIO_ALTERA_PS2=yCONFIG_GAMEPORT=y
#CONFIG_GAMEPORT_NS558is not setCONFIG_GAMEPORT_L4=y
#CONFIG_GAMEPORT_EMU10K1is not setCONFIG_GAMEPORT_FM801=y#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=y
#CONFIG_DEVKMEMis not setCONFIG_SERIAL_NONSTANDARD=yCONFIG_COMPUTONE=y
#CONFIG_ROCKETPORTis not setCONFIG_CYCLADES=yCONFIG_CYZ_INTR=yCONFIG_DIGIEPCA=yCONFIG_MOXA_INTELLIO=yCONFIG_MOXA_SMARTIO=yCONFIG_ISI=yCONFIG_SYNCLINK=y
#CONFIG_SYNCLINKMPis not setCONFIG_SYNCLINK_GT=yCONFIG_N_HDLC=yCONFIG_RISCOM8=yCONFIG_SPECIALIX=yCONFIG_STALDRV=y
#CONFIG_STALLIONis not set
#CONFIG_ISTALLIONis not setCONFIG_NOZOMI=y#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_FIX_EARLYCON_MEM=yCONFIG_SERIAL_8250_PCI=yCONFIG_SERIAL_8250_PNP=yCONFIG_SERIAL_8250_CS=yCONFIG_SERIAL_8250_NR_UARTS=4CONFIG_SERIAL_8250_RUNTIME_UARTS=4CONFIG_SERIAL_8250_EXTENDED=y
#CONFIG_SERIAL_8250_MANY_PORTSis not setCONFIG_SERIAL_8250_SHARE_IRQ=y
#CONFIG_SERIAL_8250_DETECT_IRQis not setCONFIG_SERIAL_8250_RSA=y#
# Non-8250 serial port support
#CONFIG_SERIAL_MAX3100=yCONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_SERIAL_JSM=yCONFIG_UNIX98_PTYS=y
#CONFIG_DEVPTS_MULTIPLE_INSTANCESis not set
#CONFIG_LEGACY_PTYSis not set
#CONFIG_PRINTERis not setCONFIG_PPDEV=yCONFIG_HVC_DRIVER=yCONFIG_VIRTIO_CONSOLE=y
#CONFIG_IPMI_HANDLERis not setCONFIG_HW_RANDOM=y
#CONFIG_HW_RANDOM_TIMERIOMEMis not set
#CONFIG_HW_RANDOM_INTELis not set
#CONFIG_HW_RANDOM_AMDis not setCONFIG_HW_RANDOM_GEODE=yCONFIG_HW_RANDOM_VIA=y
#CONFIG_HW_RANDOM_VIRTIOis not setCONFIG_NVRAM=y
#CONFIG_DTLKis not set
#CONFIG_R3964is not setCONFIG_APPLICOM=y
#CONFIG_SONYPIis not set#
# PCMCIA character devices
#CONFIG_SYNCLINK_CS=yCONFIG_CARDMAN_4000=yCONFIG_CARDMAN_4040=yCONFIG_IPWIRELESS=y
#CONFIG_MWAVEis not set
CONFIG_SCx200_GPIO=y
CONFIG_PC8736x_GPIO=yCONFIG_NSC_GPIO=yCONFIG_CS5535_GPIO=yCONFIG_RAW_DRIVER=yCONFIG_MAX_RAW_DEVS=256CONFIG_HPET=y
#CONFIG_HPET_MMAPis not setCONFIG_HANGCHECK_TIMER=yCONFIG_TCG_TPM=yCONFIG_TCG_TIS=y
#CONFIG_TCG_NSCis not setCONFIG_TCG_ATMEL=yCONFIG_TCG_INFINEON=yCONFIG_TELCLOCK=yCONFIG_DEVPORT=yCONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_COMPAT=yCONFIG_I2C_CHARDEV=y
#CONFIG_I2C_HELPER_AUTOis not set#
# I2C Algorithms
#CONFIG_I2C_ALGOBIT=y
#CONFIG_I2C_ALGOPCFis not setCONFIG_I2C_ALGOPCA=y#
# I2C Hardware Bus support
##
# PC SMBus host controller drivers
#CONFIG_I2C_ALI1535=yCONFIG_I2C_ALI1563=yCONFIG_I2C_ALI15X3=y
#CONFIG_I2C_AMD756is not set
#CONFIG_I2C_AMD8111is not set
#CONFIG_I2C_I801is not setCONFIG_I2C_ISCH=yCONFIG_I2C_PIIX4=yCONFIG_I2C_NFORCE2=yCONFIG_I2C_SIS5595=yCONFIG_I2C_SIS630=y
#CONFIG_I2C_SIS96Xis not setCONFIG_I2C_VIA=y
#CONFIG_I2C_VIAPROis not set#
# ACPI drivers
#CONFIG_I2C_SCMI=y#
# I2C system bus drivers (mostly embedded / system-on-chip) #CONFIG_I2C_GPIO=yCONFIG_I2C_OCORES=y
#CONFIG_I2C_SIMTECis not set#
# External I2C/SMBus adapter drivers
#CONFIG_I2C_PARPORT=yCONFIG_I2C_PARPORT_LIGHT=yCONFIG_I2C_TAOS_EVM=y
#CONFIG_I2C_TINY_USBis not set#
# Other I2C/SMBus bus drivers
#CONFIG_I2C_PCA_PLATFORM=y
CONFIG_SCx200_I2C=y
CONFIG_SCx200_I2C_SCL=12
CONFIG_SCx200_I2C_SDA=13
CONFIG_SCx200_ACB=y#
# Miscellaneous I2C Chip support
#CONFIG_SENSORS_TSL2550=y
#CONFIG_I2C_DEBUG_COREis not set
#CONFIG_I2C_DEBUG_ALGOis not setCONFIG_I2C_DEBUG_BUS=yCONFIG_I2C_DEBUG_CHIP=yCONFIG_SPI=yCONFIG_SPI_DEBUG=yCONFIG_SPI_MASTER=y#
# SPI Master Controller Drivers
#CONFIG_SPI_BITBANG=y
#CONFIG_SPI_BUTTERFLYis not setCONFIG_SPI_GPIO=yCONFIG_SPI_LM70_LLP=yCONFIG_SPI_XILINX=yCONFIG_SPI_XILINX_PLTFM=y
#CONFIG_SPI_DESIGNWAREis not set#
# SPI Protocol Masters
#
#CONFIG_SPI_SPIDEVis not setCONFIG_SPI_TLE62X0=y#
# PPS support
#
#CONFIG_PPSis not setCONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=yCONFIG_GPIOLIB=yCONFIG_DEBUG_GPIO=yCONFIG_GPIO_SYSFS=y#
# Memory mapped GPIO expanders:
##
# I2C GPIO expanders:
#CONFIG_GPIO_MAX732X=yCONFIG_GPIO_PCA953X=yCONFIG_GPIO_PCF857X=y
#CONFIG_GPIO_TWL4030is not setCONFIG_GPIO_WM831X=yCONFIG_GPIO_ADP5588=y#
# PCI GPIO expanders:
#
#CONFIG_GPIO_BT8XXis not setCONFIG_GPIO_LANGWELL=y#
# SPI GPIO expanders:
#CONFIG_GPIO_MAX7301=yCONFIG_GPIO_MCP23S08=yCONFIG_GPIO_MC33880=y#
# AC97 GPIO expanders:
#CONFIG_W1=yCONFIG_W1_CON=y#
# 1-wire Bus Masters
#
#CONFIG_W1_MASTER_MATROXis not set
#CONFIG_W1_MASTER_DS2490is not setCONFIG_W1_MASTER_DS2482=yCONFIG_W1_MASTER_GPIO=y#
# 1-wire Slaves
#CONFIG_W1_SLAVE_THERM=yCONFIG_W1_SLAVE_SMEM=yCONFIG_W1_SLAVE_DS2431=y
#CONFIG_W1_SLAVE_DS2433is not setCONFIG_W1_SLAVE_DS2760=y
#CONFIG_W1_SLAVE_BQ27000is not setCONFIG_POWER_SUPPLY=yCONFIG_POWER_SUPPLY_DEBUG=yCONFIG_PDA_POWER=yCONFIG_WM831X_BACKUP=yCONFIG_WM831X_POWER=yCONFIG_BATTERY_DS2760=y
#CONFIG_BATTERY_DS2782is not setCONFIG_BATTERY_OLPC=y
CONFIG_BATTERY_BQ27x00=yCONFIG_BATTERY_DA9030=yCONFIG_BATTERY_MAX17040=yCONFIG_CHARGER_PCF50633=yCONFIG_HWMON=yCONFIG_HWMON_VID=yCONFIG_HWMON_DEBUG_CHIP=y#
# Native drivers
#CONFIG_SENSORS_ABITUGURU=yCONFIG_SENSORS_ABITUGURU3=y
#CONFIG_SENSORS_AD7414is not setCONFIG_SENSORS_AD7418=yCONFIG_SENSORS_ADCXX=yCONFIG_SENSORS_ADM1021=yCONFIG_SENSORS_ADM1025=yCONFIG_SENSORS_ADM1026=yCONFIG_SENSORS_ADM1029=y
#CONFIG_SENSORS_ADM1031is not setCONFIG_SENSORS_ADM9240=yCONFIG_SENSORS_ADT7462=yCONFIG_SENSORS_ADT7470=y
#CONFIG_SENSORS_ADT7473is not setCONFIG_SENSORS_ADT7475=yCONFIG_SENSORS_K8TEMP=yCONFIG_SENSORS_K10TEMP=yCONFIG_SENSORS_ASB100=y
#CONFIG_SENSORS_ATXP1is not set
#CONFIG_SENSORS_DS1621is not setCONFIG_SENSORS_I5K_AMB=yCONFIG_SENSORS_F71805F=yCONFIG_SENSORS_F71882FG=yCONFIG_SENSORS_F75375S=yCONFIG_SENSORS_FSCHMD=y
#CONFIG_SENSORS_G760Ais not set
#CONFIG_SENSORS_GL518SMis not set
#CONFIG_SENSORS_GL520SMis not setCONFIG_SENSORS_CORETEMP=y
#CONFIG_SENSORS_IT87is not set
#CONFIG_SENSORS_LM63is not setCONFIG_SENSORS_LM70=yCONFIG_SENSORS_LM73=yCONFIG_SENSORS_LM75=y
#CONFIG_SENSORS_LM77is not setCONFIG_SENSORS_LM78=y
#CONFIG_SENSORS_LM80is not setCONFIG_SENSORS_LM83=y
#CONFIG_SENSORS_LM85is not set
#CONFIG_SENSORS_LM87is not set
#CONFIG_SENSORS_LTC4215is not setCONFIG_SENSORS_LTC4245=yCONFIG_SENSORS_LM95241=y
#CONFIG_SENSORS_MAX1111is not set
#CONFIG_SENSORS_MAX1619is not setCONFIG_SENSORS_MAX6650=yCONFIG_SENSORS_PC87360=yCONFIG_SENSORS_PC87427=y
#CONFIG_SENSORS_PCF8591is not setCONFIG_SENSORS_SHT15=yCONFIG_SENSORS_SIS5595=yCONFIG_SENSORS_DME1737=yCONFIG_SENSORS_SMSC47M1=y
#CONFIG_SENSORS_SMSC47M192is not setCONFIG_SENSORS_SMSC47B397=yCONFIG_SENSORS_ADS7828=yCONFIG_SENSORS_AMC6821=y
#CONFIG_SENSORS_THMC50is not set
#CONFIG_SENSORS_TMP401is not set
#CONFIG_SENSORS_TMP421is not setCONFIG_SENSORS_VIA_CPUTEMP=y
#CONFIG_SENSORS_VIA686Ais not setCONFIG_SENSORS_VT1211=y
#CONFIG_SENSORS_VT8231is not setCONFIG_SENSORS_W83781D=yCONFIG_SENSORS_W83791D=yCONFIG_SENSORS_W83792D=yCONFIG_SENSORS_W83793=y
#CONFIG_SENSORS_W83L785TSis not set
#CONFIG_SENSORS_W83L786NGis not setCONFIG_SENSORS_WM831X=y
#CONFIG_SENSORS_HDAPSis not set
#CONFIG_SENSORS_LIS3_I2Cis not set
#CONFIG_SENSORS_APPLESMCis not set
#CONFIG_SENSORS_MC13783_ADCis not set#
# ACPI drivers
#CONFIG_SENSORS_ATK0110=yCONFIG_SENSORS_LIS3LV02D=yCONFIG_THERMAL=yCONFIG_THERMAL_HWMON=yCONFIG_WATCHDOG=y
#CONFIG_WATCHDOG_NOWAYOUTis not set#
# Watchdog Device Drivers
#
#CONFIG_SOFT_WATCHDOGis not setCONFIG_WM831X_WATCHDOG=y
#CONFIG_TWL4030_WATCHDOGis not setCONFIG_ACQUIRE_WDT=y
#CONFIG_ADVANTECH_WDTis not setCONFIG_ALIM1535_WDT=yCONFIG_ALIM7101_WDT=y
#CONFIG_SC520_WDTis not setCONFIG_IB700_WDT=yCONFIG_IBMASR=yCONFIG_WAFER_WDT=yCONFIG_I6300ESB_WDT=y
#CONFIG_ITCO_WDTis not setCONFIG_IT8712F_WDT=y
#CONFIG_IT87_WDTis not setCONFIG_HP_WATCHDOG=yCONFIG_SC1200_WDT=y
#CONFIG_SCx200_WDTis not set
#CONFIG_PC87413_WDTis not setCONFIG_60XX_WDT=yCONFIG_SBC8360_WDT=yCONFIG_SBC7240_WDT=y
#CONFIG_CPU5_WDTis not setCONFIG_SMSC_SCH311X_WDT=y
#CONFIG_SMSC37B787_WDTis not setCONFIG_W83627HF_WDT=y
#CONFIG_W83877F_WDTis not set
#CONFIG_W83977F_WDTis not set
#CONFIG_MACHZ_WDTis not setCONFIG_SBC_EPX_C3_WATCHDOG=y#
# ISA-based Watchdog Cards
#
#CONFIG_PCWATCHDOGis not setCONFIG_MIXCOMWD=y#
# PCI-based Watchdog Cards
#CONFIG_PCIPCWATCHDOG=yCONFIG_WDTPCI=y#
# USB-based Watchdog Cards
#CONFIG_USBPCWATCHDOG=yCONFIG_SSB_POSSIBLE=y#
# Sonics Silicon Backplane
#CONFIG_SSB=yCONFIG_SSB_SPROM=yCONFIG_SSB_PCIHOST_POSSIBLE=yCONFIG_SSB_PCIHOST=y
#CONFIG_SSB_B43_PCI_BRIDGEis not setCONFIG_SSB_PCMCIAHOST_POSSIBLE=yCONFIG_SSB_PCMCIAHOST=yCONFIG_SSB_SDIOHOST_POSSIBLE=yCONFIG_SSB_SDIOHOST=yCONFIG_SSB_DEBUG=yCONFIG_SSB_DRIVER_PCICORE_POSSIBLE=yCONFIG_SSB_DRIVER_PCICORE=y#
# Multifunction device drivers
#CONFIG_MFD_CORE=y
#CONFIG_MFD_SM501is not set
#CONFIG_HTC_PASIC3is not setCONFIG_TPS65010=yCONFIG_TWL4030_CORE=y
#CONFIG_TWL4030_CODECis not set
#CONFIG_MFD_TMIOis not setCONFIG_PMIC_DA903X=y
#CONFIG_PMIC_ADP5520is not set
#CONFIG_MFD_WM8400is not setCONFIG_MFD_WM831X=yCONFIG_MFD_PCF50633=yCONFIG_MFD_MC13783=yCONFIG_PCF50633_ADC=yCONFIG_PCF50633_GPIO=y
#CONFIG_AB3100_COREis not set
#CONFIG_EZX_PCAPis not setCONFIG_MFD_88PM8607=yCONFIG_AB4500_CORE=y
#CONFIG_REGULATORis not setCONFIG_MEDIA_SUPPORT=y#
# Multimedia core support
#
#CONFIG_VIDEO_DEVis not set
#CONFIG_DVB_COREis not set
#CONFIG_VIDEO_MEDIAis not set#
# Multimedia drivers
#CONFIG_IR_CORE=yCONFIG_VIDEO_IR=y
#CONFIG_DABis not set#
# Graphics support
#CONFIG_AGP=y
#CONFIG_AGP_ALIis not set
#CONFIG_AGP_ATIis not set
#CONFIG_AGP_AMDis not setCONFIG_AGP_AMD64=yCONFIG_AGP_INTEL=yCONFIG_AGP_NVIDIA=yCONFIG_AGP_SIS=yCONFIG_AGP_SWORKS=yCONFIG_AGP_VIA=yCONFIG_AGP_EFFICEON=yCONFIG_VGA_ARB=yCONFIG_VGA_ARB_MAX_GPUS=16
#CONFIG_DRMis not setCONFIG_VGASTATE=yCONFIG_VIDEO_OUTPUT_CONTROL=yCONFIG_FB=yCONFIG_FIRMWARE_EDID=yCONFIG_FB_DDC=yCONFIG_FB_BOOT_VESA_SUPPORT=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=y
#CONFIG_FB_CFB_REV_PIXELS_IN_BYTEis not setCONFIG_FB_SYS_FILLRECT=yCONFIG_FB_SYS_COPYAREA=yCONFIG_FB_SYS_IMAGEBLIT=y
#CONFIG_FB_FOREIGN_ENDIANis not setCONFIG_FB_SYS_FOPS=yCONFIG_FB_DEFERRED_IO=yCONFIG_FB_HECUBA=yCONFIG_FB_SVGALIB=y
#CONFIG_FB_MACMODESis not setCONFIG_FB_BACKLIGHT=yCONFIG_FB_MODE_HELPERS=yCONFIG_FB_TILEBLITTING=y#
# Frame buffer hardware drivers
#CONFIG_FB_PM2=yCONFIG_FB_PM2_FIFO_DISCONNECT=y
#CONFIG_FB_CYBER2000is not setCONFIG_FB_ARC=yCONFIG_FB_IMSTT=yCONFIG_FB_UVESA=y
#CONFIG_FB_EFIis not setCONFIG_FB_N411=yCONFIG_FB_HGA=yCONFIG_FB_HGA_ACCEL=y
#CONFIG_FB_S1D13XXXis not setCONFIG_FB_NVIDIA=yCONFIG_FB_NVIDIA_I2C=yCONFIG_FB_NVIDIA_DEBUG=y
#CONFIG_FB_NVIDIA_BACKLIGHTis not setCONFIG_FB_RIVA=yCONFIG_FB_RIVA_I2C=yCONFIG_FB_RIVA_DEBUG=yCONFIG_FB_RIVA_BACKLIGHT=yCONFIG_FB_I810=y
#CONFIG_FB_I810_GTFis not set
#CONFIG_FB_LE80578is not set
#CONFIG_FB_MATROXis not setCONFIG_FB_ATY128=y
#CONFIG_FB_ATY128_BACKLIGHTis not setCONFIG_FB_ATY=yCONFIG_FB_ATY_CT=yCONFIG_FB_ATY_GENERIC_LCD=yCONFIG_FB_ATY_GX=yCONFIG_FB_ATY_BACKLIGHT=yCONFIG_FB_S3=yCONFIG_FB_SAVAGE=yCONFIG_FB_SAVAGE_I2C=yCONFIG_FB_SAVAGE_ACCEL=yCONFIG_FB_SIS=y
#CONFIG_FB_SIS_300is not setCONFIG_FB_SIS_315=yCONFIG_FB_VIA=y
#CONFIG_FB_NEOMAGICis not setCONFIG_FB_KYRO=y
#CONFIG_FB_3DFXis not setCONFIG_FB_VOODOO1=yCONFIG_FB_VT8623=yCONFIG_FB_TRIDENT=yCONFIG_FB_ARK=yCONFIG_FB_PM3=yCONFIG_FB_CARMINE=yCONFIG_FB_CARMINE_DRAM_EVAL=y
#CONFIG_CARMINE_DRAM_CUSTOMis not setCONFIG_FB_GEODE=y
#CONFIG_FB_GEODE_LXis not set
#CONFIG_FB_GEODE_GXis not setCONFIG_FB_GEODE_GX1=yCONFIG_FB_TMIO=yCONFIG_FB_TMIO_ACCELL=yCONFIG_FB_METRONOME=yCONFIG_FB_MB862XX=yCONFIG_FB_MB862XX_PCI_GDC=yCONFIG_FB_BROADSHEET=yCONFIG_BACKLIGHT_LCD_SUPPORT=y
#CONFIG_LCD_CLASS_DEVICEis not setCONFIG_BACKLIGHT_CLASS_DEVICE=yCONFIG_BACKLIGHT_GENERIC=yCONFIG_BACKLIGHT_PROGEAR=yCONFIG_BACKLIGHT_DA903X=y
#CONFIG_BACKLIGHT_MBP_NVIDIAis not setCONFIG_BACKLIGHT_SAHARA=yCONFIG_BACKLIGHT_WM831X=y#
# Display device support
#
#CONFIG_DISPLAY_SUPPORTis not set#
# Console display driver support
#CONFIG_VGA_CONSOLE=yCONFIG_VGACON_SOFT_SCROLLBACK=yCONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64CONFIG_DUMMY_CONSOLE=yCONFIG_LOGO=y
#CONFIG_LOGO_LINUX_MONOis not setCONFIG_LOGO_LINUX_VGA16=yCONFIG_LOGO_LINUX_CLUT224=y
#CONFIG_SOUNDis not set
#CONFIG_HID_SUPPORTis not setCONFIG_USB_MOUSE=yCONFIG_USB_SUPPORT=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB=yCONFIG_USB_DEBUG=yCONFIG_USB_ANNOUNCE_NEW_DEVICES=y#
# Miscellaneous USB options
#
#CONFIG_USB_DEVICEFSis not setCONFIG_USB_DEVICE_CLASS=y
#CONFIG_USB_DYNAMIC_MINORSis not setCONFIG_USB_SUSPEND=y
#CONFIG_USB_OTGis not setCONFIG_USB_MON=yCONFIG_USB_WUSB=yCONFIG_USB_WUSB_CBAF=yCONFIG_USB_WUSB_CBAF_DEBUG=y#
# USB Host Controller Drivers
#CONFIG_USB_C67X00_HCD=y
#CONFIG_USB_XHCI_HCDis not setCONFIG_USB_EHCI_HCD=yCONFIG_USB_EHCI_ROOT_HUB_TT=yCONFIG_USB_EHCI_TT_NEWSCHED=yCONFIG_USB_OXU210HP_HCD=yCONFIG_USB_ISP116X_HCD=yCONFIG_USB_ISP1760_HCD=yCONFIG_USB_ISP1362_HCD=yCONFIG_USB_OHCI_HCD=yCONFIG_USB_OHCI_HCD_SSB=y
#CONFIG_USB_OHCI_BIG_ENDIAN_DESCis not set
#CONFIG_USB_OHCI_BIG_ENDIAN_MMIOis not setCONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_USB_UHCI_HCD=yCONFIG_USB_U132_HCD=yCONFIG_USB_SL811_HCD=yCONFIG_USB_SL811_CS=yCONFIG_USB_R8A66597_HCD=yCONFIG_USB_HWA_HCD=y#
# USB Device Class drivers
#
#CONFIG_USB_ACMis not setCONFIG_USB_PRINTER=yCONFIG_USB_WDM=yCONFIG_USB_TMC=y#
# NOTE:USB_STORAGEdepends on SCSI butBLK_DEV_SDmay ##
# also be needed; see USB_STORAGE Help for more info # CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_DEBUG=y CONFIG_USB_STORAGE_DATAFAB=y CONFIG_USB_STORAGE_FREECOM=y CONFIG_USB_STORAGE_ISD200=y # CONFIG_USB_STORAGE_USBAT is not set CONFIG_USB_STORAGE_SDDR09=y # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set CONFIG_USB_STORAGE_ALAUDA=y # CONFIG_USB_STORAGE_ONETOUCH is not set CONFIG_USB_STORAGE_KARMA=y CONFIG_USB_STORAGE_CYPRESS_ATACB=y CONFIG_USB_LIBUSUAL=y#
# USB Imaging devices
#CONFIG_USB_MDC800=yCONFIG_USB_MICROTEK=y#
# USB port drivers
#
#CONFIG_USB_USS720is not set
#CONFIG_USB_SERIALis not set#
# USB Miscellaneous drivers
#CONFIG_USB_EMI62=yCONFIG_USB_EMI26=yCONFIG_USB_ADUTUX=y
#CONFIG_USB_SEVSEGis not setCONFIG_USB_RIO500=yCONFIG_USB_LEGOTOWER=yCONFIG_USB_LCD=y
#CONFIG_USB_BERRY_CHARGEis not set
#CONFIG_USB_LEDis not setCONFIG_USB_CYPRESS_CY7C63=yCONFIG_USB_CYTHERM=yCONFIG_USB_IDMOUSE=yCONFIG_USB_FTDI_ELAN=y
#CONFIG_USB_APPLEDISPLAYis not setCONFIG_USB_SISUSBVGA=y
#CONFIG_USB_SISUSBVGA_CONis not setCONFIG_USB_LD=y
#CONFIG_USB_TRANCEVIBRATORis not setCONFIG_USB_IOWARRIOR=yCONFIG_USB_TEST=yCONFIG_USB_ISIGHTFW=yCONFIG_USB_VST=y#
# OTG and related infrastructure
#CONFIG_USB_OTG_UTILS=y
#CONFIG_USB_GPIO_VBUSis not setCONFIG_NOP_USB_XCEIV=yCONFIG_UWB=yCONFIG_UWB_HWA=yCONFIG_UWB_WHCI=yCONFIG_UWB_WLP=yCONFIG_UWB_I1480U=yCONFIG_UWB_I1480U_WLP=yCONFIG_MMC=yCONFIG_MMC_DEBUG=yCONFIG_MMC_UNSAFE_RESUME=y#
# MMC/SD/SDIO Card Drivers
#CONFIG_MMC_BLOCK=y
#CONFIG_MMC_BLOCK_BOUNCEis not set
#CONFIG_SDIO_UARTis not setCONFIG_MMC_TEST=y#
# MMC/SD/SDIO Host Controller Drivers
#CONFIG_MMC_SDHCI=yCONFIG_MMC_SDHCI_PCI=y
#CONFIG_MMC_RICOH_MMCis not setCONFIG_MMC_SDHCI_PLTFM=yCONFIG_MMC_WBSD=y
#CONFIG_MMC_AT91is not set
#CONFIG_MMC_ATMELMCIis not set
#CONFIG_MMC_TIFM_SDis not setCONFIG_MMC_SDRICOH_CS=yCONFIG_MMC_CB710=yCONFIG_MMC_VIA_SDMMC=yCONFIG_MEMSTICK=yCONFIG_MEMSTICK_DEBUG=y#
# MemoryStick drivers
#CONFIG_MEMSTICK_UNSAFE_RESUME=yCONFIG_MSPRO_BLOCK=y#
# MemoryStick Host Controller Drivers
#CONFIG_MEMSTICK_TIFM_MS=y
#CONFIG_MEMSTICK_JMICRON_38Xis not setCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=y#
# LED drivers
#CONFIG_LEDS_NET48XX=yCONFIG_LEDS_WRAP=y
#CONFIG_LEDS_ALIX2is not set
#CONFIG_LEDS_PCA9532is not setCONFIG_LEDS_GPIO=y
#CONFIG_LEDS_GPIO_PLATFORMis not set
#CONFIG_LEDS_LP3944is not set
#CONFIG_LEDS_CLEVO_MAILis not set
#CONFIG_LEDS_PCA955Xis not set
#CONFIG_LEDS_WM831X_STATUSis not setCONFIG_LEDS_DA903X=yCONFIG_LEDS_DAC124S085=yCONFIG_LEDS_BD2802=yCONFIG_LEDS_LT3593=y#
# LED Triggers
#CONFIG_LEDS_TRIGGERS=yCONFIG_LEDS_TRIGGER_TIMER=yCONFIG_LEDS_TRIGGER_HEARTBEAT=yCONFIG_LEDS_TRIGGER_BACKLIGHT=yCONFIG_LEDS_TRIGGER_GPIO=y
#CONFIG_LEDS_TRIGGER_DEFAULT_ONis not set#
# iptables trigger is under Netfilter config (LED target) # CONFIG_ACCESSIBILITY=y CONFIG_A11Y_BRAILLE_CONSOLE=y CONFIG_INFINIBAND=y CONFIG_INFINIBAND_USER_MAD=y CONFIG_INFINIBAND_USER_ACCESS=y CONFIG_INFINIBAND_USER_MEM=y CONFIG_INFINIBAND_ADDR_TRANS=y CONFIG_INFINIBAND_MTHCA=y CONFIG_INFINIBAND_MTHCA_DEBUG=y CONFIG_INFINIBAND_AMSO1100=y CONFIG_INFINIBAND_AMSO1100_DEBUG=y CONFIG_MLX4_INFINIBAND=y # CONFIG_INFINIBAND_NES is not set CONFIG_INFINIBAND_IPOIB=y CONFIG_INFINIBAND_IPOIB_CM=y CONFIG_INFINIBAND_IPOIB_DEBUG=y CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=y CONFIG_INFINIBAND_SRP=y # CONFIG_INFINIBAND_ISER is not set # CONFIG_EDAC is not set CONFIG_RTC_LIB=y CONFIG_RTC_CLASS=y # CONFIG_RTC_HCTOSYS is not set # CONFIG_RTC_DEBUG is not set#
# RTC interfaces
#
#CONFIG_RTC_INTF_SYSFSis not setCONFIG_RTC_INTF_PROC=y
#CONFIG_RTC_INTF_DEVis not setCONFIG_RTC_DRV_TEST=y#
# I2C RTC drivers
#CONFIG_RTC_DRV_DS1307=yCONFIG_RTC_DRV_DS1374=y
#CONFIG_RTC_DRV_DS1672is not setCONFIG_RTC_DRV_MAX6900=yCONFIG_RTC_DRV_RS5C372=yCONFIG_RTC_DRV_ISL1208=yCONFIG_RTC_DRV_X1205=yCONFIG_RTC_DRV_PCF8563=yCONFIG_RTC_DRV_PCF8583=yCONFIG_RTC_DRV_M41T80=yCONFIG_RTC_DRV_M41T80_WDT=yCONFIG_RTC_DRV_BQ32K=yCONFIG_RTC_DRV_TWL4030=y
#CONFIG_RTC_DRV_S35390Ais not setCONFIG_RTC_DRV_FM3130=y
#CONFIG_RTC_DRV_RX8581is not setCONFIG_RTC_DRV_RX8025=y#
# SPI RTC drivers
#CONFIG_RTC_DRV_M41T94=yCONFIG_RTC_DRV_DS1305=yCONFIG_RTC_DRV_DS1390=y
#CONFIG_RTC_DRV_MAX6902is not setCONFIG_RTC_DRV_R9701=yCONFIG_RTC_DRV_RS5C348=y
#CONFIG_RTC_DRV_DS3234is not setCONFIG_RTC_DRV_PCF2123=y#
# Platform RTC drivers
#CONFIG_RTC_DRV_CMOS=y
#CONFIG_RTC_DRV_DS1286is not set
#CONFIG_RTC_DRV_DS1511is not setCONFIG_RTC_DRV_DS1553=yCONFIG_RTC_DRV_DS1742=y
#CONFIG_RTC_DRV_STK17TA8is not set
#CONFIG_RTC_DRV_M48T86is not set
#CONFIG_RTC_DRV_M48T35is not setCONFIG_RTC_DRV_M48T59=yCONFIG_RTC_DRV_MSM6242=y
#CONFIG_RTC_DRV_BQ4802is not setCONFIG_RTC_DRV_RP5C01=yCONFIG_RTC_DRV_V3020=yCONFIG_RTC_DRV_WM831X=yCONFIG_RTC_DRV_PCF50633=y#
# on-CPU RTC drivers
#CONFIG_RTC_DRV_MC13783=yCONFIG_DMADEVICES=y#
# DMA Devices
#CONFIG_ASYNC_TX_DISABLE_CHANNEL_SWITCH=yCONFIG_INTEL_IOATDMA=yCONFIG_DMA_ENGINE=y#
# DMA Clients
#CONFIG_NET_DMA=yCONFIG_ASYNC_TX_DMA=yCONFIG_DMATEST=yCONFIG_DCA=yCONFIG_AUXDISPLAY=yCONFIG_UIO=y
#CONFIG_UIO_CIFis not set
#CONFIG_UIO_PDRVis not set
#CONFIG_UIO_PDRV_GENIRQis not setCONFIG_UIO_SMX=y
#CONFIG_UIO_AECis not set
#CONFIG_UIO_SERCOS3is not set
#CONFIG_UIO_PCI_GENERICis not set#
# TI VLYNQ
#CONFIG_X86_PLATFORM_DEVICES=yCONFIG_ACER_WMI=yCONFIG_DELL_LAPTOP=yCONFIG_DELL_WMI=y
#CONFIG_FUJITSU_LAPTOPis not setCONFIG_TC1100_WMI=yCONFIG_HP_WMI=yCONFIG_MSI_LAPTOP=yCONFIG_PANASONIC_LAPTOP=yCONFIG_COMPAL_LAPTOP=yCONFIG_SONY_LAPTOP=yCONFIG_SONYPI_COMPAT=y
#CONFIG_EEEPC_LAPTOPis not setCONFIG_ACPI_WMI=yCONFIG_MSI_WMI=yCONFIG_ACPI_ASUS=y
#CONFIG_TOPSTAR_LAPTOPis not setCONFIG_ACPI_TOSHIBA=y
#CONFIG_TOSHIBA_BT_RFKILLis not setCONFIG_ACPI_CMPC=y#
# Firmware Drivers
#CONFIG_EDD=y
#CONFIG_EDD_OFFis not setCONFIG_FIRMWARE_MEMMAP=yCONFIG_EFI_VARS=y
#CONFIG_DELL_RBUis not setCONFIG_DCDBAS=y
#CONFIG_DMIIDis not setCONFIG_ISCSI_IBFT_FIND=y
#CONFIG_ISCSI_IBFTis not set#
# File systems
#
#CONFIG_EXT2_FSis not setCONFIG_EXT3_FS=y
#CONFIG_EXT3_DEFAULTS_TO_ORDEREDis not setCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_EXT4_FS=yCONFIG_EXT4_USE_FOR_EXT23=yCONFIG_EXT4_FS_XATTR=yCONFIG_EXT4_FS_POSIX_ACL=y
#CONFIG_EXT4_FS_SECURITYis not set
#CONFIG_EXT4_DEBUGis not setCONFIG_JBD=yCONFIG_JBD_DEBUG=yCONFIG_JBD2=yCONFIG_JBD2_DEBUG=yCONFIG_FS_MBCACHE=yCONFIG_REISERFS_FS=yCONFIG_REISERFS_CHECK=yCONFIG_REISERFS_PROC_INFO=y
#CONFIG_REISERFS_FS_XATTRis not set
#CONFIG_JFS_FSis not setCONFIG_FS_POSIX_ACL=yCONFIG_XFS_FS=yCONFIG_XFS_QUOTA=y
#CONFIG_XFS_POSIX_ACLis not setCONFIG_XFS_RT=yCONFIG_XFS_DEBUG=yCONFIG_OCFS2_FS=yCONFIG_OCFS2_FS_O2CB=yCONFIG_OCFS2_FS_USERSPACE_CLUSTER=y
#CONFIG_OCFS2_FS_STATSis not set
#CONFIG_OCFS2_DEBUG_MASKLOGis not setCONFIG_OCFS2_DEBUG_FS=yCONFIG_BTRFS_FS=yCONFIG_BTRFS_FS_POSIX_ACL=y
#CONFIG_NILFS2_FSis not setCONFIG_FILE_LOCKING=yCONFIG_FSNOTIFY=yCONFIG_DNOTIFY=yCONFIG_INOTIFY=y
#CONFIG_INOTIFY_USERis not setCONFIG_QUOTA=yCONFIG_QUOTA_NETLINK_INTERFACE=yCONFIG_PRINT_QUOTA_WARNING=yCONFIG_QUOTA_TREE=yCONFIG_QFMT_V1=y
#CONFIG_QFMT_V2is not setCONFIG_QUOTACTL=yCONFIG_AUTOFS_FS=y
#CONFIG_AUTOFS4_FSis not setCONFIG_FUSE_FS=y
#CONFIG_CUSEis not set#
# Caches
#
#CONFIG_FSCACHEis not set#
# CD-ROM/DVD Filesystems
#
#CONFIG_ISO9660_FSis not setCONFIG_UDF_FS=yCONFIG_UDF_NLS=y#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=y
#CONFIG_MSDOS_FSis not setCONFIG_VFAT_FS=yCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"CONFIG_NTFS_FS=y
#CONFIG_NTFS_DEBUGis not set
#CONFIG_NTFS_RWis not set#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=y
#CONFIG_TMPFSis not setCONFIG_HUGETLBFS=yCONFIG_HUGETLB_PAGE=yCONFIG_CONFIGFS_FS=y
#CONFIG_MISC_FILESYSTEMSis not set
#CONFIG_NETWORK_FILESYSTEMSis not setCONFIG_EXPORTFS=y#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
#CONFIG_ACORN_PARTITIONis not setCONFIG_OSF_PARTITION=yCONFIG_AMIGA_PARTITION=y
#CONFIG_ATARI_PARTITIONis not set
#CONFIG_MAC_PARTITIONis not setCONFIG_MSDOS_PARTITION=yCONFIG_BSD_DISKLABEL=y
#CONFIG_MINIX_SUBPARTITIONis not set
#CONFIG_SOLARIS_X86_PARTITIONis not setCONFIG_UNIXWARE_DISKLABEL=yCONFIG_LDM_PARTITION=y
#CONFIG_LDM_DEBUGis not setCONFIG_SGI_PARTITION=y
#CONFIG_ULTRIX_PARTITIONis not set
#CONFIG_SUN_PARTITIONis not setCONFIG_KARMA_PARTITION=yCONFIG_EFI_PARTITION=yCONFIG_SYSV68_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_CODEPAGE_437=yCONFIG_NLS_CODEPAGE_737=yCONFIG_NLS_CODEPAGE_775=y
#CONFIG_NLS_CODEPAGE_850is not set
#CONFIG_NLS_CODEPAGE_852is not set
#CONFIG_NLS_CODEPAGE_855is not setCONFIG_NLS_CODEPAGE_857=y
#CONFIG_NLS_CODEPAGE_860is not setCONFIG_NLS_CODEPAGE_861=y
#CONFIG_NLS_CODEPAGE_862is not setCONFIG_NLS_CODEPAGE_863=y
#CONFIG_NLS_CODEPAGE_864is not set
#CONFIG_NLS_CODEPAGE_865is not set
#CONFIG_NLS_CODEPAGE_866is not setCONFIG_NLS_CODEPAGE_869=y
#CONFIG_NLS_CODEPAGE_936is not setCONFIG_NLS_CODEPAGE_950=y
#CONFIG_NLS_CODEPAGE_932is not setCONFIG_NLS_CODEPAGE_949=y
#CONFIG_NLS_CODEPAGE_874is not set
#CONFIG_NLS_ISO8859_8is not setCONFIG_NLS_CODEPAGE_1250=yCONFIG_NLS_CODEPAGE_1251=yCONFIG_NLS_ASCII=yCONFIG_NLS_ISO8859_1=yCONFIG_NLS_ISO8859_2=y
#CONFIG_NLS_ISO8859_3is not set
#CONFIG_NLS_ISO8859_4is not set
#CONFIG_NLS_ISO8859_5is not set
#CONFIG_NLS_ISO8859_6is not set
#CONFIG_NLS_ISO8859_7is not setCONFIG_NLS_ISO8859_9=y
#CONFIG_NLS_ISO8859_13is not setCONFIG_NLS_ISO8859_14=yCONFIG_NLS_ISO8859_15=yCONFIG_NLS_KOI8_R=yCONFIG_NLS_KOI8_U=y
#CONFIG_NLS_UTF8is not setCONFIG_DLM=y
#CONFIG_DLM_DEBUGis not set#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=yCONFIG_PRINTK_TIME=yCONFIG_ENABLE_WARN_DEPRECATED=yCONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=1024CONFIG_MAGIC_SYSRQ=yCONFIG_STRIP_ASM_SYMS=yCONFIG_UNUSED_SYMBOLS=yCONFIG_DEBUG_FS=y
#CONFIG_HEADERS_CHECKis not set
#CONFIG_DEBUG_SECTION_MISMATCHis not setCONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_SHIRQ=yCONFIG_DETECT_SOFTLOCKUP=yCONFIG_NMI_WATCHDOG=y
#CONFIG_BOOTPARAM_SOFTLOCKUP_PANICis not setCONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0CONFIG_DETECT_HUNG_TASK=yCONFIG_BOOTPARAM_HUNG_TASK_PANIC=yCONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=1CONFIG_SCHED_DEBUG=yCONFIG_SCHEDSTATS=y
#CONFIG_TIMER_STATSis not setCONFIG_DEBUG_OBJECTS=y
#CONFIG_DEBUG_OBJECTS_SELFTESTis not set
#CONFIG_DEBUG_OBJECTS_FREEis not set
#CONFIG_DEBUG_OBJECTS_TIMERSis not set
#CONFIG_DEBUG_OBJECTS_WORKis not setCONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1
#CONFIG_SLUB_DEBUG_ONis not setCONFIG_SLUB_STATS=yCONFIG_DEBUG_RT_MUTEXES=yCONFIG_DEBUG_PI_LIST=y
#CONFIG_RT_MUTEX_TESTERis not setCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=yCONFIG_DEBUG_LOCK_ALLOC=yCONFIG_PROVE_LOCKING=yCONFIG_PROVE_RCU=yCONFIG_LOCKDEP=yCONFIG_LOCK_STAT=yCONFIG_DEBUG_LOCKDEP=yCONFIG_TRACE_IRQFLAGS=y
#CONFIG_DEBUG_SPINLOCK_SLEEPis not setCONFIG_DEBUG_LOCKING_API_SELFTESTS=yCONFIG_STACKTRACE=y
#CONFIG_DEBUG_HIGHMEMis not setCONFIG_DEBUG_BUGVERBOSE=yCONFIG_DEBUG_VM=yCONFIG_DEBUG_VIRTUAL=yCONFIG_DEBUG_WRITECOUNT=yCONFIG_DEBUG_MEMORY_INIT=yCONFIG_DEBUG_LIST=yCONFIG_DEBUG_SG=y
#CONFIG_DEBUG_NOTIFIERSis not set
#CONFIG_DEBUG_CREDENTIALSis not setCONFIG_ARCH_WANT_FRAME_POINTERS=yCONFIG_FRAME_POINTER=y
#CONFIG_BOOT_PRINTK_DELAYis not set
#CONFIG_RCU_TORTURE_TESTis not set
#CONFIG_RCU_CPU_STALL_DETECTORis not setCONFIG_BACKTRACE_SELF_TEST=yCONFIG_DEBUG_FORCE_WEAK_PER_CPU=yCONFIG_FAULT_INJECTION=yCONFIG_FAILSLAB=yCONFIG_FAIL_PAGE_ALLOC=yCONFIG_FAIL_MAKE_REQUEST=y
#CONFIG_FAIL_IO_TIMEOUTis not setCONFIG_FAULT_INJECTION_DEBUG_FS=yCONFIG_FAULT_INJECTION_STACKTRACE_FILTER=yCONFIG_LATENCYTOP=y
#CONFIG_SYSCTL_SYSCALL_CHECKis not setCONFIG_DEBUG_PAGEALLOC=yCONFIG_USER_STACKTRACE_SUPPORT=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FTRACE_NMI_ENTER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=yCONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_TRACER_MAX_TRACE=yCONFIG_RING_BUFFER=yCONFIG_FTRACE_NMI_ENTER=yCONFIG_EVENT_TRACING=yCONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_RING_BUFFER_ALLOW_SWAP=yCONFIG_TRACING=yCONFIG_GENERIC_TRACER=yCONFIG_TRACING_SUPPORT=yCONFIG_FTRACE=yCONFIG_FUNCTION_TRACER=yCONFIG_IRQSOFF_TRACER=yCONFIG_SYSPROF_TRACER=y
#CONFIG_SCHED_TRACERis not set
#CONFIG_FTRACE_SYSCALLSis not setCONFIG_BOOT_TRACER=yCONFIG_BRANCH_PROFILE_NONE=y
#CONFIG_PROFILE_ANNOTATED_BRANCHESis not set
#CONFIG_PROFILE_ALL_BRANCHESis not setCONFIG_POWER_TRACER=yCONFIG_KSYM_TRACER=y
#CONFIG_PROFILE_KSYM_TRACERis not setCONFIG_STACK_TRACER=yCONFIG_KMEMTRACE=y
#CONFIG_WORKQUEUE_TRACERis not setCONFIG_BLK_DEV_IO_TRACE=yCONFIG_DYNAMIC_FTRACE=yCONFIG_FUNCTION_PROFILER=yCONFIG_FTRACE_MCOUNT_RECORD=y
#CONFIG_FTRACE_STARTUP_TESTis not setCONFIG_MMIOTRACE=yCONFIG_PROVIDE_OHCI1394_DMA_INIT=yCONFIG_FIREWIRE_OHCI_REMOTE_DMA=y
#CONFIG_DYNAMIC_DEBUGis not setCONFIG_DMA_API_DEBUG=yCONFIG_SAMPLES=yCONFIG_HAVE_ARCH_KGDB=y
#CONFIG_KGDBis not setCONFIG_HAVE_ARCH_KMEMCHECK=yCONFIG_STRICT_DEVMEM=yCONFIG_X86_VERBOSE_BOOTUP=yCONFIG_EARLY_PRINTK=yCONFIG_EARLY_PRINTK_DBGP=y
#CONFIG_DEBUG_STACKOVERFLOWis not setCONFIG_DEBUG_STACK_USAGE=y
#CONFIG_DEBUG_PER_CPU_MAPSis not set
#CONFIG_X86_PTDUMPis not setCONFIG_DEBUG_RODATA=y
#CONFIG_DEBUG_RODATA_TESTis not setCONFIG_4KSTACKS=yCONFIG_DOUBLEFAULT=y
#CONFIG_IOMMU_STRESSis not setCONFIG_HAVE_MMIOTRACE_SUPPORT=yCONFIG_IO_DELAY_TYPE_0X80=0CONFIG_IO_DELAY_TYPE_0XED=1CONFIG_IO_DELAY_TYPE_UDELAY=2CONFIG_IO_DELAY_TYPE_NONE=3
#CONFIG_IO_DELAY_0X80is not set
#CONFIG_IO_DELAY_0XEDis not setCONFIG_IO_DELAY_UDELAY=y
#CONFIG_IO_DELAY_NONEis not setCONFIG_DEFAULT_IO_DELAY_TYPE=2CONFIG_DEBUG_BOOT_PARAMS=yCONFIG_CPA_DEBUG=yCONFIG_OPTIMIZE_INLINING=y#
# Security options
#
#CONFIG_KEYSis not setCONFIG_SECURITY=yCONFIG_SECURITYFS=y
#CONFIG_SECURITY_NETWORKis not setCONFIG_SECURITY_PATH=yCONFIG_INTEL_TXT=yCONFIG_SECURITY_TOMOYO=yCONFIG_IMA=yCONFIG_IMA_MEASURE_PCR_IDX=10CONFIG_IMA_AUDIT=y
#CONFIG_DEFAULT_SECURITY_SELINUXis not set
#CONFIG_DEFAULT_SECURITY_SMACKis not setCONFIG_DEFAULT_SECURITY_TOMOYO=y
#CONFIG_DEFAULT_SECURITY_DACis not setCONFIG_DEFAULT_SECURITY="tomoyo"CONFIG_ASYNC_TX_DISABLE_PQ_VAL_DMA=yCONFIG_ASYNC_TX_DISABLE_XOR_VAL_DMA=yCONFIG_CRYPTO=y#
# Crypto core or helper
#CONFIG_CRYPTO_FIPS=yCONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD=yCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=yCONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_PCOMP=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_GF128MUL=yCONFIG_CRYPTO_NULL=yCONFIG_CRYPTO_WORKQUEUE=yCONFIG_CRYPTO_CRYPTD=yCONFIG_CRYPTO_AUTHENC=y#
# Authenticated Encryption with Associated Data
#CONFIG_CRYPTO_CCM=y
#CONFIG_CRYPTO_GCMis not setCONFIG_CRYPTO_SEQIV=y#
# Block modes
#CONFIG_CRYPTO_CBC=yCONFIG_CRYPTO_CTR=yCONFIG_CRYPTO_CTS=yCONFIG_CRYPTO_ECB=yCONFIG_CRYPTO_LRW=yCONFIG_CRYPTO_PCBC=y
#CONFIG_CRYPTO_XTSis not set#
# Hash modes
#CONFIG_CRYPTO_HMAC=y
#CONFIG_CRYPTO_XCBCis not set
#CONFIG_CRYPTO_VMACis not set#
# Digest
#CONFIG_CRYPTO_CRC32C=yCONFIG_CRYPTO_CRC32C_INTEL=y
#CONFIG_CRYPTO_GHASHis not setCONFIG_CRYPTO_MD4=yCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_MICHAEL_MIC=y
#CONFIG_CRYPTO_RMD128is not set
#CONFIG_CRYPTO_RMD160is not setCONFIG_CRYPTO_RMD256=yCONFIG_CRYPTO_RMD320=yCONFIG_CRYPTO_SHA1=y
#CONFIG_CRYPTO_SHA256is not setCONFIG_CRYPTO_SHA512=yCONFIG_CRYPTO_TGR192=y
#CONFIG_CRYPTO_WP512is not set#
# Ciphers
#CONFIG_CRYPTO_AES=yCONFIG_CRYPTO_AES_586=yCONFIG_CRYPTO_ANUBIS=yCONFIG_CRYPTO_ARC4=y
#CONFIG_CRYPTO_BLOWFISHis not setCONFIG_CRYPTO_CAMELLIA=yCONFIG_CRYPTO_CAST5=yCONFIG_CRYPTO_CAST6=yCONFIG_CRYPTO_DES=y
#CONFIG_CRYPTO_FCRYPTis not set
#CONFIG_CRYPTO_KHAZADis not set
#CONFIG_CRYPTO_SALSA20is not setCONFIG_CRYPTO_SALSA20_586=yCONFIG_CRYPTO_SEED=yCONFIG_CRYPTO_SERPENT=y
#CONFIG_CRYPTO_TEAis not setCONFIG_CRYPTO_TWOFISH=yCONFIG_CRYPTO_TWOFISH_COMMON=yCONFIG_CRYPTO_TWOFISH_586=y#
# Compression
#CONFIG_CRYPTO_DEFLATE=yCONFIG_CRYPTO_ZLIB=y
#CONFIG_CRYPTO_LZOis not set#
# Random Number Generation
#CONFIG_CRYPTO_ANSI_CPRNG=y
#CONFIG_CRYPTO_HWis not setCONFIG_HAVE_KVM=yCONFIG_HAVE_KVM_IRQCHIP=yCONFIG_HAVE_KVM_EVENTFD=yCONFIG_KVM_APIC_ARCHITECTURE=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=yCONFIG_KVM_INTEL=yCONFIG_KVM_AMD=yCONFIG_LGUEST=yCONFIG_VIRTIO=yCONFIG_VIRTIO_RING=yCONFIG_VIRTIO_PCI=yCONFIG_VIRTIO_BALLOON=yCONFIG_BINARY_PRINTF=y#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_FIND_FIRST_BIT=yCONFIG_GENERIC_FIND_NEXT_BIT=yCONFIG_GENERIC_FIND_LAST_BIT=yCONFIG_CRC_CCITT=yCONFIG_CRC16=yCONFIG_CRC_T10DIF=yCONFIG_CRC_ITU_T=yCONFIG_CRC32=yCONFIG_CRC7=yCONFIG_LIBCRC32C=yCONFIG_AUDIT_GENERIC=yCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_CHECK_SIGNATURE=yCONFIG_NLATTR=yCONFIG_LRU_CACHE=yCONFIG_FORCE_SUCCESSFUL_BUILD=yCONFIG_FORCE_MINIMAL_CONFIG=yCONFIG_FORCE_MINIMAL_CONFIG_PHYS=yCONFIG_X86_32_ALWAYS_ON=y
Quoted 62 lines · Paul E. McKenney
Quoted 25 lines · Ingo Molnar
another, different warning is:
PM: Adding info for No Bus:vcsa6
------------[ cut here ]------------ WARNING: at kernel/softirq.c:143 local_bh_enable_ip+0xba/0xf0() Hardware name: System Product Name Modules linked in: Pid: 0, comm: swapper Not tainted 2.6.33-tip-00730-gacec70d-dirty #18737 Call Trace: [<ffffffff8104e0eb>] warn_slowpath_common+0x7b/0xc0 [<ffffffff8166cd60>] ? __dst_free+0x60/0xd0 [<ffffffff8104e144>] warn_slowpath_null+0x14/0x20 [<ffffffff81055c7a>] local_bh_enable_ip+0xba/0xf0 [<ffffffff817c16d9>] _raw_spin_unlock_bh+0x19/0x20 [<ffffffff8166cd60>] __dst_free+0x60/0xd0 [<ffffffff8169de14>] dst_rcu_free+0x34/0x40 [<ffffffff8109c80d>] rcu_do_batch+0xcd/0x290 [<ffffffff8109ca3e>] __rcu_process_callbacks+0x6e/0xe0 [<ffffffff8109cbca>] rcu_needs_cpu+0x11a/0x170 [<ffffffff8107c14e>] tick_nohz_stop_sched_tick+0x15e/0x440 [<ffffffff81001dc9>] cpu_idle+0x79/0x120 [<ffffffff817bb627>] start_secondary+0xa0/0xa2 ---[ end trace 155c62ea9b561096 ]---Quoted 1 line
Config attached.
Color me confused!
rcu_needs_cpu()is supposed to be called with irqs disabled, andtick_nohz_stop_sched_tick()does in fact disable them withlocal_irq_save()near the beginning of the function. Doing a quick inspection, starting at that point intick_nohz_stop_sched_tick():o
smp_processor_id()does not mess with irq, nor doesper_cpu().o
tick_nohz_start_idle()calls a bunch of things.
sched_clock_cpu()checks for irqs being disabled, but only ifCONFIG_HAVE_UNSTABLE_SCHED_CLOCK. Which you have set. So we know irqs remained disabled at this point.And I don't see anything re-enabling irqs in the subsequent code path in this function.
o
need_resched()just checks theTIF_NEED_RESCHEDflag.o Neither
local_softirq_pending()andcpu_online()mess
with irq enabling.o The code path containing the
printk()was apparently not
taken, as there is no message in your log.o
read_seqbegin()andread_seqretry()leave irqs alone, as
doestimekeeping_max_deferment().And that puts us at the call to
rcu_needs_cpu(). You have the newCONFIG_RCU_FAST_NO_HZconfig variable set, and are not running preemptible RCU, so we are in the one at line 993 ofrcutree_plugin.c. The fact that__rcu_process_callbacks()is on the stack means that all other CPUs were in dyntick-idle mode, so we went through the loop.
Quoted 8 lines
o
rcu_sched_qs()doesn't mess with irqs.o
force_quiescent_state()does mess with irqs, but puts them
back the way it found them.o Ditto for
__rcu_process_callbacks().So I am reduced to putting together a diagnostic patch for you. :-/
-EICANTREAD
Commit 8bd93a2c ("Accelerate grace period...") is busted. I will work out how to fix it.
Thanx, Paul
plus there's one with a lockdep warning as well:
PM: Adding info for No Bus:vcsa10
eth0: no IPv6 routers present
------------[ cut here ]------------ WARNING: at kernel/softirq.c:143 _local_bh_enable_ip+0x3a/0x9d() Hardware name: System Product Name Modules linked in: Pid: 0, comm: swapper Not tainted 2.6.33-tip-00754-gbd37c01-dirty #18764 Call Trace: [<c1036212>] warn_slowpath_common+0x6a/0x81 [<c103b97f>] ? _local_bh_enable_ip+0x3a/0x9d [<c15aa645>] ? inet_putpeer+0x4c/0x4f [<c103623b>] warn_slowpath_null+0x12/0x15 [<c103b97f>] _local_bh_enable_ip+0x3a/0x9d [<c103b9ef>] local_bh_enable_ip+0xd/0xf [<c168189b>] _raw_spin_unlock_bh+0x2a/0x2d [<c15aa645>] inet_putpeer+0x4c/0x4f [<c15a6f71>] ipv4_dst_destroy+0x2b/0x44 [<c1591167>] dst_destroy+0x63/0xaf [<c15a6d7e>] dst_free+0x1e/0x29 [<c15a6d96>] dst_rcu_free+0xd/0xf [<c107998c>] rcu_do_batch+0x91/0x16f [<c1079afb>] __rcu_process_callbacks+0x91/0x95 [<c1079c08>] rcu_needs_cpu+0x109/0x132 [<c105870f>] tick_nohz_stop_sched_tick+0x15c/0x36f [<c1001c09>] cpu_idle+0x78/0xb3 [<c16470a0>] rest_init+0x9c/0xa1 [<c1a3c958>] start_kernel+0x373/0x378 [<c1a3c0ab>] i386_start_kernel+0xab/0xb2 ---[ end trace 1110cdd88992d6b2 ]---
=========================================================
[ INFO: possible irq lock inversion dependency detected ] 2.6.33-tip-00754-gbd37c01-dirty #18764
---------------------------------------------------------
swapper/0 just changed the state of lock:
(&(&base->lock)->rlock){+.-.-.}, at: [<c10414a3>] get_next_timer_interrupt+0x27/0x1ba
but this lock was taken by another, HARDIRQ-safe lock in the past:
(&(&np->lock)->rlock){-.-...}
and interrupts could create inverse lock ordering between them.
other info that might help us debug this:
no locks held by swapper/0.
the shortest dependencies between 2nd lock and 1st lock:
-> (&(&np->lock)->rlock){-.-...} ops: 4907 {
IN-HARDIRQ-W at:
[<c105b42d>] mark_irqflags+0x50/0x110
[<c105c895>] __lock_acquire+0x21d/0x3d7
[<c105cae1>] lock_acquire+0x92/0xa9
[<c16811c3>] _raw_spin_lock+0x23/0x53
[<c14a1cdc>] spin_lock+0xd/0xf
[<c14a2e4a>] nv_nic_irq_optimized+0xcf/0x242
[<c1074f66>] handle_IRQ_event+0x4b/0xf1
[<c1076924>] handle_fasteoi_irq+0x7b/0xb2
[<c1004340>] handle_irq+0x40/0x4c
[<c1003b8e>] do_IRQ+0x46/0x9f
[<c1002f55>] common_interrupt+0x35/0x40
IN-SOFTIRQ-W at:
[<c105b44c>] mark_irqflags+0x6f/0x110
[<c105c895>] __lock_acquire+0x21d/0x3d7
[<c105cae1>] lock_acquire+0x92/0xa9
[<c16812de>] _raw_spin_lock_irqsave+0x2c/0x5f
[<c14a3541>] nv_start_xmit_optimized+0x81/0x406
[<c158d70b>] dev_hard_start_xmit+0x141/0x1d3
[<c15a1b6e>] sch_direct_xmit+0x55/0x134
[<c158daca>] dev_queue_xmit+0x241/0x38b
[<c1594609>] neigh_resolve_output+0x10d/0x133
[<c15ed540>] ip6_output_finish+0x7b/0xb0
[<c15ef305>] ip6_output2+0x1d0/0x1d8
[<c15efc2c>] ip6_output+0xc2/0xc6
[<c160249a>] dst_output+0xe/0x10
[<c1603389>] mld_sendpack+0x1ae/0x2aa
[<c1603d95>] mld_send_cr+0x1e0/0x1e8
[<c1603dad>] mld_ifc_timer_expire+0x10/0x33
[<c1040e87>] run_timer_softirq+0x172/0x207
[<c103b6f9>] __do_softirq+0xb7/0x169
[<c103b7db>] do_softirq+0x30/0x48
[<c103b912>] irq_exit+0x3a/0x6d
[<c1016328>] smp_apic_timer_interrupt+0x6d/0x7b
[<c1682006>] apic_timer_interrupt+0x36/0x40
INITIAL USE at:
[<c105c8ac>] __lock_acquire+0x234/0x3d7
[<c105cae1>] lock_acquire+0x92/0xa9
[<c1681282>] _raw_spin_lock_irq+0x29/0x59
[<c149f2d1>] spin_lock_irq+0xd/0xf
[<c166ab67>] nv_probe+0xa24/0xe40
[<c127d7a8>] local_pci_probe+0x13/0x15
[<c127e229>] pci_device_probe+0x48/0x6b
[<c13206d7>] really_probe+0x8e/0x165
[<c13207fa>] driver_probe_device+0x4c/0x82
[<c1320878>] __driver_attach+0x48/0x64
[<c131fd71>] bus_for_each_dev+0x42/0x6c
[<c1320501>] driver_attach+0x19/0x1b
[<c13201d6>] bus_add_driver+0xb6/0x200
[<c1320adf>] driver_register+0x7e/0xe5
[<c127e428>] __pci_register_driver+0x51/0xae
[<c1a69b69>] init_nic+0x14/0x16
[<c1001143>] do_one_initcall+0x51/0x13b
[<c1a3c360>] do_basic_setup+0x3f/0x52
[<c1a3c3e2>] kernel_init+0x6f/0xb0
[<c1002f66>] kernel_thread_helper+0x6/0x10
}
... key at: [<c22d7bd4>] __key.40874+0x0/0x8
... acquired at:
[<c105c1da>] check_prev_add+0x177/0x1ae
[<c105c5f6>] validate_chain+0x3e5/0x467
[<c105c9d8>] __lock_acquire+0x360/0x3d7
[<c105cae1>] lock_acquire+0x92/0xa9
[<c16812de>] _raw_spin_lock_irqsave+0x2c/0x5f
[<c104106d>] lock_timer_base+0x26/0x45
[<c10410b3>] __mod_timer+0x27/0x109
[<c10411dc>] mod_timer+0x20/0x27
[<c14a4920>] nv_open+0x43c/0x45b
[<c158ea3a>] dev_open+0x8b/0xc5
[<c158e0c1>] dev_change_flags+0x9a/0x149
[<c15cd6a9>] devinet_ioctl+0x22e/0x43f
[<c15ce863>] inet_ioctl+0x93/0xac
[<c157f817>] sock_ioctl+0x1ce/0x1f2
[<c10cfe65>] vfs_ioctl+0x2c/0x94
[<c10d02c3>] do_vfs_ioctl+0x267/0x27e
[<c10d0320>] sys_ioctl+0x46/0x66
[<c10029fb>] sysenter_do_call+0x12/0x36-> (&(&base->lock)->rlock){+.-.-.} ops: 142011 {
HARDIRQ-ON-W at:
[<c105b48f>] mark_irqflags+0xb2/0x110
[<c105c895>] __lock_acquire+0x21d/0x3d7
[<c105cae1>] lock_acquire+0x92/0xa9
[<c16811c3>] _raw_spin_lock+0x23/0x53
[<c10414a3>] get_next_timer_interrupt+0x27/0x1ba
[<c1058904>] tick_nohz_stop_sched_tick+0x351/0x36f
[<c1001c09>] cpu_idle+0x78/0xb3
[<c16470a0>] rest_init+0x9c/0xa1
[<c1a3c958>] start_kernel+0x373/0x378
[<c1a3c0ab>] i386_start_kernel+0xab/0xb2
IN-SOFTIRQ-W at:
[<c105b44c>] mark_irqflags+0x6f/0x110
[<c105c895>] __lock_acquire+0x21d/0x3d7
[<c105cae1>] lock_acquire+0x92/0xa9
[<c1681282>] _raw_spin_lock_irq+0x29/0x59
[<c1040d4c>] run_timer_softirq+0x37/0x207
[<c103b6f9>] __do_softirq+0xb7/0x169
[<c103b7db>] do_softirq+0x30/0x48
[<c103b912>] irq_exit+0x3a/0x6d
[<c1003bd3>] do_IRQ+0x8b/0x9f
[<c1002f55>] common_interrupt+0x35/0x40
[<c1075c0c>] __setup_irq+0x1e2/0x26b
[<c1075cb3>] setup_irq+0x1e/0x22
[<c1a3f0ff>] setup_default_timer_irq+0xf/0x11
[<c1a3f117>] hpet_time_init+0x16/0x18
[<c1a3f0e9>] x86_late_time_init+0x9/0x10
[<c1a3c8cd>] start_kernel+0x2e8/0x378
[<c1a3c0ab>] i386_start_kernel+0xab/0xb2
IN-RECLAIM_FS-W at:
[<c105b4d6>] mark_irqflags+0xf9/0x110
[<c105c895>] __lock_acquire+0x21d/0x3d7
[<c105cae1>] lock_acquire+0x92/0xa9
[<c16812de>] _raw_spin_lock_irqsave+0x2c/0x5f
[<c104106d>] lock_timer_base+0x26/0x45
[<c10410b3>] __mod_timer+0x27/0x109
[<c167ff60>] schedule_timeout+0x79/0x9d
[<c10a3d7e>] kswapd+0xde/0x178
[<c104b87c>] kthread+0x6f/0x74
[<c1002f66>] kernel_thread_helper+0x6/0x10
INITIAL USE at:
[<c105c8ac>] __lock_acquire+0x234/0x3d7
[<c105cae1>] lock_acquire+0x92/0xa9
[<c16812de>] _raw_spin_lock_irqsave+0x2c/0x5f
[<c104106d>] lock_timer_base+0x26/0x45
[<c10410b3>] __mod_timer+0x27/0x109
[<c10411dc>] mod_timer+0x20/0x27
[<c1a6106a>] con_init+0xa9/0x1cb
[<c1a607c1>] console_init+0x12/0x20
[<c1a3c7f2>] start_kernel+0x20d/0x378
[<c1a3c0ab>] i386_start_kernel+0xab/0xb2
}
... key at: [<c1d4a0ec>] __key.33971+0x0/0x8
... acquired at:
[<c105bb85>] check_usage_backwards+0x64/0x6f
[<c105b240>] mark_lock_irq+0x5b/0xca
[<c105b36e>] mark_lock+0xbf/0x12e
[<c105b48f>] mark_irqflags+0xb2/0x110
[<c105c895>] __lock_acquire+0x21d/0x3d7
[<c105cae1>] lock_acquire+0x92/0xa9
[<c16811c3>] _raw_spin_lock+0x23/0x53
[<c10414a3>] get_next_timer_interrupt+0x27/0x1ba
[<c1058904>] tick_nohz_stop_sched_tick+0x351/0x36f
[<c1001c09>] cpu_idle+0x78/0xb3
[<c16470a0>] rest_init+0x9c/0xa1
[<c1a3c958>] start_kernel+0x373/0x378
[<c1a3c0ab>] i386_start_kernel+0xab/0xb2
stack backtrace:
Pid: 0, comm: swapper Tainted: G W 2.6.33-tip-00754-gbd37c01-dirty #18764
Call Trace:
[<c167f62e>] ? printk+0x14/0x16
[<c105baa7>] print_irq_inversion_bug+0xde/0xe9
[<c105bb85>] check_usage_backwards+0x64/0x6f
[<c100440c>] ? dump_trace+0x7b/0xa8
[<c105b240>] mark_lock_irq+0x5b/0xca
[<c105bb21>] ? check_usage_backwards+0x0/0x6f
[<c105b36e>] mark_lock+0xbf/0x12e
[<c105b48f>] mark_irqflags+0xb2/0x110
[<c105c895>] __lock_acquire+0x21d/0x3d7
[<c10414a3>] ? get_next_timer_interrupt+0x27/0x1ba
[<c105cae1>] lock_acquire+0x92/0xa9
[<c10414a3>] ? get_next_timer_interrupt+0x27/0x1ba
[<c16811c3>] _raw_spin_lock+0x23/0x53
[<c10414a3>] ? get_next_timer_interrupt+0x27/0x1ba
[<c10414a3>] get_next_timer_interrupt+0x27/0x1ba
[<c1079c08>] ? rcu_needs_cpu+0x109/0x132
[<c1058904>] tick_nohz_stop_sched_tick+0x351/0x36f
[<c1001c09>] cpu_idle+0x78/0xb3
[<c16470a0>] rest_init+0x9c/0xa1
[<c1a3c958>] start_kernel+0x373/0x378
[<c1a3c0ab>] i386_start_kernel+0xab/0xb2