]> Git Repo - linux.git/commit
khugepaged: allow to collapse PTE-mapped compound pages
authorKirill A. Shutemov <[email protected]>
Wed, 3 Jun 2020 23:00:23 +0000 (16:00 -0700)
committerLinus Torvalds <[email protected]>
Thu, 4 Jun 2020 03:09:46 +0000 (20:09 -0700)
commit5503fbf2b0b80c1a47a7dca0e4f060f52f522cfd
tree5a7404db21e726c106a2ed5d2a9afa412dfd183d
parent9445689f3b6170c6145a8772eee692482199cdd6
khugepaged: allow to collapse PTE-mapped compound pages

We can collapse PTE-mapped compound pages.  We only need to avoid handling
them more than once: lock/unlock page only once if it's present in the PMD
range multiple times as it handled on compound level.  The same goes for
LRU isolation and putback.

Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Tested-by: Zi Yan <[email protected]>
Reviewed-by: William Kucharski <[email protected]>
Reviewed-by: Zi Yan <[email protected]>
Acked-by: Yang Shi <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Ralph Campbell <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
mm/khugepaged.c
This page took 0.054669 seconds and 4 git commands to generate.