]> git.baikalelectronics.ru Git - kernel.git/commit
mm/swap: remove swap_cache_info statistics
authorMiaohe Lin <linmiaohe@huawei.com>
Wed, 8 Jun 2022 14:40:31 +0000 (22:40 +0800)
committerakpm <akpm@linux-foundation.org>
Mon, 4 Jul 2022 01:08:42 +0000 (18:08 -0700)
commit7d9c1f8a559792ea38890b1f2951fcdd4ac8083f
treed5a8549c3233042f1257b5593395915607af16cc
parent67062a615d47240d618c9679620c8ced8a3574eb
mm/swap: remove swap_cache_info statistics

swap_cache_info are not statistics that could be easily used to tune
system performance because they are not easily accessile.  Also they can't
provide really useful info when OOM occurs.  Remove these statistics can
also help mitigate unneeded global swap_cache_info cacheline contention.

Link: https://lkml.kernel.org/r/20220608144031.829-4-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Suggested-by: David Hildenbrand <david@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Acked-by: "Huang, Ying" <ying.huang@intel.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swap_state.c