Re: [PATCH v3] x86,sched: allow topologies where NUMA nodes share an LLC

From: Dave Hansen
Date: Thu Mar 29 2018 - 12:25:26 EST


On 03/29/2018 09:09 AM, Peter Zijlstra wrote:
> On Thu, Mar 29, 2018 at 07:34:58AM -0700, Dave Hansen wrote:
>> What should we say, though?
>>
>> /*
>> * false means 'c' does not share the LLC of 'o'.
>> * Note: this decision gets reflected all the way
>> * out to userspace
>> */
>> return false;
> That works, I suppose. You might want to put in a refernce to wherever
> it is you shrink llc-size such that cache-per-cpu remains invariant.

Hmm, if we shrink llc-size by splitting it, do we also need to create a
unique "id" for each slice?