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().
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().