[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191218005042.GB23703@richard>
Date: Wed, 18 Dec 2019 08:50:42 +0800
From: Wei Yang <richardw.yang@...ux.intel.com>
To: Qian Cai <cai@....pw>
Cc: Wei Yang <richardw.yang@...ux.intel.com>,
akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: remove dead code totalram_pages_set()
On Tue, Dec 17, 2019 at 07:48:09AM -0500, Qian Cai wrote:
>
>
>> On Dec 17, 2019, at 1:44 AM, Wei Yang <richardw.yang@...ux.intel.com> wrote:
>>
>> No one use totalram_pages_set(), just remote it.
>
>It is unlikely that this is unintentional, but can you figure out which commit removed the last caller just in case?
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.
Will include this in next version.
--
Wei Yang
Help you, Help me
Powered by blists - more mailing lists