diff options
author | Andrea Arcangeli <aarcange@redhat.com> | 2011-05-25 02:11:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 17:39:10 +0200 |
commit | c6a140bf164829769499b5e50d380893da39b29e (patch) | |
tree | 0cfcbd5356cd3cebabba2334dcfdaec6ea47d816 /mm/swapfile.c | |
parent | mm, mem-hotplug: update pcp->stat_threshold when memory hotplug occur (diff) | |
download | linux-c6a140bf164829769499b5e50d380893da39b29e.tar.xz linux-c6a140bf164829769499b5e50d380893da39b29e.zip |
mm/compaction: reverse the change that forbade sync migraton with __GFP_NO_KSWAPD
It's uncertain this has been beneficial, so it's safer to undo it. All
other compaction users would still go in synchronous mode if a first
attempt at async compaction failed. Hopefully we don't need to force
special behavior for THP (which is the only __GFP_NO_KSWAPD user so far
and it's the easier to exercise and to be noticeable). This also make
__GFP_NO_KSWAPD return to its original strict semantics specific to bypass
kswapd, as THP allocations have khugepaged for the async THP
allocations/compactions.
Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Cc: Alex Villacis Lasso <avillaci@fiec.espol.edu.ec>
Cc: 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/swapfile.c')
0 files changed, 0 insertions, 0 deletions