diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2012-05-29 15:06:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-29 16:22:22 -0700 |
commit | 421456edd27cf512b8f0025245a0f3572bd69b00 (patch) | |
tree | 5514646e0a4113774f9c612b57b645206f71439e /mm/nobootmem.c | |
parent | ab3818432294a19ad793a0965d89867b4ce6255b (diff) | |
download | linux-421456edd27cf512b8f0025245a0f3572bd69b00.tar.gz linux-421456edd27cf512b8f0025245a0f3572bd69b00.tar.bz2 linux-421456edd27cf512b8f0025245a0f3572bd69b00.zip |
mm: bootmem: unify allocation policy of (non-)panicking node allocations
While the panicking node-specific allocation function tries to satisfy
node+goal, goal, node, anywhere, the non-panicking function still does
node+goal, goal, anywhere.
Make it simpler: define the panicking version in terms of the
non-panicking one, like the node-agnostic interface, so they always behave
the same way apart from how to deal with allocation failure.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions