Re: [PATCH 7/10] 9p: sysfs support for in-kenel servers

From: Christoph Lameter
Date: Sat Nov 03 2007 - 14:22:29 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/