[PATCH] powerpc: VPHN topology change updates all siblings

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Jul 24 14:46:15 EST 2013


On Tue, 2013-07-23 at 07:33 -0500, Robert Jennings wrote:
> When an associativity level change is found for one thread, the
> siblings threads need to be updated as well.  This is done today
> for PRRN in stage_topology_update() but is missing for VPHN in
> update_cpu_associativity_changes_mask().
> 
> All threads should be updated to move to the new node.  Without this
> patch, a single thread may be flagged for a topology change, leaving it
> in a different node from its siblings, which is incorrect.  This causes
> problems for the scheduler where overlapping scheduler groups are created
> and a loop is formed in those groups.
> 
> Reported-by: Jan Stancek <jstancek at redhat.com>
> Signed-off-by: Robert Jennings <rcj at linux.vnet.ibm.com>
> Cc: <stable at vger.kernel.org>

Patch breaks the UP build ...

Cheers,
Ben.




More information about the Linuxppc-dev mailing list