From: Andrew Morton <akpm@linux-foundation.org>
To: Nanyong Sun <sunnanyong@huawei.com>
Cc: <xu.xin16@zte.com.cn>, <wangkefeng.wang@huawei.com>,
<linux-kernel@vger.kernel.org>, <linux-mm@kvack.org>
Subject: Re: [PATCH] mm/ksm: delete the redundant ksm_merging_pages interafce in proc
Date: Tue, 27 Jun 2023 12:22:01 -0700 [thread overview]
Message-ID: <20230627122201.6e25819493823dfc7cca4741@linux-foundation.org> (raw)
In-Reply-To: <20230627133542.2446285-1-sunnanyong@huawei.com>
On Tue, 27 Jun 2023 21:35:42 +0800 Nanyong Sun <sunnanyong@huawei.com> wrote:
> 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.
Well, this is a non backward compatible change - any userspace
which depends on ksm_merging_pages will break.
Yes, we could remove this but it will be a lengthy process involving
emitting a "please use ksm_stat instead" message for a few
years before removal.
next prev parent reply other threads:[~2023-06-27 19:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-27 13:35 Nanyong Sun
2023-06-27 19:22 ` Andrew Morton [this message]
2023-06-28 2:44 ` Nanyong Sun
2023-06-28 3:12 ` xu xin
2023-06-28 9:07 ` David Hildenbrand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230627122201.6e25819493823dfc7cca4741@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=sunnanyong@huawei.com \
--cc=wangkefeng.wang@huawei.com \
--cc=xu.xin16@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®