lkml.org 
[lkml]   [2019]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] mm: remove dead code totalram_pages_set()
Date


> 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.
\
 
 \ /
  Last update: 2019-12-18 02:06    [W:0.035 / U:0.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site