[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.00.0910201439200.539@chino.kir.corp.google.com>
Date: Tue, 20 Oct 2009 14:41:26 -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 Sat, 17 Oct 2009, Christoph Lameter wrote:
> I'd also like to be able to just do a single echo
> to clear the all stats instead of everyone trying to improvise something
> to touch all files. Its highly unlikely that one only wants to zero
> individual counters. One way to reset them all would suffice.
>
Ok, once the stat files are moved to their own directory, I'll make a note
to add a writable `clear' file that will do
for (i = 0; i < NR_SLUB_STAT_ITEMS; i++)
clear_stat(s, i);
--
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