[Devel] Re: [PATCH 05/10] slab: allow enable_cpu_cache to use preset values for its tunables

Christoph Lameter cl at linux.com
Wed Jul 25 11:33:16 PDT 2012


On Wed, 25 Jul 2012, Glauber Costa wrote:

> It is certainly not through does the same method as SLAB, right ?
> Writing to /proc/slabinfo gives me an I/O error
> I assume it is something through sysfs, but schiming through the code
> now, I can't find any per-cache tunables. Would you mind pointing me to
> them?

The slab attributes in /sys/kernel/slab/<slabname>/<attr> can be modified
for some values. I think that could be the default method for the future
since it allows easy addition of new tunables as needed.




More information about the Devel mailing list