diff options
| author | Fabio M. De Francesco <[email protected]> | 2022-05-31 16:53:33 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-07-25 17:45:33 +0200 |
| commit | 70826b6bd583a8e766ffec8415cc7d5395836370 (patch) | |
| tree | 298e494c0f1d10008a47ec68b7592d90593be396 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 9ff7ddd3c7ad7f6537cd66d3f455c7717bd358b9 (diff) | |
btrfs: replace kmap() with kmap_local_page() in inode.c
The use of kmap() is being deprecated in favor of kmap_local_page() where
it is feasible. With kmap_local_page(), the mapping is per thread, CPU
local and not globally visible.
Therefore, use kmap_local_page() / kunmap_local() in inode.c wherever the
mappings are per thread and not globally visible.
Tested on QEMU + KVM 32 bits VM with 4GB of RAM and HIGHMEM64G enabled.
Suggested-by: Ira Weiny <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Fabio M. De Francesco <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions