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

2020-08-21 Thread Christoph Hellwig
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() ha

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

2020-08-21 Thread Matthew Wilcox (Oracle)
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) --- fs/iomap/bu