lkml.org 
[lkml]   [2009]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2009-10-17 10:59    [W:0.071 / U:0.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site