Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758063AbXKCSW1 (ORCPT ); Sat, 3 Nov 2007 14:22:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757551AbXKCSWI (ORCPT ); Sat, 3 Nov 2007 14:22:08 -0400 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 Date: Sat, 3 Nov 2007 11:22:03 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Peter Zijlstra cc: Greg KH , Latchesar Ionkov , v9fs-developer@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 7/10] 9p: sysfs support for in-kenel servers In-Reply-To: <1194085985.27652.409.camel@twins> 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 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 772 Lines: 19 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/