Re: [PATCH] powerpc/mm: Don't kmap_atomic() in pte_offset_map() on PPC32

2020-03-05 Thread Michael Ellerman
On Mon, 2020-02-17 at 09:41:35 UTC, Christophe Leroy wrote: > On PPC32, pte_offset_map() does a kmap_atomic() in order to support > page tables allocated in high memory, just like ARM and x86/32. > > But since at least 2008 and commit 8054a3428fbe ("powerpc: Remove dead > CONFIG_HIGHPTE"), page

[PATCH] powerpc/mm: Don't kmap_atomic() in pte_offset_map() on PPC32

2020-02-17 Thread Christophe Leroy
On PPC32, pte_offset_map() does a kmap_atomic() in order to support page tables allocated in high memory, just like ARM and x86/32. But since at least 2008 and commit 8054a3428fbe ("powerpc: Remove dead CONFIG_HIGHPTE"), page tables are never allocated in high memory. When the page is in low