[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

Re: [PATCH] fs/hostfs: Replace kmap() with kmap_local_page()

2022-12-30 Thread Ira Weiny
herefore, replace kmap() with kmap_local_page() in hostfs_kern.c, it > being the only file with kmap() call sites currently left in fs/hostfs. > > Cc: "Venkataramanan, Anirudh" > Suggested-by: Ira Weiny What can we do to move this patch along? I'm not an expert but it looks ok to m

Re: [PATCH v2 21/25] nvdimm: virtio_pmem: drop owner assignment

2024-04-25 Thread Ira Weiny
Krzysztof Kozlowski wrote: > virtio core already sets the .owner, so driver does not need to. > > Acked-by: Dave Jiang Acked-by: Ira Weiny > Signed-off-by: Krzysztof Kozlowski > --- > > Depends on the first patch. > --- > drivers/nvdimm/virtio_pmem.c | 1 - &g