Re: [PATCH] checkpatch: Add kmap and kmap_atomic to the deprecated list

2022-08-15 Thread Chaitanya Kulkarni
On 8/13/22 15:00, ira.we...@intel.com wrote: > From: Ira Weiny > > kmap() and kmap_atomic() are being deprecated in favor of > kmap_local_page(). > > There are two main problems with kmap(): (1) It comes with an overhead > as mapping space is restricted and protected by a global lock for >

[PATCH] checkpatch: Add kmap and kmap_atomic to the deprecated list

2022-08-13 Thread ira . weiny
From: Ira Weiny kmap() and kmap_atomic() are being deprecated in favor of kmap_local_page(). There are two main problems with kmap(): (1) It comes with an overhead as mapping space is restricted and protected by a global lock for synchronization and (2) it also requires global TLB invalidation