diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2011-01-14 02:46:49 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-14 04:32:42 +0300 |
commit | 5c3240d92e29ae7bfb9cb58a9b37e80ab40894ff (patch) | |
tree | fffa9f90492b61ef1578e1c41118024c81d77863 /mm/swap.c | |
parent | 32dba98e085f8b2b4345887df9abf5e0e93bfc12 (diff) | |
download | linux-5c3240d92e29ae7bfb9cb58a9b37e80ab40894ff.tar.xz |
thp: don't alloc harder for gfp nomemalloc even if nowait
Not worth throwing away the precious reserved free memory pool for
allocations that can fail gracefully (either through mempool or because
they're transhuge allocations later falling back to 4k allocations).
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions