]> Git Repo - linux.git/commit
mm: remove __GFP_NO_KSWAPD
authorRik van Riel <[email protected]>
Mon, 8 Oct 2012 23:28:21 +0000 (16:28 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 Oct 2012 07:22:15 +0000 (16:22 +0900)
commitc654345924f7cce87bb221b89db91cba890421ba
tree980c9a496ac0e2497ef156ff5b83701295d1ecf8
parent075663d19885eb3738fd2d7dbdb8947e12563b68
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.

[[email protected]: Comment fix]
[[email protected]: Avoid direct reclaim for deferred compaction]
Cc: Andrea Arcangeli <[email protected]>
Signed-off-by: Rik van Riel <[email protected]>
Signed-off-by: Mel Gorman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/mtd/mtdcore.c
include/linux/gfp.h
include/trace/events/gfpflags.h
mm/page_alloc.c
This page took 0.056654 seconds and 4 git commands to generate.