Commit [68c38f] Maximize Restore History

sched: No need for bootmem special cases

As of commit dcce284 ("mm: Extend gfp masking to the page
allocator") and commit 7e85ee0 ("slab,slub: don't enable
interrupts during early boot"), the slab allocator makes
sure we don't attempt to sleep during boot.

Therefore, remove bootmem special cases from the scheduler
and use plain GFP_KERNEL instead.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1279225102-2572-1-git-send-email-penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

Pekka Enberg Pekka Enberg 2010-07-15

Ingo Molnar Ingo Molnar 2010-07-17

changed kernel/sched.c
changed kernel/sched_cpupri.c
changed kernel/sched_cpupri.h
kernel/sched.c Diff Switch to side-by-side view
Loading...
kernel/sched_cpupri.c Diff Switch to side-by-side view
Loading...
kernel/sched_cpupri.h Diff Switch to side-by-side view
Loading...