From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [PATCH 05/10] slab: allow enable_cpu_cache to use preset values for its tunables Date: Wed, 25 Jul 2012 22:24:57 +0400 Message-ID: <501039F9.7040309@parallels.com> References: <1343227101-14217-1-git-send-email-glommer@parallels.com> <1343227101-14217-6-git-send-email-glommer@parallels.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Christoph Lameter Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Andrew Morton , David Rientjes , Pekka Enberg , Greg Thelen , Johannes Weiner , Michal Hocko , Frederic Weisbecker , devel-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Pekka Enberg , Kamezawa Hiroyuki , Suleiman Souhlal On 07/25/2012 09:05 PM, Christoph Lameter wrote: > On Wed, 25 Jul 2012, Glauber Costa wrote: > >> SLAB allows us to tune a particular cache behavior with tunables. >> When creating a new memcg cache copy, we'd like to preserve any tunables >> the parent cache already had. > > So does SLUB but I do not see a patch for that allocator. > 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? In any case, are you happy with the SLAB one, and how they are propagated?