Files
Linux/include/linux
Frederic Weisbecker bdd4e85dc3 sched: Isolate preempt counting in its own config option
Create a new CONFIG_PREEMPT_COUNT that handles the inc/dec
of preempt count offset independently. So that the offset
can be updated by preempt_disable() and preempt_enable()
even without the need for CONFIG_PREEMPT beeing set.

This prepares to make CONFIG_DEBUG_SPINLOCK_SLEEP working
with !CONFIG_PREEMPT where it currently doesn't detect
code that sleeps inside explicit preemption disabled
sections.

Signed-off-by: Frederic Weisbecker <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
2011-06-10 15:15:40 +02:00
..
2011-03-31 11:26:23 -03:00
…
2011-05-04 14:08:36 -07:00
2011-03-31 11:26:23 -03:00
…
2011-05-26 19:45:40 +02:00
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
2011-03-31 11:26:23 -03:00
2011-05-26 17:12:34 -07:00
2011-05-26 17:12:34 -07:00
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
2011-05-13 11:45:33 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-05-23 10:47:06 -05:00
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
2011-05-24 10:21:29 +02:00
2011-05-24 10:21:29 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-05-13 14:37:28 -04:00
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
2011-05-23 13:59:54 +02:00
…
…
2011-05-26 12:03:50 -07:00
…
…
…
…
…
2011-05-25 20:43:32 +02:00
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
2011-05-08 16:41:45 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-05-26 17:12:37 -07:00
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
2011-05-25 08:39:52 -07:00
…
…
…
…
…
2011-05-24 22:55:24 +10:00
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
2011-05-22 08:47:53 -04:00
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
2011-05-19 20:50:53 -04:00
…
…
…
2011-05-24 14:33:35 +02:00
2011-04-25 18:14:10 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-05-26 17:12:36 -07:00
…
…
…
2011-05-19 16:55:27 +09:30
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
…
2011-05-05 11:10:14 -07:00
2011-05-20 11:46:11 -07:00
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
2011-05-26 17:12:34 -07:00
…
…
…
…
…
…
2011-04-20 17:01:19 +10:00
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-05-26 17:12:37 -07:00
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
2011-05-24 12:10:51 +02:00
…
…
…
2011-03-31 11:26:23 -03:00
…
2011-05-13 16:31:00 -07:00
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
2011-05-25 08:39:19 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-05-24 15:22:17 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
2011-05-26 13:38:58 +10:00
…
2011-05-05 11:10:14 -07:00
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…
…
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
2011-03-31 11:26:23 -03:00
…
…
…
…
…
…