aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorAlexander Zhu <[email protected]>2024-08-30 10:03:37 +0000
committerAndrew Morton <[email protected]>2024-09-09 23:39:03 +0000
commit391e86971161906e720f5d3c110ca9124c14fb55 (patch)
tree96c9df8daa62ca2fd7de6c476e0a04b66037704d /mm/vmalloc.c
parentmm: remap unused subpages to shared zeropage when splitting isolated thp (diff)
downloadkernel-391e86971161906e720f5d3c110ca9124c14fb55.tar.gz
kernel-391e86971161906e720f5d3c110ca9124c14fb55.zip
mm: selftest to verify zero-filled pages are mapped to zeropage
When a THP is split, any subpage that is zero-filled will be mapped to the shared zeropage, hence saving memory. Add selftest to verify this by allocating zero-filled THP and comparing RssAnon before and after split. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Alexander Zhu <[email protected]> Signed-off-by: Usama Arif <[email protected]> Acked-by: Rik van Riel <[email protected]> Cc: Barry Song <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Domenico Cerasuolo <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Kairui Song <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Mike Rapoport <[email protected]> Cc: Nico Pache <[email protected]> Cc: Roman Gushchin <[email protected]> Cc: Ryan Roberts <[email protected]> Cc: Shakeel Butt <[email protected]> Cc: Shuang Zhai <[email protected]> Cc: Yu Zhao <[email protected]> Cc: Shuang Zhai <[email protected]> Cc: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions