aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorYang Shi <yang.shi@linux.alibaba.com>2018-08-17 15:45:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-17 16:20:28 -0700
commit87aa752906ecf69842ef5ac1d0677aa75a4e0aac (patch)
treeb51124e7e0b07ca04007725bf594a1ae11176f0c /fs
parentmm: thp: register mm for khugepaged when merging vma for shmem (diff)
downloadlinux-dev-87aa752906ecf69842ef5ac1d0677aa75a4e0aac.tar.xz
linux-dev-87aa752906ecf69842ef5ac1d0677aa75a4e0aac.zip
mm: thp: inc counter for collapsed shmem THP
/sys/kernel/mm/transparent_hugepage/khugepaged/pages_collapsed is used to record the counter of collapsed THP, but it just gets inc'ed in anonymous THP collapse path, do this for shmem THP collapse too. Link: http://lkml.kernel.org/r/1529622949-75504-2-git-send-email-yang.shi@linux.alibaba.com Signed-off-by: Yang Shi <yang.shi@linux.alibaba.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Hugh Dickins <hughd@google.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 'fs')
0 files changed, 0 insertions, 0 deletions