[PATCH] powerpc/mm: Drop dump_numa_memory_topology()

Michael Ellerman mpe at ellerman.id.au
Fri Oct 14 11:37:08 AEDT 2016


Balbir Singh <bsingharora at gmail.com> writes:

> On 13/10/16 16:27, Michael Ellerman wrote:
>> At boot we dump the NUMA memory topology in dump_numa_memory_topology(),
>> at KERN_DEBUG level, resulting in output like:
>> 
>>   Node 0 Memory: 0x0-0x100000000
>>   Node 1 Memory: 0x100000000-0x200000000
>> 
>> Which is nice enough, but immediately after that we iterate over each
>> node and call setup_node_data(), which also prints out the node ranges,
>> at KERN_INFO, giving eg:
>> 
>>   numa: Initmem setup node 0 [mem 0x00000000-0xffffffff]
>>   numa: Initmem setup node 1 [mem 0x100000000-0x1ffffffff]
>> 
>> So drop dump_numa_memory_topology() as superfluous chatter.
>> 
>> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
>> ---
>
> Actually the ranges for the lower output seem a little better
> (inclusive), the output on top is not clear

I think everyone knows what it means but it's not entirely precise, so
yeah the inclusive range is better.

cheers


More information about the Linuxppc-dev mailing list