Re: [PATCH 01/17] mm/highmem: Lift memcpy_[to|from]_page and memset_page to core

From: Ira Weiny
Date: Tue Nov 24 2020 - 14:21:38 EST


On Tue, Nov 24, 2020 at 02:19:41PM +0000, Matthew Wilcox wrote:
> On Mon, Nov 23, 2020 at 10:07:39PM -0800, ira.weiny@xxxxxxxxx wrote:
> > +static inline void memzero_page(struct page *page, size_t offset, size_t len)
> > +{
> > + memset_page(page, 0, offset, len);
> > +}
>
> This is a less-capable zero_user_segments().

Actually it is a duplicate of zero_user()... Sorry I did not notice those...
:-(

Why are they called '_user_'?

Ira