Re: [PATCH] kernfs: use stack-buf for small writes.
From: Tejun Heo
Date: Tue Sep 23 2014 - 00:18:28 EST
On Tue, Sep 23, 2014 at 02:06:33PM +1000, NeilBrown wrote:
...
> Note that reads from a sysfs file are already safe due to the use for
> seqfile. The first read will allocate a buffer (m->buf) which will
> be used for all subsequent reads.
Hmmm? How is seqfile safe? Where would the seq op write to?
Thanks.
--
tejun
--
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/