summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorNick Piggin2005-05-01 17:58:36 +0200
committerLinus Torvalds2005-05-01 17:58:36 +0200
commitb84a35be0285229b0a8a5e2e04d79360c5b75562 (patch)
tree3ff63fde8534eb615b408d047b461015781f6a5b /include/asm-ppc
parent[PATCH] mm: pcp use non powers of 2 for batch size (diff)
downloadkernel-qcow2-linux-b84a35be0285229b0a8a5e2e04d79360c5b75562.tar.gz
kernel-qcow2-linux-b84a35be0285229b0a8a5e2e04d79360c5b75562.tar.xz
kernel-qcow2-linux-b84a35be0285229b0a8a5e2e04d79360c5b75562.zip
[PATCH] mempool: NOMEMALLOC and NORETRY
Mempools have 2 problems. The first is that mempool_alloc can possibly get stuck in __alloc_pages when they should opt to fail, and take an element from their reserved pool. The second is that it will happily eat emergency PF_MEMALLOC reserves instead of going to their reserved pools. Fix the first by passing __GFP_NORETRY in the allocation calls in mempool_alloc. Fix the second by introducing a __GFP_MEMPOOL flag which directs the page allocator not to allocate from the reserve pool. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ppc')
0 files changed, 0 insertions, 0 deletions