lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.00.0910161129320.21328@chino.kir.corp.google.com>
Date:	Fri, 16 Oct 2009 11:33:28 -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:

> 
> So writing to any file clears all counters? The documentation does not say
> so.
> 

No, it just clears that particular statistic.

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...
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ