sched: No need for bootmem special cases
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 15 Jul 2010 20:18:22 +0000 (23:18 +0300)
committerIngo Molnar <mingo@elte.hu>
Sat, 17 Jul 2010 10:06:22 +0000 (12:06 +0200)
commit68c38fc3cb4e5a60f502ee9c45f3dfe70e5165ad
tree32293b2fd969c57032407294863c1f2ee6bf5996
parentbbc8cb5baead9607309583b20873ab0cc8d89eaf
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>
kernel/sched.c
kernel/sched_cpupri.c
kernel/sched_cpupri.h