diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-04-18 11:24:34 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-04-19 10:56:54 +0200 |
commit | 057f3fadb347e9c51b07e1b277bbdda79f976768 (patch) | |
tree | 12f637ad30129245ef51836df1d134257d827dd5 /net/rfkill/input.c | |
parent | 2f36825b176f67e5c5228aa33d828bc39718811f (diff) | |
download | blackbird-op-linux-057f3fadb347e9c51b07e1b277bbdda79f976768.tar.gz blackbird-op-linux-057f3fadb347e9c51b07e1b277bbdda79f976768.zip |
sched: Fix sched_domain iterations vs. RCU
Vladis Kletnieks reported a new RCU debug warning in the scheduler.
Since commit dce840a08702b ("sched: Dynamically allocate sched_domain/
sched_group data-structures") the sched_domain trees are protected by
RCU instead of RCU-sched.
This means that we need to include rcu_read_lock() protection when we
iterate them since disabling preemption doesn't suffice anymore.
Reported-by: Valdis.Kletnieks@vt.edu
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1302882741.2388.241.camel@twins
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/rfkill/input.c')
0 files changed, 0 insertions, 0 deletions