Home
last modified time | relevance | path

Searched hist:b84a35be0285229b0a8a5e2e04d79360c5b75562 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/mm/
H A Dmempool.cdiff b84a35be0285229b0a8a5e2e04d79360c5b75562 Sun May 01 10:58:36 CDT 2005 Nick Piggin <nickpiggin@yahoo.com.au> [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>
H A Dpage_alloc.cdiff b84a35be0285229b0a8a5e2e04d79360c5b75562 Sun May 01 10:58:36 CDT 2005 Nick Piggin <nickpiggin@yahoo.com.au> [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>
/openbmc/linux/include/linux/
H A Dgfp.hdiff b84a35be0285229b0a8a5e2e04d79360c5b75562 Sun May 01 10:58:36 CDT 2005 Nick Piggin <nickpiggin@yahoo.com.au> [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>