On 10/07/2013 06:29 AM, Mel Gorman wrote: > From: Peter Zijlstra <pet...@infradead.org> > > While parallel applications tend to align their data on the cache > boundary, they tend not to align on the page or THP boundary. > Consequently tasks that partition their data can still "false-share" > pages presenting a problem for optimal NUMA placement. > > This patch uses NUMA hinting faults to chain tasks together into > numa_groups. As well as storing the NID a task was running on when > accessing a page a truncated representation of the faulting PID is > stored. If subsequent faults are from different PIDs it is reasonable > to assume that those two tasks share a page and are candidates for > being grouped together. Note that this patch makes no scheduling > decisions based on the grouping information. > > Signed-off-by: Peter Zijlstra <pet...@infradead.org> > Signed-off-by: Mel Gorman <mgor...@suse.de>
Reviewed-by: Rik van Riel <r...@redhat.com> -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/