Messages in this thread | | | Date | Tue, 24 Nov 2020 11:21:13 -0800 | From | Ira Weiny <> | Subject | Re: [PATCH 01/17] mm/highmem: Lift memcpy_[to|from]_page and memset_page to core |
| |
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@intel.com 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
| |