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

Glauber Costa glommer at parallels.com
Thu Jul 26 07:02:45 PDT 2012


On 07/25/2012 10:33 PM, Christoph Lameter wrote:
> 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.
> 

Christoph, would the following PoC patch be enough?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-slub-propagation.patch
Type: text/x-patch
Size: 1190 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/devel/attachments/20120726/9950f565/attachment-0001.bin>


More information about the Devel mailing list