Re: [PATCH 1/2] Zone reclaim V2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux