Re: [PATCH] mm/ksm: delete the redundant ksm_merging_pages interafce in proc

From: David Hildenbrand
Date: Wed Jun 28 2023 - 05:26:22 EST


On 28.06.23 05:12, xu xin wrote:
Message-ID: <20230627133542.2446285-1-sunnanyong@xxxxxxxxxx> (raw)

Since the ksm_merging_pages information already included in
/proc/<pid>/ksm_stat, we can delete /proc/<pid>/ksm_merging_pages to
make the directory more clean, and can save a little bit resources.

I think it's ok to remove it because this interface was not proposed for a long time.
I believe its users are not many yet. The earlier we delete it, the better.


Well ... it's been around since v5.19, which was released 1 year ago.

... not sure if the removal is worth the possible user space break.

--
Cheers,

David / dhildenb