From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Subject: Re: [PATCH 7/10] 9p: sysfs support for in-kenel servers Date: Sat, 3 Nov 2007 11:22:03 -0700 (PDT) Message-ID: References: <20071102170527.GH16063@ionkov.net> <20071103034812.GC16234@kroah.com> <1194085985.27652.409.camel@twins> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Greg KH , Latchesar Ionkov , v9fs-developer@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Peter Zijlstra Return-path: Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:48722 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756737AbXKCSWG (ORCPT ); Sat, 3 Nov 2007 14:22:06 -0400 In-Reply-To: <1194085985.27652.409.camel@twins> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sat, 3 Nov 2007, Peter Zijlstra wrote: > On Fri, 2007-11-02 at 20:48 -0700, Greg KH wrote: > > > Also, a sysfs file that causes an action to happen just by reading the > > file is not a safe thing to have. Lots of scripts have been known to > > just walk the whole sysfs tree and open and read everything they can for > > no real good reason. So you should seriously reconsider this kind of > > interaction. > > Christoph, doesn't SLUB do exactly that? SLUB gathers statistics and summaries and displays them on read.