aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFabio M. De Francesco <fmdefrancesco@gmail.com>2022-05-31 16:53:34 +0200
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:45:33 +0200
commit51c0674a56f9823e83dcc2f3d7f0d4f61c4927fc (patch)
tree06ac490853eba5bb4f1954070cf3794cd8569ef4 /tools/perf/scripts/python/export-to-sqlite.py
parentbtrfs: replace kmap() with kmap_local_page() in inode.c (diff)
downloadlinux-dev-51c0674a56f9823e83dcc2f3d7f0d4f61c4927fc.tar.xz
linux-dev-51c0674a56f9823e83dcc2f3d7f0d4f61c4927fc.zip
btrfs: replace kmap() with kmap_local_page() in lzo.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 lzo.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 <ira.weiny@intel.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions