diff options
| author | Aneesh Kumar K.V <[email protected]> | 2023-08-08 14:45:01 +0530 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-21 13:37:49 -0700 |
| commit | 1a8c64e110435e44e71bcd50a75663174b575f22 (patch) | |
| tree | 374c0671df09f80c8f19eb362d36916ca35dba88 /tools/perf/scripts/python | |
| parent | 603fd64dfa45d1e9df996911e4010f2b00731387 (diff) | |
mm/memory_hotplug: embed vmem_altmap details in memory block
With memmap on memory, some architecture needs more details w.r.t altmap
such as base_pfn, end_pfn, etc to unmap vmemmap memory. Instead of
computing them again when we remove a memory block, embed vmem_altmap
details in struct memory_block if we are using memmap on memory block
feature.
[[email protected]: fix error return code in add_memory_resource()]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Vishal Verma <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions