]> 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)
commita1308948853132ebf68c43336601741c9e572369
treed5a8549c3233042f1257b5593395915607af16cc
parent894c5c02cc0f603cb7d2affef4990b47d9e85fc9
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