Re: [PATCH v2] proc: Use seq_read_iter for /proc/*/maps

From: Linus Torvalds
Date: Thu Apr 29 2021 - 12:36:50 EST


On Thu, Apr 29, 2021 at 3:04 AM Arkadiusz Kozdra (Arusekk)
<arek_koz@xxxxx> wrote:
>
> Since seq_read_iter looks mature enough to be used for /proc/<pid>/maps,
> re-allow applications to perform zero-copy data forwarding from it.

I'd really like to hear what the programs are, and what the
performance difference is.

Because I'm surprised that the advantages of splice would really be
noticeable. I don't _dispute_ it, but I really would like this to be
actually _documented_, not just "Some executable-inspecting tools".

What tools (so that if it causes issues later, we have that
knowledge), and what are the performance numbers?

Linus