[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221219185840.25441-1-ryncsn@gmail.com>
Date: Tue, 20 Dec 2022 02:58:36 +0800
From: Kairui Song <ryncsn@...il.com>
To: linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Miaohe Lin <linmiaohe@...wei.com>,
David Hildenbrand <david@...hat.com>,
"Huang, Ying" <ying.huang@...el.com>,
Hugh Dickins <hughd@...gle.com>,
Matthew Wilcox <willy@...radead.org>,
Kairui Song <kasong@...cent.com>
Subject: [PATCH v2 0/4] Clean up and fixes for swap
From: Kairui Song <kasong@...cent.com>
This series cleanup some code path, saves a few cycles and reduce the
object size by a bit, also fixes some rare race issue of statistics.
Update from V1:
- Collect Huang, Ying's Reviewd-by.
- Use bloat-o-meter to show size change info in commit message as
suggested by Matthew Wilcox.
- Rework patch 4/4 as suggested by Huang, Ying.
- Drop a previouly invalid clean up patch.
Kairui Song (4):
swapfile: get rid of volatile and avoid redundant read
swap: avoid a redundant pte map if ra window is 1
swap: fold swap_ra_clamp_pfn into swap_ra_info
swap: avoid holding swap reference in swap_cache_get_folio
mm/shmem.c | 11 +++++++++
mm/swap_state.c | 59 +++++++++++++++++++------------------------------
mm/swapfile.c | 7 +++---
3 files changed, 38 insertions(+), 39 deletions(-)
--
2.35.2
Powered by blists - more mailing lists