aboutsummaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2021-05-05 01:39:39 +0000
committerLinus Torvalds <[email protected]>2021-05-05 18:27:26 +0000
commitf9901144e48f6a7ba186249add705d10e74738ec (patch)
tree3565009b50c78a0a5c3336655f4e130c6261913d /mm/sparse.c
parentmm,memory_hotplug: relax fully spanned sections check (diff)
downloadkernel-f9901144e48f6a7ba186249add705d10e74738ec.tar.gz
kernel-f9901144e48f6a7ba186249add705d10e74738ec.zip
mm,memory_hotplug: factor out adjusting present pages into adjust_present_page_count()
Let's have a single place (inspired by adjust_managed_page_count()) where we adjust present pages. In contrast to adjust_managed_page_count(), only memory onlining or offlining is allowed to modify the number of present pages. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Hildenbrand <[email protected]> Signed-off-by: Oscar Salvador <[email protected]> Acked-by: Michal Hocko <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: Pavel Tatashin <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions