lkml.org 
[lkml]   [2020]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: support splice reads on seq_file based procfs files
On Tue, Nov 3, 2020 at 10:48 AM Christoph Hellwig <hch@lst.de> wrote:
>
> ping?

It looked fine by me, although honestly, I'd prefer that last patch to
be the minimum possible if we want this for 5.10.

Yeah, that might technically be just cpuinfo, but I'd be ok with the
other read-only core proc files (ie I would *not* add it to anything
that has a .proc_write operation like the ones in proc_net.c).

IOW, I'd start with just cpuinfo_proc_ops, proc_seq_ops,
proc_single_ops, and stat_proc_ops.

Because honestly, I'd rather restrict splice() as much as possible
than try to say "everything should be able to do splice".

Hmm?

Linus

\
 
 \ /
  Last update: 2020-11-03 19:58    [W:0.132 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site