Messages in this thread | | | Date | Tue, 31 May 2022 08:53:23 -0700 | From | Christoph Hellwig <> | Subject | Re: [PATCH 2/3] btrfs: Replace kmap() with kmap_local_page() in lzo.c |
| |
On Tue, May 31, 2022 at 04:53:34PM +0200, Fabio M. De Francesco wrote: > 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.
This looks fine:
Reviewed-by: Christoph Hellwig <hch@lst.de>
| |