]> git.baikalelectronics.ru Git - kernel.git/commit
thp: don't alloc harder for gfp nomemalloc even if nowait
authorAndrea Arcangeli <aarcange@redhat.com>
Thu, 13 Jan 2011 23:46:49 +0000 (15:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:42 +0000 (17:32 -0800)
commit81539f8e9fed241270a4d371cdbda65beebf60bc
treefffa9f90492b61ef1578e1c41118024c81d77863
parent0849d0fcf98bc03379b29eb32ee7fa151c6c8da2
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>
mm/page_alloc.c