]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: remove __GFP_NO_KSWAPD
authorRik van Riel <riel@redhat.com>
Tue, 14 Aug 2012 03:22:33 +0000 (13:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 20 Aug 2012 07:08:02 +0000 (17:08 +1000)
commitcf07d2e79398240ca195dbd24b4f67de7d5722c0
treebfab4fb23796ba6eef915ad7297d29eddc821313
parent5060a577ee2e33c8c20e8f09333206224023f245
mm: remove __GFP_NO_KSWAPD

When transparent huge pages were introduced, memory compaction and swap
storms were an issue, and the kernel had to be careful to not make THP
allocations cause pageout or compaction.

Now that we have working compaction deferral, kswapd is smart enough to
invoke compaction and the quadratic behaviour around isolate_free_pages
has been fixed, it should be safe to remove __GFP_NO_KSWAPD.

Signed-off-by: Rik van Riel <riel@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/gfp.h
mm/page_alloc.c