diff options
author | Mel Gorman <mgorman@suse.de> | 2012-01-12 17:19:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 20:13:08 -0800 |
commit | b16d3d5a5219d01e9be5e586e5d50fbf1ca955ea (patch) | |
tree | 790422876526d780e1b66dd47ae522bfa3b73484 /mm/pagewalk.c | |
parent | a77ebd333cd810d7b680d544be88c875131c2bd3 (diff) | |
download | linux-b16d3d5a5219d01e9be5e586e5d50fbf1ca955ea.tar.gz linux-b16d3d5a5219d01e9be5e586e5d50fbf1ca955ea.tar.bz2 linux-b16d3d5a5219d01e9be5e586e5d50fbf1ca955ea.zip |
mm: compaction: use synchronous compaction for /proc/sys/vm/compact_memory
When asynchronous compaction was introduced, the
/proc/sys/vm/compact_memory handler should have been updated to always use
synchronous compaction. This did not happen so this patch addresses it.
The assumption is if a user writes to /proc/sys/vm/compact_memory, they
are willing for that process to stall.
Signed-off-by: Mel Gorman <mgorman@suse.de>
Reviewed-by: Andrea Arcangeli <aarcange@redhat.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Cc: Dave Jones <davej@redhat.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Andy Isaacson <adi@hexapodia.org>
Cc: Nai Xia <nai.xia@gmail.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/pagewalk.c')
0 files changed, 0 insertions, 0 deletions