• Tejun Heo's avatar
    x86-64, NUMA: Introduce struct numa_meminfo · 97e7b78d
    Tejun Heo authored
    Arrays for memblks and nodeids and their length lived in separate
    variables making things unnecessarily cumbersome.  Introduce struct
    numa_meminfo which contains all memory configuration info.  This patch
    doesn't cause any behavior change.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Cc: Brian Gerst <brgerst@gmail.com>
    Cc: Cyrill Gorcunov <gorcunov@gmail.com>
    Cc: Shaohui Zheng <shaohui.zheng@intel.com>
    Cc: David Rientjes <rientjes@google.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: H. Peter Anvin <hpa@linux.intel.com>
    97e7b78d
numa_64.c 24.1 KB