From: Yuwen Chen <ywen.chen@foxmail.com>
To: ywen.chen@foxmail.com
Cc: akpm@linux-foundation.org, bgeffon@google.com,
licayy@outlook.com, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-mm@kvack.org,
minchan@kernel.org, richardycc@google.com,
senozhatsky@chromium.org
Subject: RE: [PATCH v3] zram: Fix the issue that the write - back limits might overflow
Date: Wed, 19 Nov 2025 12:09:30 +0800 [thread overview]
Message-ID: <tencent_ACEF6BA50BA908889B631CCED5FF1C244F05@qq.com> (raw)
In-Reply-To: <tencent_C9BC3F2FE38BB1EBA44887FB683CD195E705@qq.com>
On Wed, 19 Nov 2025 12:01:57 +0800, Yuwen Chen wrote:
> + /*
> + * When the page size is greater than 4KB, if bd_wb_limit is set to
> + * a value that is not page - size aligned, it will cause value
> + * wrapping. For example, when the page size is set to 16KB and
> + * bd_wb_limit is set to 3, a single write - back operation will
> + * cause bd_wb_limit to become -1. Even more terrifying is that
> + * bd_wb_limit is an unsigned number.
> + */
Sorry, I forgot to check the code format here.
prev parent reply other threads:[~2025-11-19 4:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-19 4:01 Yuwen Chen
2025-11-19 4:09 ` Yuwen Chen [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=tencent_ACEF6BA50BA908889B631CCED5FF1C244F05@qq.com \
--to=ywen.chen@foxmail.com \
--cc=akpm@linux-foundation.org \
--cc=bgeffon@google.com \
--cc=licayy@outlook.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=minchan@kernel.org \
--cc=richardycc@google.com \
--cc=senozhatsky@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®