diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2020-09-21 08:58:39 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2020-09-21 08:59:26 -0700 |
commit | a6901d4d148dcbad7efb3174afbdf68c995618c2 (patch) | |
tree | 800c6f932d4cff0c52a12e9310ea2de9c9db4c97 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 24addd848a45747bcda68418710c72fdc8e145e4 (diff) |
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) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions