Re: [PATCH 0/3] btrfs: Convert kmap/memset/kunmap to memzero_user()

From: Andrew Morton
Date: Wed Mar 10 2021 - 18:59:33 EST


On Tue, 9 Mar 2021 13:21:34 -0800 ira.weiny@xxxxxxxxx wrote:

> Previously this was submitted to convert to zero_user()[1]. zero_user() is not
> the same as memzero_user() and in fact some zero_user() calls may be better off
> as memzero_user(). Regardless it was incorrect to convert btrfs to
> zero_user().
>
> This series corrects this by lifting memzero_user(), converting it to
> kmap_local_page(), and then using it in btrfs.

This impacts btrfs more than MM. I suggest the btrfs developers grab
it, with my

Acked-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>