diff options
author | 2020-06-03 16:01:12 -0700 | |
---|---|---|
committer | 2020-06-03 20:09:47 -0700 | |
commit | a892cb6b977ffe209683809e5e9d627656d20aa8 (patch) | |
tree | 8ac669532372712e662c895daee962fea8af9a34 /ipc/compat.c | |
parent | mm: simplify calling a compound page destructor (diff) | |
download | linux-a892cb6b977ffe209683809e5e9d627656d20aa8.tar.gz linux-a892cb6b977ffe209683809e5e9d627656d20aa8.tar.bz2 linux-a892cb6b977ffe209683809e5e9d627656d20aa8.zip |
mm/vmscan.c: use update_lru_size() in update_lru_sizes()
We already defined the helper update_lru_size().
Let's use this to reduce code duplication.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Link: http://lkml.kernel.org/r/20200331221550.1011-1-richard.weiyang@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions