Re: [PATCH RFC v2 0/4] mm/ksm: add option to automerge VMAs

From: Greg KH
Date: Wed May 15 2019 - 11:17:54 EST


On Wed, May 15, 2019 at 04:51:51PM +0200, Michal Hocko wrote:
> [Cc Suren and Minchan - the email thread starts here 20190514131654.25463-1-oleksandr@xxxxxxxxxx]
>
> On Wed 15-05-19 08:53:11, Michal Hocko wrote:
> [...]
> > I will try to comment on the interface itself later. But I have to say
> > that I am not impressed. Abusing sysfs for per process features is quite
> > gross to be honest.
>
> I have already commented on this in other email. I consider sysfs an
> unsuitable interface for per-process API.

Wait, what? A new sysfs file/directory per process? That's crazy, no
one must have benchmarked it :)

And I agree, sysfs is not for that, please don't abuse it. Proc is for
process apis.

thanks,

greg k-h