From: Baoquan He <baoquan.he@linux.dev>
To: Christoph Hellwig <hch@lst.de>
Cc: akpm@linux-foundation.org, chrisl@kernel.org,
usama.arif@linux.dev, kasong@tencent.com, nphamcs@gmail.com,
shikemeng@huaweicloud.com, youngjun.park@lge.com,
linux-mm@kvack.org
Subject: Re: RFC: better block swap batching and a different take on swap_ops
Date: Fri, 22 May 2026 21:31:34 +0800 [thread overview]
Message-ID: <ahBatit1UJyAyem1@MiWiFi-R3L-srv> (raw)
In-Reply-To: <20260515120019.4015143-1-hch@lst.de>
On 05/15/26 at 02:00pm, Christoph Hellwig wrote:
> Hi all,
>
> this series makes use of the swap_iocb for block as well so that it
> doesn't do inefficient single-bio I/O, and then rebases the swap_ops
> from Baoquan on top of the now very different method structure.
>
> This is very hot off the press and has only survived very basic testing.
This looks good, and worth a formal posting. That would be better if
stat number is pasted about efficiency promotion.
>
> Diffstat:
> Documentation/filesystems/locking.rst | 5
> Documentation/filesystems/vfs.rst | 4
> drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 2
> drivers/gpu/drm/ttm/ttm_backup.c | 2
> fs/nfs/file.c | 4
> fs/smb/client/file.c | 4
> include/linux/shmem_fs.h | 5
> include/linux/swap.h | 7
> mm/madvise.c | 16
> mm/page_io.c | 544 ++++++++++++++----------------
> mm/shmem.c | 18
> mm/swap.h | 52 +-
> mm/swap_state.c | 40 +-
> mm/swapfile.c | 11
> mm/vmscan.c | 88 ++--
> 15 files changed, 402 insertions(+), 400 deletions(-)
next prev parent reply other threads:[~2026-05-22 13:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-15 12:00 RFC: better block swap batching and a different take on swap_ops Christoph Hellwig
2026-05-15 12:00 ` [PATCH 1/6] shmem: provide a shmem_write_folio wrapper Christoph Hellwig
2026-05-15 12:00 ` [PATCH 2/6] mm: merge writeout into pageout Christoph Hellwig
2026-05-15 12:00 ` [PATCH 3/6] mm/swap: intoduce struct swap_io_ctx Christoph Hellwig
2026-05-15 12:00 ` [PATCH 4/6] mm/swap: also use struct swap_iocb for block I/O Christoph Hellwig
2026-05-15 12:00 ` [PATCH 5/6] mm/swap: use swap_ops to register swap device's methods Christoph Hellwig
2026-05-15 12:00 ` [PATCH 6/6] mm/swap: remove SWP_FS_OPS Christoph Hellwig
2026-05-22 13:31 ` Baoquan He [this message]
2026-05-28 7:10 ` RFC: better block swap batching and a different take on swap_ops Chris Li
2026-05-28 7:16 ` Christoph Hellwig
2026-05-28 7:39 ` Chris Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ahBatit1UJyAyem1@MiWiFi-R3L-srv \
--to=baoquan.he@linux.dev \
--cc=akpm@linux-foundation.org \
--cc=chrisl@kernel.org \
--cc=hch@lst.de \
--cc=kasong@tencent.com \
--cc=linux-mm@kvack.org \
--cc=nphamcs@gmail.com \
--cc=shikemeng@huaweicloud.com \
--cc=usama.arif@linux.dev \
--cc=youngjun.park@lge.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.