aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorLiu Ye <[email protected]>2025-03-18 06:32:26 +0000
committerAndrew Morton <[email protected]>2025-05-12 00:48:20 +0000
commita40b3fa844b4c29276a228ce878bd427a3149d37 (patch)
tree8fd485d25b19e45410b587b17dba737812bbda10 /mm/vmalloc.c
parentxarray: make xa_alloc_cyclic() return 0 on all success cases (diff)
downloadkernel-a40b3fa844b4c29276a228ce878bd427a3149d37.tar.gz
kernel-a40b3fa844b4c29276a228ce878bd427a3149d37.zip
fs/proc/page: refactor to reduce code duplication
kpageflags_read() and kpagecgroup_read() are quite similar to kpagecount_read(). Refactor common code into a helper function to reduce code duplication. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Liu Ye <[email protected]> Acked-by: David Hildenbrand <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Muchun Song <[email protected]> Cc: Ran Xiaokai <[email protected]> Cc: Roman Gushchin <[email protected]> Cc: Shakeel Butt <[email protected]> Cc: Svetly Todorov <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions