Re: [fs/pipe] 5a519c8fe4: WARNING:at_mm/page_alloc.c:#__alloc_pages
From: Linus Torvalds
Date: Thu Apr 21 2022 - 12:32:15 EST
On Thu, Apr 21, 2022 at 8:35 AM Andrei Vagin <avagin@xxxxxxxxx> wrote:
>
> The operation of injecting/curing parasite code from the
> process is expensive and requires freezing a process. This is why we
> want to maximize the load that we can carry on for each iteration.
Honestly, it sounds like what you want is just process_vm_readv().
The pipe part sounds like a horrible hacky thing.
I also assume you already tried that, and hit some performance issues.
But it does sound like the better interface, more directly what you
want.
So what are the problems with using process_vm_readv?
Linus