diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2016-05-24 10:04:04 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-05-25 09:27:05 +1000 |
commit | 5ee2c38b6d03cbfba332f2da26baf3a18d6a3ddb (patch) | |
tree | feb6c69015bda2ea953555f7ae58c47c9c4eb338 | |
parent | 7dc4fc7ca15c98b8a3424c55aa0ace328b6c2322 (diff) | |
download | linux-next-5ee2c38b6d03cbfba332f2da26baf3a18d6a3ddb.tar.gz |
mm-thp-avoid-unnecessary-swapin-in-khugepaged-fix
tweak comment text
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Boaz Harrosh <boaz@plexistor.com>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | mm/huge_memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 22f5fdf44869..1896c13ff5ce 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -2486,8 +2486,8 @@ static void collapse_huge_page(struct mm_struct *mm, swap = get_mm_counter(mm, MM_SWAPENTS); curr_allocstall = sum_vm_event(ALLOCSTALL); /* - * When system under pressure, don't swapin readahead. - * So that avoid unnecessary resource consuming. + * Don't perform swapin readahead when the system is under pressure, + * to avoid unnecessary resource consumption. */ if (allocstall == curr_allocstall && swap != 0) __collapse_huge_page_swapin(mm, vma, address, pmd); |