diff options
author | 2025-05-17 01:09:39 +0800 | |
---|---|---|
committer | 2025-05-31 22:46:11 -0700 | |
commit | c5a9deace6095c0dca86f5414493bcf1711f1ca3 (patch) | |
tree | d1b301d17230853c425413ed2987ed8f486cfb3e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm: shmem: only remove inode from swaplist when it's swapped page count is 0 (diff) | |
download | linux-rng-c5a9deace6095c0dca86f5414493bcf1711f1ca3.tar.xz linux-rng-c5a9deace6095c0dca86f5414493bcf1711f1ca3.zip |
mm/shmem: remove unneeded xa_is_value() check in shmem_unuse_swap_entries()
As only value entry will be added to fbatch in shmem_find_swap_entries(),
there is no need to do xa_is_value() check in shmem_unuse_swap_entries().
Link: https://lkml.kernel.org/r/20250516170939.965736-6-shikemeng@huaweicloud.com
Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Kairui Song <kasong@tencent.com>
Cc: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions