Re: [PATCH v3 0/3] rseq: minor optimizations
From: Mathieu Desnoyers
Date: Tue Apr 13 2021 - 16:40:40 EST
----- On Apr 13, 2021, at 4:33 PM, Eric Dumazet eric.dumazet@xxxxxxxxx wrote:
> From: Eric Dumazet <edumazet@xxxxxxxxxx>
>
> rseq is a heavy user of copy to/from user data in fast paths.
> This series tries to reduce the cost.
>
> v3: Third patch going back to v1 (only deal with 64bit arches)
> v2: Addressed Peter and Mathieu feedbacks, thanks !
For the whole series:
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
Thanks Eric!
Mathieu
>
> Eric Dumazet (3):
> rseq: optimize rseq_update_cpu_id()
> rseq: remove redundant access_ok()
> rseq: optimise rseq_get_rseq_cs() and clear_rseq_cs()
>
> kernel/rseq.c | 29 +++++++++++++++++++++--------
> 1 file changed, 21 insertions(+), 8 deletions(-)
>
> --
> 2.31.1.295.g9ea45b61b8-goog
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com