Re: [PATCH 1/3] iomap: Use kzalloc to allocate iomap_page

From: Christoph Hellwig
Date: Sat Aug 22 2020 - 01:58:34 EST


On Fri, Aug 21, 2020 at 01:46:04PM +0100, Matthew Wilcox (Oracle) wrote:
> We can skip most of the initialisation, although spinlocks still
> need explicit initialisation as architectures may use a non-zero
> value to indicate unlocked. The comment is no longer useful as
> attach_page_private() handles the refcount now.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>