There isn't any need to keep referring to update->cpu, as we've already
checked cpu == update->cpu at this point.
Signed-off-by: Nishanth Aravamudan <redacted>
We received a report of warning in kernel/sched/core.c where the sched
group was NULL on an LPAR after a topology update. This seems to occur
because after the topology update has moved the CPUs, cpu_to_node is
returning the old value still, which ends up breaking the consistency of
the NUMA topology in the per-cpu maps. Ensure that we update the per-cpu
fields when we re-map CPUs.
Signed-off-by: Nishanth Aravamudan <redacted>
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2014-10-21 04:36:28
On Sat, 2014-18-10 at 00:50:40 UTC, Nishanth Aravamudan wrote:
We received a report of warning in kernel/sched/core.c where the sched
group was NULL on an LPAR after a topology update. This seems to occur
because after the topology update has moved the CPUs, cpu_to_node is
returning the old value still, which ends up breaking the consistency of
the NUMA topology in the per-cpu maps. Ensure that we update the per-cpu
fields when we re-map CPUs.
This looks like a bug fix, I assume you want it to go in for 3.18 ?
cheers
Hi Michael,
On 21.10.2014 [15:36:27 +1100], Michael Ellerman wrote:
On Sat, 2014-18-10 at 00:50:40 UTC, Nishanth Aravamudan wrote:
quoted
We received a report of warning in kernel/sched/core.c where the sched
group was NULL on an LPAR after a topology update. This seems to occur
because after the topology update has moved the CPUs, cpu_to_node is
returning the old value still, which ends up breaking the consistency of
the NUMA topology in the per-cpu maps. Ensure that we update the per-cpu
fields when we re-map CPUs.
This looks like a bug fix, I assume you want it to go in for 3.18 ?