From: Sergey Senozhatsky <senozhatsky@chromium.org>
To: Brian Geffon <bgeffon@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Minchan Kim <minchan@kernel.org>, Nitin Gupta <ngupta@vflare.org>,
Sergey Senozhatsky <senozhatsky@chromium.org>,
linux-kernel@vger.kernel.org,
Suleiman Souhlal <suleiman@google.com>,
linux-mm@kvack.org
Subject: Re: [RFC PATCH 1/1] zram: Allow rw_page when page isn't written back.
Date: Tue, 9 Aug 2022 10:38:04 +0900 [thread overview]
Message-ID: <YvG6fDHmVITsa/Kk@google.com> (raw)
In-Reply-To: <20220808165006.2451180-2-bgeffon@google.com>
On (22/08/08 12:50), Brian Geffon wrote:
[..]
>
> pr_info("setup backing device %s\n", file_name);
> @@ -722,7 +707,8 @@ static ssize_t writeback_store(struct device *dev,
>
> if (zram_test_flag(zram, index, ZRAM_WB) ||
> zram_test_flag(zram, index, ZRAM_SAME) ||
> - zram_test_flag(zram, index, ZRAM_UNDER_WB))
> + zram_test_flag(zram, index, ZRAM_UNDER_WB) ||
> + zram_test_flag(zram, index, ZRAM_NO_WB))
> goto next;
mark_idle() probably should also test ZRAM_NO_WB bit.
next prev parent reply other threads:[~2022-08-09 1:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-08 16:50 [RFC PATCH 0/1] zram: Allow rw_page when page isn't written back Brian Geffon
2022-08-08 16:50 ` [RFC PATCH 1/1] " Brian Geffon
2022-08-09 1:38 ` Sergey Senozhatsky [this message]
2022-08-10 19:18 ` Brian Geffon
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=YvG6fDHmVITsa/Kk@google.com \
--to=senozhatsky@chromium.org \
--cc=akpm@linux-foundation.org \
--cc=bgeffon@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=minchan@kernel.org \
--cc=ngupta@vflare.org \
--cc=suleiman@google.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.