Thread (1 message) 1 message, 1 author, 2023-05-17

Re: [PATCH 16/23] s390: gmap use pte_unmap_unlock() not spin_unlock()

From: Alexander Gordeev <agordeev@linux.ibm.com>
Date: 2023-05-17 11:29:54
Also in: linux-m68k, linux-mips, linux-mm, linux-riscv, linux-s390, linux-sh, linuxppc-dev, lkml, sparclinux

On Tue, May 09, 2023 at 10:02:32PM -0700, Hugh Dickins wrote:
pte_alloc_map_lock() expects to be followed by pte_unmap_unlock(): to
keep balance in future, pass ptep as well as ptl to gmap_pte_op_end(),
and use pte_unmap_unlock() instead of direct spin_unlock() (even though
ptep ends up unused inside the macro).

Signed-off-by: Hugh Dickins <hughd@google.com>
---
 arch/s390/mm/gmap.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help