Re: [PATCH 1/2] Zone reclaim V2

From: Christoph Lameter
Date: Tue Dec 06 2005 - 13:01:49 EST


On Tue, 6 Dec 2005, Andi Kleen wrote:

> > An arch can control zone_reclaim by setting zone_reclaim_mode during bootup
> > if it is discovered that the kernel is running on an NUMA configuration.
>
> Looks much better. Thanks. But how about auto controlling the variable in generic
> code based on node_distance() (at least for the non node hotplug case)

Any suggestions on how to determine zone reclaim behavior based on node
distances? AFAIK the main aspects in this are latency and bandwidth of
remote accesses. These vary depending on the distance of the remote node
under consideration.

> > +int zone_reclaim_mode;
>
> I would mark it __read_mostly to avoid potential false sharing.

Ok.
-
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/