diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2020-09-21 17:58:39 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-09-21 17:59:26 +0200 |
commit | a6901d4d148dcbad7efb3174afbdf68c995618c2 (patch) | |
tree | 800c6f932d4cff0c52a12e9310ea2de9c9db4c97 /scripts/leaking_addresses.pl | |
parent | fs: Introduce i_blocks_per_page (diff) | |
download | linux-a6901d4d148dcbad7efb3174afbdf68c995618c2.tar.xz linux-a6901d4d148dcbad7efb3174afbdf68c995618c2.zip |
iomap: Use kzalloc to allocate iomap_page
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@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'scripts/leaking_addresses.pl')
0 files changed, 0 insertions, 0 deletions