Message ID | 20190516094234.9116-1-oleksandr@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | mm/ksm, proc: introduce remote madvise | expand |
On Thu 16-05-19 11:42:29, 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 do not open a new thread until a previous one reaches some conclusion. I have outlined some ways to go forward in http://lkml.kernel.org/r/20190515145151.GG16651@dhcp22.suse.cz. I haven't heard any feedback on that, yet you open a 3rd way in a different thread. This will not help to move on with the discussion. Please follow up on that thread.
Hi. On Thu, May 16, 2019 at 12:44:12PM +0200, Michal Hocko wrote: > On Thu 16-05-19 11:42:29, 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 do not open a new thread until a previous one reaches some > conclusion. I have outlined some ways to go forward in > http://lkml.kernel.org/r/20190515145151.GG16651@dhcp22.suse.cz. > I haven't heard any feedback on that, yet you open a 3rd way in a > different thread. This will not help to move on with the discussion. > > Please follow up on that thread. Sure, I will follow the thread once and if there are responses. Consider this one to be an intermediate summary of current suggestions and also an indication that it is better to have the code early for public eyes. Thank you. > -- > Michal Hocko > SUSE Labs
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.