aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ja_JP
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2011-06-08 01:51:02 +0200
committerFrederic Weisbecker <fweisbec@gmail.com>2011-06-10 15:16:06 +0200
commite8f7c70f44f75c827c04239b0ae5f0068b65b76e (patch)
treef09f5a5189833e26a0d95ff42359f19f740066df /Documentation/ja_JP
parentsched: Isolate preempt counting in its own config option (diff)
downloadlinux-dev-e8f7c70f44f75c827c04239b0ae5f0068b65b76e.tar.xz
linux-dev-e8f7c70f44f75c827c04239b0ae5f0068b65b76e.zip
sched: Make sleeping inside spinlock detection working in !CONFIG_PREEMPT
Select CONFIG_PREEMPT_COUNT when we enable the sleeping inside spinlock detection, so that the preempt offset gets correctly incremented/decremented from preempt_disable()/preempt_enable(). This makes the preempt count eventually working in !CONFIG_PREEMPT when that debug option is set and thus fixes the detection of explicit preemption disabled sections under such config. Code that sleeps in explicitly preempt disabled section can be finally spotted in non-preemptible kernels. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Diffstat (limited to 'Documentation/ja_JP')
0 files changed, 0 insertions, 0 deletions