diff options
author | Fabio M. De Francesco <fmdefrancesco@gmail.com> | 2022-06-27 19:48:49 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-07-25 17:45:41 +0200 |
commit | 4cb2e5e8fe47e3f31e00d8bf0e6e4acff26f520f (patch) | |
tree | 1a7107eade2100fc1447520eb16c2d5d32408ed3 /fs/ufs/Kconfig | |
parent | 5a6e6e7ce6b7df615a971f30bf4215b2dc389612 (diff) | |
download | linux-4cb2e5e8fe47e3f31e00d8bf0e6e4acff26f520f.tar.bz2 |
btrfs: replace kmap_atomic() with kmap_local_page()
kmap_atomic() is being deprecated in favor of kmap_local_page() where it
is feasible. With kmap_local_page() mappings are per thread, CPU local,
and not globally visible.
The last use of kmap_atomic is in inode.c where the context is atomic [1]
and can be safely replaced by kmap_local_page.
Tested with xfstests on a QEMU + KVM 32-bits VM with 4GB RAM and booting a
kernel with HIGHMEM64GB enabled.
[1] https://lore.kernel.org/linux-btrfs/20220601132545.GM20633@twin.jikos.cz/
Suggested-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
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 'fs/ufs/Kconfig')
0 files changed, 0 insertions, 0 deletions