| Date | Thu, 23 Feb 2012 17:21:11 +0100 | From | Andi Kleen <> | Subject | Re: [PATCH v3 21/21] mm: zone lru vectors interleaving |
| |
> +config PAGE_LRU_SPLIT > + int "Memory lru lists per zone" > + default 4 if EXPERIMENTAL && SPARSEMEM_VMEMMAP > + default 1 > + help > + The number of lru lists in each memory zone for interleaving. > + Allows to redeuce lru_lock contention, but adds some overhead. > + Without SPARSEMEM_VMEMMAP might be costly. "1" means no split.
Could you turn those two numbers into a boot option? Compile time parameters are nasty to use.
I suppose it's ok to have an upper limit.
> + > +config PAGE_LRU_INTERLEAVING > + int "Memory lru lists interleaving page-order" > + default 12 > + help > + Page order for lru lists interleaving. By default 12 (16Mb). > + Must be greater than huge-page order. > + With CONFIG_PAGE_LRU_SPLIT=1 has no effect.
-Andi
|