From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx141.postini.com [74.125.245.141]) by kanga.kvack.org (Postfix) with SMTP id 922FB6B004D for ; Thu, 26 Jul 2012 10:05:42 -0400 (EDT) Message-ID: <50114E05.1040201@parallels.com> Date: Thu, 26 Jul 2012 18:02:45 +0400 From: Glauber Costa MIME-Version: 1.0 Subject: Re: [PATCH 05/10] slab: allow enable_cpu_cache to use preset values for its tunables References: <1343227101-14217-1-git-send-email-glommer@parallels.com> <1343227101-14217-6-git-send-email-glommer@parallels.com> <501039F9.7040309@parallels.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------010800000600070305040105" Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , David Rientjes , Pekka Enberg , Greg Thelen , Johannes Weiner , Michal Hocko , Frederic Weisbecker , devel@openvz.org, cgroups@vger.kernel.org, Pekka Enberg , Kamezawa Hiroyuki , Suleiman Souhlal --------------010800000600070305040105 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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// 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? --------------010800000600070305040105 Content-Type: text/x-patch; name="0001-slub-propagation.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-slub-propagation.patch" --------------010800000600070305040105--