]> www.infradead.org Git - users/jedix/linux-maple.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)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 20 Jul 2022 00:15:06 +0000 (20:15 -0400)
commit441645580db1a1a0016e9d409e56fe06c591f035
tree51971ae51ca681befc1957c67f0b3cfd11c77a6c
parent323994d05723e5746b47fcd5ccd6da6afd51ae5d
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