Re: [patch] CFS scheduler, v3

From: Christoph Lameter
Date: Fri Apr 20 2007 - 15:33:38 EST


On Fri, 20 Apr 2007, William Lee Irwin III wrote:

> On Wed, 18 Apr 2007, William Lee Irwin III wrote:
> >>
> >> Mark the runqueues ____cacheline_aligned_in_smp to avoid false sharing.
>
> On Fri, Apr 20, 2007 at 12:24:17PM -0700, Christoph Lameter wrote:
> > False sharing for a per cpu data structure? Are we updating that
> > structure from other processors?
>
> Primarily in the load balancer, but also in wakeups.

That is fairly rare I think. What other variables that are also writtten
frequently would cause false sharing?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/