From: Qian Cai <cai@lca.pw>
To: Wei Yang <richardw.yang@linux.intel.com>
Cc: akpm@linux-foundation.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: remove dead code totalram_pages_set()
Date: Tue, 17 Dec 2019 20:04:59 -0500 [thread overview]
Message-ID: <C45FD4E1-CD2E-472E-A762-CCB17C4D8AB4@lca.pw> (raw)
In-Reply-To: <20191218005042.GB23703@richard>
> On Dec 17, 2019, at 7:50 PM, Wei Yang <richardw.yang@linux.intel.com> wrote:
>
> Took a look into the history. This function is introduced in
>
> commit 'ca79b0c211af' (mm: convert totalram_pages and totalhigh_pages
> variables to atomic)
>
> Even in this commit, no one use this function.
It occurs to me that function was a part of API design as a placeholder which might be used in the future.
prev parent reply other threads:[~2019-12-18 1:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-17 6:44 Wei Yang
2019-12-17 11:01 ` David Hildenbrand
2019-12-18 0:48 ` Wei Yang
2019-12-17 12:48 ` Qian Cai
2019-12-18 0:50 ` Wei Yang
2019-12-18 1:04 ` Qian Cai [this message]
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=C45FD4E1-CD2E-472E-A762-CCB17C4D8AB4@lca.pw \
--to=cai@lca.pw \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=richardw.yang@linux.intel.com \
/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