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: Thu, 15 Oct 2009 22:53:17 +0300 [thread overview]
Message-ID: <4AD77DAD.4070004@cs.helsinki.fi> (raw)
In-Reply-To: <alpine.DEB.1.00.0910150215320.1551@chino.kir.corp.google.com>
David Rientjes wrote:
> When collecting slub stats for particular workloads, it's necessary to
> collect each statistic for all caches before the job is even started
> because the counters are usually greater than zero just from boot and
> initialization.
>
> This allows a statistic to be cleared on each cpu by writing '0' to its
> sysfs file. This creates a baseline for statistics of interest before
> the workload is started.
>
> Setting a statistic to a particular value is not supported, so all values
> written to these files other than '0' returns -EINVAL.
>
> Cc: Christoph Lameter <cl@linux-foundation.org>
> Signed-off-by: David Rientjes <rientjes@google.com>
Applied, thanks!
next prev parent reply other threads:[~2009-10-15 19:54 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 [this message]
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
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=4AD77DAD.4070004@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.