Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


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 <>
Cc: Peter Zijlstra <>
LKML-Reference: <>
Signed-off-by: Ingo Molnar <>

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
kernel/sched_cpupri.c Diff Switch to side-by-side view
kernel/sched_cpupri.h Diff Switch to side-by-side view