mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] x86/cacheinfo: Set the number of leaves per CPU
@ 2023-04-24  0:19 Ricardo Neri
  2023-04-24  0:19 ` [PATCH v2 1/2] x86/cacheinfo: Delete global num_cache_leaves Ricardo Neri
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ricardo Neri @ 2023-04-24  0:19 UTC (permalink / raw)
  To: x86
  Cc: Andreas Herrmann, Chen Yu, Len Brown, Pu Wen, Rafael J. Wysocki,
	Srinivas Pandruvada, Zhang Rui, Ricardo Neri, linux-kernel,
	Ricardo Neri

Hi,

This v2 of now a patchset to set the number of cache leaves independently
for each CPU. v1 can be found here [1].

These are the changes since v2:
  * Dave Hansen, suggested to use the existing per-CPU ci_cpu_cacheinfo
    variable. Now the global variable num_cache_leaves became useless.
  * While here, I noticed that init_cache_level() also became useless:
    x86 does not need ci_cpu_cacheinfo::num_levels.

These patches apply cleanly on top of the master branch of the tip tree.

Thanks and BR,
Ricardo


[1]. https://lore.kernel.org/lkml/20230314231658.30169-1-ricardo.neri-calderon@linux.intel.com/


Ricardo Neri (2):
  x86/cacheinfo: Delete global num_cache_leaves
  x86/cacheinfo: Clean out init_cache_level()

 arch/x86/kernel/cpu/cacheinfo.c | 50 ++++++++++++++++-----------------
 1 file changed, 25 insertions(+), 25 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-10 19:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-24  0:19 [PATCH v2 0/2] x86/cacheinfo: Set the number of leaves per CPU Ricardo Neri
2023-04-24  0:19 ` [PATCH v2 1/2] x86/cacheinfo: Delete global num_cache_leaves Ricardo Neri
2023-04-24  0:19 ` [PATCH v2 2/2] x86/cacheinfo: Clean out init_cache_level() Ricardo Neri
2023-05-10 19:20 ` [PATCH v2 0/2] x86/cacheinfo: Set the number of leaves per CPU Ricardo Neri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®