lkml.org 
[lkml]   [2014]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kernfs: use stack-buf for small writes.
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


\
 
 \ /
  Last update: 2014-09-23 07:01    [W:0.179 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site