lkml.org 
[lkml]   [2014]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86,cpu-hotplug: clear llc_shared_mask at CPU hotplug
On Thu, Jul 03, 2014 at 01:52:52PM +0900, Yasuaki Ishimatsu wrote:
> I think that the reason to apply CPU number to ACPI ID is that CPU is
> used for the application without considering physical CPU. So even if
> CPU number is changed, it is no matter.

I don't think I understand what you're saying here...

> Thus the readded cores is numbered to unused CPU number.

Well, maybe we should use some method to number cores in a stable manner
so that they don't get new numbers when they reappear.

> I think the mask has 2 meanings as follows:
> - representing CPUs that share same CPU cache.

... that share the last level cache.

> - representing onlined CPUs

no, for that we have cpu_online_mask.

> So even if we keep their old numbers, we should clear the mask when
> offlinig CPU.

No, cpu_online_mask is for onlined cores. I think the mask which shows
which cores share a last level cache should not be changed *IF* the core
numbers remain stable, that is.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--


\
 
 \ /
  Last update: 2014-07-03 12:41    [W:0.083 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site