Re: [PATCH v1 1/1] s390: mm: convert pgste locking functions to C

Alexander Gordeev
2023-12-06T08:58:34Z

Hi Claudio,

> Convert pgste_get_lock() and pgste_set_unlock() to C.
>
> There is no real reasons to keep them in assembler. Having them in C
> makes them more readable and maintainable, and better instructions are
> used automatically when available.
>
> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
> ---
> arch/s390/mm/pgtable.c | 29 ++++++++++-------------------
> 1 file changed, 10 insertions(+), 19 deletions(-)

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>