Thread (15 messages) 15 messages, 5 authors, 2019-05-16

Re: [PATCH RFC 0/5] mm/ksm, proc: introduce remote madvise

flat view

From: Alexey Dobriyan <hidden>
Date: 2019-05-16 17:24:59
Also in: linux-mm, lkml

On Thu, May 16, 2019 at 11:42:29AM +0200, Oleksandr Natalenko wrote:
* to mark all the eligible VMAs as mergeable, use:

   # echo merge > /proc/<pid>/madvise

* to unmerge all the VMAs, use:

   # echo unmerge > /proc/<pid>/madvise
Please make a real system call (or abuse prctl(2) passing target's pid).

Your example automerge daemon could just call it and not bother with /proc.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help