]> git.baikalelectronics.ru Git - kernel.git/commit
vmscan: make drop_slab_node static
authorGang Li <ligang.bdlg@bytedance.com>
Fri, 14 Jan 2022 22:08:07 +0000 (14:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:30 +0000 (16:30 +0200)
commit41e98dd6d01781f59b165d4290b7631b4786667a
tree3ac703294374a6fffec8eb29d5c3c1c37f2d2ad9
parent17ad68ef0ab05e514ec36ecfbca251bfbea50092
vmscan: make drop_slab_node static

drop_slab_node is only used in drop_slab.  So remove it's declaration
from header file and add keyword static for it's definition.

Link: https://lkml.kernel.org/r/20211111062445.5236-1-ligang.bdlg@bytedance.com
Signed-off-by: Gang Li <ligang.bdlg@bytedance.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/vmscan.c