Re: [patch V6 00/31] rseq: Optimize exit to user space

From: Peter Zijlstra

Date: Wed Oct 29 2025 - 06:24:08 EST


On Mon, Oct 27, 2025 at 09:44:14AM +0100, Thomas Gleixner wrote:
> Thomas Gleixner (31):
> rseq: Avoid pointless evaluation in __rseq_notify_resume()
> rseq: Condense the inline stubs
> rseq: Move algorithm comment to top
> rseq: Remove the ksig argument from rseq_handle_notify_resume()
> rseq: Simplify registration
> rseq: Simplify the event notification
> rseq, virt: Retrigger RSEQ after vcpu_run()
> rseq: Avoid CPU/MM CID updates when no event pending
> rseq: Introduce struct rseq_data
> entry: Cleanup header
> entry: Remove syscall_enter_from_user_mode_prepare()
> entry: Inline irqentry_enter/exit_from/to_user_mode()
> sched: Move MM CID related functions to sched.h
> rseq: Cache CPU ID and MM CID values
> rseq: Record interrupt from user space
> rseq: Provide tracepoint wrappers for inline code
> rseq: Expose lightweight statistics in debugfs
> rseq: Provide static branch for runtime debugging
> rseq: Provide and use rseq_update_user_cs()
> rseq: Replace the original debug implementation
> rseq: Make exit debugging static branch based
> rseq: Use static branch for syscall exit debug when GENERIC_IRQ_ENTRY=y
> rseq: Provide and use rseq_set_ids()
> rseq: Separate the signal delivery path
> rseq: Rework the TIF_NOTIFY handler
> rseq: Optimize event setting
> rseq: Implement fast path for exit to user
> rseq: Switch to fast path processing on exit to user
> entry: Split up exit_to_user_mode_prepare()
> rseq: Split up rseq_exit_to_user_mode()
> rseq: Switch to TIF_RSEQ if supported

Applied to tip/core/rseq.