Re: [PATCH 5/5] powerpc/smp: Add Power9 scheduler topology

2017-03-15 Thread Michael Ellerman
Balbir Singh writes: > On 02/03/17 11:49, Oliver O'Halloran wrote: >> In previous generations of Power processors each core had a private L2 >> cache. The Power9 processor has a slightly different architecture where >> the L2 cache is shared among pairs of cores rather than being completely >> pr

Re: [PATCH 5/5] powerpc/smp: Add Power9 scheduler topology

2017-03-15 Thread Michael Ellerman
Oliver O'Halloran writes: > diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c > index 5571f30ff72d..5e1811b24415 100644 > --- a/arch/powerpc/kernel/smp.c > +++ b/arch/powerpc/kernel/smp.c > @@ -724,10 +724,17 @@ static void update_cpu_masks(int cpu, bool onlining) > > upd

Re: [PATCH 5/5] powerpc/smp: Add Power9 scheduler topology

2017-03-02 Thread Balbir Singh
On 02/03/17 11:49, Oliver O'Halloran wrote: > In previous generations of Power processors each core had a private L2 > cache. The Power9 processor has a slightly different architecture where > the L2 cache is shared among pairs of cores rather than being completely > private. > > Making the sche

[PATCH 5/5] powerpc/smp: Add Power9 scheduler topology

2017-03-01 Thread Oliver O'Halloran
In previous generations of Power processors each core had a private L2 cache. The Power9 processor has a slightly different architecture where the L2 cache is shared among pairs of cores rather than being completely private. Making the scheduler aware of this cache sharing allows the scheduler to