diff options
author | Andrea Arcangeli | 2011-01-14 00:47:05 +0100 |
---|---|---|
committer | Linus Torvalds | 2011-01-14 02:32:45 +0100 |
commit | d39d33c332c611094f84cee39715866f4cbf79e2 (patch) | |
tree | d4b2a0d53867b9b679c098a08f831dca148acb19 /mm/mempolicy.c | |
parent | thp: set recommended min free kbytes (diff) | |
download | kernel-qcow2-linux-d39d33c332c611094f84cee39715866f4cbf79e2.tar.gz kernel-qcow2-linux-d39d33c332c611094f84cee39715866f4cbf79e2.tar.xz kernel-qcow2-linux-d39d33c332c611094f84cee39715866f4cbf79e2.zip |
thp: enable direct defrag
With memory compaction in, and lumpy-reclaim disabled, it seems safe
enough to defrag memory during the (synchronous) transparent hugepage page
faults (TRANSPARENT_HUGEPAGE_DEFRAG_FLAG) and not only during khugepaged
(async) hugepage allocations that was already enabled even before memory
compaction was in (TRANSPARENT_HUGEPAGE_DEFRAG_KHUGEPAGED_FLAG).
Signed-off-by: Andrea Arcangeli <aarcange@redhat.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>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions