Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm: remove zero_user()

All users have now been converted to either memzero_page() or
folio_zero_range().

Link: https://lkml.kernel.org/r/20250612143443.2848197-6-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Alex Markuze <amarkuze@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ilya Dryomov <idryomov@gmail.com>
Cc: Ira Weiny <ira.weiny@intel.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Xiubo Li <xiubli@redhat.com>
Cc: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Matthew Wilcox (Oracle) and committed by
Andrew Morton
234dda7a 7431f3a2

-6
-6
include/linux/highmem.h
··· 292 292 zero_user_segments(page, start, end, 0, 0); 293 293 } 294 294 295 - static inline void zero_user(struct page *page, 296 - unsigned start, unsigned size) 297 - { 298 - zero_user_segments(page, start, start + size, 0, 0); 299 - } 300 - 301 295 #ifndef __HAVE_ARCH_COPY_USER_HIGHPAGE 302 296 303 297 static inline void copy_user_highpage(struct page *to, struct page *from,