[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.00.0910170154580.31277@chino.kir.corp.google.com>
Date: Sat, 17 Oct 2009 01:55:45 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Christoph Lameter <cl@...ux-foundation.org>
cc: Pekka Enberg <penberg@...helsinki.fi>, linux-kernel@...r.kernel.org
Subject: Re: [patch] slub: allow stats to be cleared
On Fri, 16 Oct 2009, Christoph Lameter wrote:
> > No, it just clears that particular statistic.
>
> Ahh. Yes I mis-scanned the loop there. Would it not be better to reset all
> counters using some trigger file? Its a bit difficult to reset them all
> with this patch.
>
Pekka seems willing to look at a patch that moves all statistic files to
/sys/kernel/slab/cache/stats, so it should make both collecting and now
clearing stats very easy without the addition of another file.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists