Re: [PATCH RFC v2 3/4] mm/ksm: introduce force_madvise knob

2019-05-14 Thread Timofey Titovets
LGTM Reviewed-by: Timofey Titovets вт, 14 мая 2019 г. в 16:22, Aaron Tomlin : > > On Tue 2019-05-14 15:16 +0200, Oleksandr Natalenko wrote: > > Present a new sysfs knob to mark task's anonymous memory as mergeable. > > > > To force merging task's VMAs, its PID is echoed in a write-only file: > >

Re: [PATCH RFC v2 3/4] mm/ksm: introduce force_madvise knob

2019-05-14 Thread Aaron Tomlin
On Tue 2019-05-14 15:16 +0200, Oleksandr Natalenko wrote: > Present a new sysfs knob to mark task's anonymous memory as mergeable. > > To force merging task's VMAs, its PID is echoed in a write-only file: > ># echo PID > /sys/kernel/mm/ksm/force_madvise > > Force unmerging is done similarly,

[PATCH RFC v2 3/4] mm/ksm: introduce force_madvise knob

2019-05-14 Thread Oleksandr Natalenko
Present a new sysfs knob to mark task's anonymous memory as mergeable. To force merging task's VMAs, its PID is echoed in a write-only file: # echo PID > /sys/kernel/mm/ksm/force_madvise Force unmerging is done similarly, but with "minus" sign: # echo -PID > /sys/kernel/mm/ksm/force_madvi