linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Minchan Kim <minchan@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm <linux-mm@kvack.org>, Jens Axboe <axboe@kernel.dk>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Seth Jennings <sjenning@redhat.com>,
	Sergey Senozhatsky <senozhatsky@chromium.org>,
	Minchan Kim <minchan@kernel.org>
Subject: [PATCH 0/3] zram: use frontswap for zram swap usecase
Date: Mon, 10 Jul 2023 15:16:56 -0700	[thread overview]
Message-ID: <20230710221659.2473460-1-minchan@kernel.org> (raw)

This patchset uses frontswap for zram swap usecase and remove
swap_slot_free_notify swap specific operation in block device.
It shows 13% swapout improvement for MADV_PAGEOUT.

Minchan Kim (3):
  frontswap: support backing_dev
  zram: support frontswap
  zram: remove swap_slot_free_notify

 Documentation/filesystems/locking.rst |   5 --
 drivers/block/zram/Kconfig            |   1 +
 drivers/block/zram/zram_drv.c         | 116 ++++++++++++++++++++++----
 drivers/block/zram/zram_drv.h         |   1 +
 include/linux/blkdev.h                |   2 -
 include/linux/frontswap.h             |   7 +-
 mm/frontswap.c                        |   4 +-
 mm/swapfile.c                         |  11 +--
 mm/zswap.c                            |   2 +-
 9 files changed, 110 insertions(+), 39 deletions(-)

-- 
2.41.0.255.g8b1d071c50-goog



             reply	other threads:[~2023-07-10 22:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-10 22:16 Minchan Kim [this message]
2023-07-10 22:16 ` [PATCH 1/3] frontswap: support backing_dev Minchan Kim
2023-07-10 22:16 ` [PATCH 2/3] zram: support frontswap Minchan Kim
2023-07-11 10:08   ` Alexey Romanov
2023-07-11 23:58     ` Minchan Kim
2023-07-10 22:16 ` [PATCH 3/3] zram: remove swap_slot_free_notify Minchan Kim
2023-07-11 10:09   ` Alexey Romanov
2023-07-11  5:17 ` [PATCH 0/3] zram: use frontswap for zram swap usecase Christoph Hellwig
2023-07-11 17:52   ` Nhat Pham
2023-07-11 23:56     ` Minchan Kim

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=20230710221659.2473460-1-minchan@kernel.org \
    --to=minchan@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=axboe@kernel.dk \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-mm@kvack.org \
    --cc=senozhatsky@chromium.org \
    --cc=sjenning@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).