aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorBaolin Wang <[email protected]>2024-08-12 07:42:03 +0000
committerAndrew Morton <[email protected]>2024-09-04 04:15:33 +0000
commit50f381eccefda0cdaf7aa617587dc04cb6652085 (patch)
tree42838b59030bf25d781623413e34501e9593c1ed /mm/filemap.c
parentmm: swap: extend swap_shmem_alloc() to support batch SWAP_MAP_SHMEM flag setting (diff)
downloadkernel-50f381eccefda0cdaf7aa617587dc04cb6652085.tar.gz
kernel-50f381eccefda0cdaf7aa617587dc04cb6652085.zip
mm: shmem: extend shmem_partial_swap_usage() to support large folio swap
To support shmem large folio swapout in the following patches, using xa_get_order() to get the order of the swap entry to calculate the swap usage of shmem. Link: https://lkml.kernel.org/r/60b130b9fc3e422bb91293a172c2113c85e9233a.1723434324.git.baolin.wang@linux.alibaba.com Signed-off-by: Baolin Wang <[email protected]> Cc: Barry Song <[email protected]> Cc: Chris Li <[email protected]> Cc: Daniel Gomez <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: "Huang, Ying" <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Kefeng Wang <[email protected]> Cc: Lance Yang <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Pankaj Raghav <[email protected]> Cc: Ryan Roberts <[email protected]> Cc: Yang Shi <[email protected]> Cc: Zi Yan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions