Re: support splice reads on seq_file based procfs files
From: Linus Torvalds
Date: Tue Nov 03 2020 - 14:07:52 EST
On Tue, Nov 3, 2020 at 11:02 AM Christoph Hellwig <hch@xxxxxx> wrote:
>
> > IOW, I'd start with just cpuinfo_proc_ops, proc_seq_ops,
> > proc_single_ops, and stat_proc_ops.
>
> I think Greg reported another test case hitting /proc/version
Yeah, that would be covered by that proc_single_ops case.
Those four cases should really handle all of the normal /proc seq ops.
Anything else is going to be something very special.
Linus