Re: [PATCH] Use MPOL_INTERLEAVE for tmpfs files

From: Andi Kleen
Date: Tue Nov 02 2004 - 05:01:39 EST


> And now, for your viewing pleasure...

Patch is fine except that I would add a sysctl to enable/disable this.

I can see that some people would like to not have interleave policy
(e.g. when you use tmpfs as a large memory extender on 32bit NUMA
then you probably want local affinity)

Best if you name it /proc/sys/vm/numa-tmpfs-rr

Default can be set to one for now.

-Andi
-
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/