Thread (20 messages) read the whole thread 20 messages, 6 authors, 2020-12-23

Re: [PATCH 1/2] mm/madvise: allow process_madvise operations on entire memory range

From: Christoph Hellwig <hch@lst.de>
Date: 2020-12-23 07:58:13
Also in: linux-mm, lkml

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 (local)
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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help