]> git.baikalelectronics.ru Git - kernel.git/commit
topology: Create core_cpus and die_cpus sysfs attributes
authorLen Brown <len.brown@intel.com>
Mon, 13 May 2019 17:58:56 +0000 (13:58 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 23 May 2019 08:08:34 +0000 (10:08 +0200)
commit976fdcb0738b99e1d4dc0ed7b64c19bb9508accf
tree21c10b11e98d2d5b13096de21fb339590baab13e
parentc964bfc5f223dfaf46180b0f4a0ac6dc667ad12a
topology: Create core_cpus and die_cpus sysfs attributes

Create CPU topology sysfs attributes: "core_cpus" and "core_cpus_list"

These attributes represent all of the logical CPUs that share the
same core.

These attriutes is synonymous with the existing "thread_siblings" and
"thread_siblings_list" attribute, which will be deprecated.

Create CPU topology sysfs attributes: "die_cpus" and "die_cpus_list".
These attributes represent all of the logical CPUs that share the
same die.

Suggested-by: Brice Goglin <Brice.Goglin@inria.fr>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/071c23a298cd27ede6ed0b6460cae190d193364f.1557769318.git.len.brown@intel.com
Documentation/cputopology.txt
arch/x86/include/asm/smp.h
arch/x86/include/asm/topology.h
arch/x86/kernel/smpboot.c
arch/x86/xen/smp_pv.c
drivers/base/topology.c
include/linux/topology.h