From: Sergey Senozhatsky <senozhatsky@chromium.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>,
Minchan Kim <minchan@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] zram: use zram_read_from_zspool() in writeback
Date: Wed, 11 Dec 2024 19:08:10 +0900 [thread overview]
Message-ID: <20241211100810.GE2091455@google.com> (raw)
In-Reply-To: <20241211082534.2211057-1-senozhatsky@chromium.org>
On (24/12/11 17:25), Sergey Senozhatsky wrote:
> We only can read pages from zspool in writeback, zram_read_page()
> is not really right in that context not only because it's a more
> generic function that handles ZRAM_WB pages, but also because it
> requires us to unlock slot between slot flag check and actual page
> read. Use zram_read_from_zspool() instead and do slot flags check
> and page read under the same slot lock.
Andrew, sorry for the noise, please ignore this mini-series. Let me
re-send it combined with v2 of `zram: split page type read/write handling`
series [1]
[1] https://lore.kernel.org/linux-kernel/20241210105420.1888790-1-senozhatsky@chromium.org
prev parent reply other threads:[~2024-12-11 10:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-11 8:25 [PATCH 1/2] zram: use zram_read_from_zspool() in writeback Sergey Senozhatsky
2024-12-11 8:25 ` [PATCH 2/2] zram: cond_resched() in writeback loop Sergey Senozhatsky
2024-12-11 10:08 ` Sergey Senozhatsky [this message]
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=20241211100810.GE2091455@google.com \
--to=senozhatsky@chromium.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=minchan@kernel.org \
/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.