All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@cs.helsinki.fi>
To: David Rientjes <rientjes@google.com>
Cc: Christoph Lameter <cl@linux-foundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [patch] slub: allow stats to be cleared
Date: Sat, 17 Oct 2009 10:23:51 +0300	[thread overview]
Message-ID: <4AD97107.6040001@cs.helsinki.fi> (raw)
In-Reply-To: <alpine.DEB.1.00.0910161129320.21328@chino.kir.corp.google.com>

Hi David,

David Rientjes wrote:
> On a semi-related topic, it would have been nice to isolate all statistic 
> files to its own directory: /sys/kernel/slab/kmalloc-256/stats/..., for 
> example.  It would have made collecting (and now clearing) all statistics 
> much easier since userspace wouldn't need a predefined list of stat file 
> names to scan.  I wonder if Pekka would allow them to be moved...

It's a non-production configuration option and the only known user of 
the ABI is in slabinfo.c so maybe we can just go ahead and do that. 
Alternatively, I think we can preserve the current ABI with symbolic 
links in sysfs?

			Pekka

  parent reply	other threads:[~2009-10-17  7:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15  9:20 [patch] slub: allow stats to be cleared David Rientjes
2009-10-15 19:53 ` Pekka Enberg
2009-10-16 16:50 ` Christoph Lameter
2009-10-16 18:33   ` David Rientjes
2009-10-16 18:49     ` Christoph Lameter
2009-10-17  1:27     ` Christoph Lameter
2009-10-17  8:55       ` David Rientjes
2009-10-17 20:41         ` Christoph Lameter
2009-10-20 21:41           ` David Rientjes
2009-10-21  6:44             ` Christoph Lameter
2009-10-17  7:23     ` Pekka Enberg [this message]
2009-10-17  8:54       ` David Rientjes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AD97107.6040001@cs.helsinki.fi \
    --to=penberg@cs.helsinki.fi \
    --cc=cl@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rientjes@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.