aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2024-10-25 16:14:52 +0200
committerHeiko Carstens <[email protected]>2024-11-07 10:26:25 +0100
commit6e55421ea54ceec039a7fd67d47df413f1e4211b (patch)
treeaba82d40af5a898e041d6c18e910baca78b44ee9 /tools/perf/scripts/python/task-analyzer.py
parente3a6970b7daf2db31571da86681f7d1efaa7bd9a (diff)
s390/sparsemem: Provide memory_add_physaddr_to_nid() with CONFIG_NUMA
virtio-mem uses memory_add_physaddr_to_nid() to determine the NID to use for memory it adds. We currently fallback to the dummy implementation in mm/numa.c with CONFIG_NUMA, which will end up triggering an undesired pr_info_once(): Unknown online node for memory at 0x100000000, assuming node 0 On s390, we map all cpus and memory to node 0, so let's add a simple memory_add_physaddr_to_nid() implementation that does exactly that, but without complaining. Signed-off-by: David Hildenbrand <[email protected]> Reviewed-by: Heiko Carstens <[email protected]> Tested-by: Sumanth Korikkar <[email protected]> Acked-by: Christian Borntraeger <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions