summaryrefslogtreecommitdiffstats
path: root/mm/shuffle.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2020-08-06 23:25:30 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-07 11:33:29 -0700
commit56b9413bcb369f1329a438c7b61d235b4123e794 (patch)
tree6714709d21537e781d4dc6fb786cbd549acdc187 /mm/shuffle.c
parent0a18e60788d6a39436e8b5e91001b790043fc29c (diff)
downloadlinux-stable-56b9413bcb369f1329a438c7b61d235b4123e794.tar.gz
linux-stable-56b9413bcb369f1329a438c7b61d235b4123e794.tar.bz2
linux-stable-56b9413bcb369f1329a438c7b61d235b4123e794.zip
mm/page_alloc: remove nr_free_pagecache_pages()
nr_free_pagecache_pages() isn't used outside page_alloc.c anymore - and the name does not really help to understand what's going on. Let's open-code it instead and add a comment. Signed-off-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Wei Yang <richard.weiyang@gmail.com> Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Reviewed-by: Mike Rapoport <rppt@linux.ibm.com> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Minchan Kim <minchan@kernel.org> Cc: Huang Ying <ying.huang@intel.com> Link: http://lkml.kernel.org/r/20200619132410.23859-3-david@redhat.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shuffle.c')
0 files changed, 0 insertions, 0 deletions