From: Alex Markuze <amarkuze@redhat.com>
To: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, Ira Weiny <ira.weiny@intel.com>,
Christoph Hellwig <hch@lst.de>,
linux-block@vger.kernel.org, ceph-devel@vger.kernel.org,
linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH 5/5] mm: Remove zero_user()
Date: Wed, 25 Jun 2025 13:41:25 +0300 [thread overview]
Message-ID: <CAO8a2Sg5Q7iYTSjR2iD3R+EXHe5O735zp4V=Ur17q8AgkJFCcA@mail.gmail.com> (raw)
In-Reply-To: <20250612143443.2848197-6-willy@infradead.org>
Good cleanup.
Reviewed-by: Alex Markuze amarkuze@redhat.com
On Thu, Jun 12, 2025 at 5:35 PM Matthew Wilcox (Oracle)
<willy@infradead.org> wrote:
>
> All users have now been converted to either memzero_page() or
> folio_zero_range().
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> ---
> include/linux/highmem.h | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/include/linux/highmem.h b/include/linux/highmem.h
> index e48d7f27b0b9..a30526cc53a7 100644
> --- a/include/linux/highmem.h
> +++ b/include/linux/highmem.h
> @@ -292,12 +292,6 @@ static inline void zero_user_segment(struct page *page,
> zero_user_segments(page, start, end, 0, 0);
> }
>
> -static inline void zero_user(struct page *page,
> - unsigned start, unsigned size)
> -{
> - zero_user_segments(page, start, start + size, 0, 0);
> -}
> -
> #ifndef __HAVE_ARCH_COPY_USER_HIGHPAGE
>
> static inline void copy_user_highpage(struct page *to, struct page *from,
> --
> 2.47.2
>
>
next prev parent reply other threads:[~2025-06-25 10:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-12 14:34 [PATCH 0/5] Remove zero_user() Matthew Wilcox (Oracle)
2025-06-12 14:34 ` [PATCH 1/5] bio: Use memzero_page() in bio_truncate() Matthew Wilcox (Oracle)
2025-06-25 10:40 ` Alex Markuze
2025-06-12 14:34 ` [PATCH 2/5] null_blk: Use memzero_page() Matthew Wilcox (Oracle)
2025-06-25 10:41 ` Alex Markuze
2025-06-12 14:34 ` [PATCH 3/5] direct-io: " Matthew Wilcox (Oracle)
2025-06-25 10:40 ` Alex Markuze
2025-06-12 14:34 ` [PATCH 4/5] ceph: Convert ceph_zero_partial_page() to use a folio Matthew Wilcox (Oracle)
2025-06-12 19:36 ` Viacheslav Dubeyko
2025-06-12 14:34 ` [PATCH 5/5] mm: Remove zero_user() Matthew Wilcox (Oracle)
2025-06-25 10:41 ` Alex Markuze [this message]
2025-06-13 5:24 ` [PATCH 0/5] " Christoph Hellwig
2025-06-13 19:51 ` Matthew Wilcox
2025-06-13 20:04 ` Andrew Morton
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='CAO8a2Sg5Q7iYTSjR2iD3R+EXHe5O735zp4V=Ur17q8AgkJFCcA@mail.gmail.com' \
--to=amarkuze@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=ceph-devel@vger.kernel.org \
--cc=hch@lst.de \
--cc=ira.weiny@intel.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=willy@infradead.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;
as well as URLs for NNTP newsgroup(s).