diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2016-03-25 21:22:20 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-25 23:37:42 (GMT) |
commit | 0fda2788b03c1868e2f20b3b7995b8cc2adf4715 (patch) | |
tree | 3993e1854919a9741d7aa793af8ac4e258c3c2d6 /mm/huge_memory.c | |
parent | 0ba1d91df93b33ea2c29390881f0ba13574f1a01 (diff) | |
download | linux-0fda2788b03c1868e2f20b3b7995b8cc2adf4715.tar.xz |
thp: fix typo in khugepaged_scan_pmd()
!PageLRU should lead to SCAN_PAGE_LRU, not SCAN_SCAN_ABORT result.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
-rw-r--r-- | mm/huge_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index fbfb1b8..86f9f8b 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -2578,7 +2578,7 @@ static int khugepaged_scan_pmd(struct mm_struct *mm, } khugepaged_node_load[node]++; if (!PageLRU(page)) { - result = SCAN_SCAN_ABORT; + result = SCAN_PAGE_LRU; goto out_unmap; } if (PageLocked(page)) { |