[PATCH v2 0/3] rseq: minor optimizations
From: Eric Dumazet
Date: Tue Apr 13 2021 - 12:23:54 EST
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.
v2: Addressed Peter and Mathieu feedbacks, thanks !
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 | 61 +++++++++++++++++++++++++++++++++++++--------------
1 file changed, 45 insertions(+), 16 deletions(-)
--
2.31.1.295.g9ea45b61b8-goog