Skip to content

rseq: minor optimizations

Eric Dumazet lkml 3 versions Applied

Status from this message: The following commit has been merged into the sched/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesApplied
  2. v23 patches 22 repliesSuperseded
  3. v13 patches 9 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3rseq: optimize rseq_update_cpu_id()kernel/rseq.c+11 -40 replies
2/3rseq: remove redundant access_ok()kernel/rseq.c+1 -40 replies
3/3rseq: optimise rseq_get_rseq_cs() and clear_rseq_cs()kernel/rseq.c+9 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMathieu Desnoyers
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] rseq: minor optimizations

From: Eric Dumazet <[email protected]>

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 !

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(-)
Signature · 1 line
2.31.1.295.g9ea45b61b8-goog