kernel-ark/mm
Nick Piggin b84a35be02 [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>
2005-05-01 08:58:36 -07:00
..
bootmem.c
fadvise.c
filemap.c [PATCH] generic_file_buffered_write fixes 2005-05-01 08:58:35 -07:00
fremap.c
highmem.c
hugetlb.c
internal.h
madvise.c
Makefile
memory.c [PATCH] freepgt: hugetlb_free_pgd_range 2005-04-19 13:29:16 -07:00
mempolicy.c [PATCH] mempolicy.c GFP fix 2005-04-24 12:28:34 -07:00
mempool.c [PATCH] mempool: NOMEMALLOC and NORETRY 2005-05-01 08:58:36 -07:00
mincore.c [PATCH] freepgt: sys_mincore ignore FIRST_USER_PGD_NR 2005-04-19 13:29:20 -07:00
mlock.c
mmap.c [PATCH] RLIMIT_AS checking fix 2005-05-01 08:58:35 -07:00
mprotect.c
mremap.c [PATCH] RLIMIT_AS checking fix 2005-05-01 08:58:35 -07:00
msync.c
nommu.c
oom_kill.c
page_alloc.c [PATCH] mempool: NOMEMALLOC and NORETRY 2005-05-01 08:58:36 -07:00
page_io.c
page-writeback.c
pdflush.c
prio_tree.c
readahead.c
rmap.c [PATCH] mm: rmap.c cleanup 2005-05-01 08:58:36 -07:00
shmem.c
slab.c
swap_state.c
swap.c
swapfile.c
thrash.c
tiny-shmem.c
truncate.c
vmalloc.c
vmscan.c