lkml.org 
[lkml]   [2020]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2020-11-24 20:23    [W:0.093 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site