aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2008-07-23 21:28:07 -0700
committerLinus Torvalds <[email protected]>2008-07-24 10:47:20 -0700
commit0f3caba211babef6e3fbde1ba76ddc79321bc92f (patch)
treea240561bc4288ab3e17f16c458377df9d043a177 /include/linux/timerqueue.h
parente2bf3cae515090fefe28329e71230dfe7ab873b1 (diff)
bootmem: respect goal more likely
The old node-agnostic code tried allocating on all nodes starting from the one with the lowest range. alloc_bootmem_core retried without the goal if it could not satisfy it and so the goal was only respected at all when it happened to be on the first (lowest page numbers) node (or theoretically if allocations failed on all nodes before to the one holding the goal). Introduce a non-panicking helper that starts allocating from the node holding the goal and falls back only after all thes tries failed, thus moving the goal fallback code out of alloc_bootmem_core. Make all other allocation functions benefit from this new helper. Signed-off-by: Johannes Weiner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Yinghai Lu <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Yasunori Goto <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions