aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2020-11-11 15:53:17 +0100
committerMichael Ellerman <[email protected]>2020-11-19 16:56:58 +1100
commit4abb1e5b63ac3281275315fc6b0cde0b9c2e2e42 (patch)
tree1882235d135680c61cabf4a8bcc56fd6d640aac8 /tools/perf/scripts/python
parentd6718941a2767fb383e105d257d2105fe4f15f0e (diff)
powerpc/mm: factor out creating/removing linear mapping
We want to stop abusing memory hotplug infrastructure in memtrace code to perform allocations and remove the linear mapping. Instead we will use alloc_contig_pages() and remove the linear mapping manually. Let's factor out creating/removing the linear mapping into arch_create_linear_mapping() / arch_remove_linear_mapping() - so in the future, we might be able to have whole arch_add_memory() / arch_remove_memory() be implemented in common code. Signed-off-by: David Hildenbrand <[email protected]> Reviewed-by: Oscar Salvador <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions