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

From: Peter Zijlstra
Date: Thu Mar 29 2018 - 12:09:42 EST


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.