diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2016-05-11 09:51:55 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2016-05-13 13:24:40 +1000 |
commit | 5a5e0bcf4348fdfea6f23a4aa9bcafc7242c68f6 (patch) | |
tree | 42c5710774750966dd9a6e942c10a8f12f99c9ff /mm | |
parent | d7c1aa6d5de4e1ad0fddeb10dc2ceccc79f2e229 (diff) |
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>
Diffstat (limited to 'mm')
-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 ce59a61536c1..fc51139a622e 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -2483,8 +2483,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); |