[PATCH V1 05/10] arch/kmap_atomic: Consolidate duplicate code

Christoph Hellwig hch at infradead.org
Fri May 1 18:39:22 AEST 2020


On Thu, Apr 30, 2020 at 01:38:40PM -0700, ira.weiny at intel.com wrote:
> From: Ira Weiny <ira.weiny at intel.com>
> 
> Every arch has the same code to ensure atomic operations and a check for
> !HIGHMEM page.
> 
> Remove the duplicate code by defining a core kmap_atomic() which only
> calls the arch specific kmap_atomic_high() when the page is high memory.
> 
> Signed-off-by: Ira Weiny <ira.weiny at intel.com>

Looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>


More information about the Linuxppc-dev mailing list