Messages in this thread | | | Date | Wed, 23 Dec 2020 08:57:12 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH 1/2] mm/madvise: allow process_madvise operations on entire memory range |
| |
On Tue, Dec 22, 2020 at 09:48:43AM -0800, Suren Baghdasaryan wrote: > Thanks for the feedback! The use case is userspace memory reaping > similar to oom-reaper. Detailed justification is here: > https://lore.kernel.org/linux-mm/20201124053943.1684874-1-surenb@google.com
Given that this new variant of process_madvise
a) does not work on an address range b) is destructive c) doesn't share much code at all with the rest of process_madvise
Why not add a proper separate syscall?
| |