diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-08-11 15:14:58 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-02-15 10:32:50 -0600 |
commit | 4744b0dbe16c0a8195b825316b21b83d706efbff (patch) | |
tree | 887ef7e210114fceef34bacecbae03d7a26f57f9 /kernel/sched_debug.c | |
parent | dce5b35c195cf474a34e93d101cc1420eb285f51 (diff) |
sched: Generic migrate_disable
Make migrate_disable() be a preempt_disable() for !rt kernels. This
allows generic code to use it but still enforces that these code
sections stay relatively small.
A preemptible migrate_disable() accessible for general use would allow
people growing arbitrary per-cpu crap instead of clean these things
up.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-275i87sl8e1jcamtchmehonm@git.kernel.org
Diffstat (limited to 'kernel/sched_debug.c')
0 files changed, 0 insertions, 0 deletions