summaryrefslogtreecommitdiff
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2024-05-31 16:12:30 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-07-03 19:30:03 -0700
commitba518f4d4b84c2c99fd03e77479e5c7f6767faf6 (patch)
treef640b9df8f0fed68ed9919b760a0416b34a6470b /mm/memory-failure.c
parentdce08dd2e86b600d2c53b0d6cdb851f94fb455b2 (diff)
downloadlinux-ba518f4d4b84c2c99fd03e77479e5c7f6767faf6.tar.gz
linux-ba518f4d4b84c2c99fd03e77479e5c7f6767faf6.tar.bz2
linux-ba518f4d4b84c2c99fd03e77479e5c7f6767faf6.zip
mm,swap: simplify VMA based swap readahead window calculation
Replace PFNs with addresses in readahead window calculation. This simplified the logic and reduce the code line number. No functionality change is expected. Link: https://lkml.kernel.org/r/20240531081230.310128-4-ying.huang@intel.com Signed-off-by: "Huang, Ying" <ying.huang@intel.com> Cc: Hugh Dickins <hughd@google.com> Cc: Alistair Popple <apopple@nvidia.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: David Hildenbrand <david@redhat.com> Cc: Mel Gorman <mgorman@techsingularity.net> Cc: Miaohe Lin <linmiaohe@huawei.com> Cc: Minchan Kim <minchan@kernel.org> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Yang Shi <shy828301@gmail.com> Cc: Yu Zhao <yuzhao@google.com> Cc: Kairui Song <kasong@tencent.com> Cc: Barry Song <v-songbaohua@oppo.com> Cc: Chris Li <chrisl@kernel.org> Cc: Yosry Ahmed <yosryahmed@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions