aboutsummaryrefslogtreecommitdiffstats
path: root/mm/debug_vm_pgtable.c
diff options
context:
space:
mode:
authorVishal Moola (Oracle) <[email protected]>2023-10-20 18:33:31 +0000
committerAndrew Morton <[email protected]>2023-10-25 23:47:14 +0000
commit98b32d296d95d7aa0516c36b72406277412268cd (patch)
tree30bf5c812ab30e32979c9c134979a64529be4c14 /mm/debug_vm_pgtable.c
parentmm/khugepaged: convert alloc_charge_hpage() to use folios (diff)
downloadkernel-98b32d296d95d7aa0516c36b72406277412268cd.tar.gz
kernel-98b32d296d95d7aa0516c36b72406277412268cd.zip
mm/khugepaged: convert collapse_pte_mapped_thp() to use folios
This removes 2 calls to compound_head() and helps convert khugepaged to use folios throughout. Previously, if the address passed to collapse_pte_mapped_thp() corresponded to a tail page, the scan would fail immediately. Using filemap_lock_folio() we get the corresponding folio back and try to operate on the folio instead. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Vishal Moola (Oracle) <[email protected]> Reviewed-by: Rik van Riel <[email protected]> Reviewed-by: Yang Shi <[email protected]> Cc: Kefeng Wang <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/debug_vm_pgtable.c')
0 files changed, 0 insertions, 0 deletions