mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "yu kuai" <yukuai@fygo.io>
To: "Tal Zussman" <tz2294@columbia.edu>, "Song Liu" <song@kernel.org>,
	 "Li Nan" <magiclinan@didiglobal.com>,
	"Xiao Ni" <xiao@kernel.org>,  "yu kuai" <yukuai@fygo.io>
Cc: <linux-raid@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 0/2] md: superblock page cleanups
Date: Sun, 29 Nov 2026 09:37:47 +0800	[thread overview]
Message-ID: <8ade233e-c6c7-406f-9cb9-7fc72b8d8386@fygo.io> (raw)
In-Reply-To: <20261120-md-sb-page-cleanup-v1-0-117d8d686737@columbia.edu>

在 2026/11/21 2:42, Tal Zussman 写道:

> read_rdev() clears PG_uptodate on a superblock page it has just
> allocated, which does nothing. Patch 1 removes the call, which is one of
> the last users of ClearPageUptodate(). Patch 2 frees the rdev superblock
> and bad block pages with __free_page() instead of put_page(), as md
> holds the only reference to them.
>
> These buffers don't need to be pages at all and could be plain kmalloc()
> allocations, but that is a larger change, so I left it out for now.
>
> No functional change intended.
>
> ---
> Tal Zussman (2):
>        md: remove ClearPageUptodate() from read_rdev()
>        md: free the superblock and bad block pages with __free_page()
>
>   drivers/md/md.c | 9 ++++-----
>   1 file changed, 4 insertions(+), 5 deletions(-)
Applied
> ---
> base-commit: c526b7cd32f75fea6021ffdab287b81cf38ddeb7
> change-id: 20261119-md-sb-page-cleanup-e9dbb79b2cf9
>
> Best regards,
> --
> Tal Zussman <tz2294@columbia.edu>

-- 
Thanks,
Kuai

      parent reply	other threads:[~2026-11-29  1:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 18:42 Tal Zussman
2026-11-20 18:42 ` [PATCH 1/2] md: remove ClearPageUptodate() from read_rdev() Tal Zussman
2026-11-20 18:42 ` [PATCH 2/2] md: free the superblock and bad block pages with __free_page() Tal Zussman
2026-11-29  1:37 ` yu kuai [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=8ade233e-c6c7-406f-9cb9-7fc72b8d8386@fygo.io \
    --to=yukuai@fygo.io \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=magiclinan@didiglobal.com \
    --cc=song@kernel.org \
    --cc=tz2294@columbia.edu \
    --cc=xiao@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 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®