Re: [PATCH 0/2] ext2: Convert kmap to kmap_local_page

2021-03-31 Thread Jan Kara
Hi Ira! On Sun 28-03-21 23:54:00, ira.we...@intel.com wrote: > From: Ira Weiny > > kmap is inefficient and can be abused so it is being phased out in favor of > kmap_local_page where possible. > > ext2 uses kmap in ext2_[get|put]_page(). All of the calls to > ext2_[get|put]_page() occur in

[PATCH 0/2] ext2: Convert kmap to kmap_local_page

2021-03-29 Thread ira . weiny
From: Ira Weiny kmap is inefficient and can be abused so it is being phased out in favor of kmap_local_page where possible. ext2 uses kmap in ext2_[get|put]_page(). All of the calls to ext2_[get|put]_page() occur in single threads so it is perfectly safe and preferable to use