Re: [patch V6 19/31] rseq: Provide and use rseq_update_user_cs()
From: Steven Rostedt
Date: Wed Oct 29 2025 - 17:53:01 EST
On Wed, 29 Oct 2025 22:00:37 +0100
Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> > Or am I missing something?
>
> Yes. None of this is compiled at all when CONFIG_RSEQ=n.
>
> When CONFIG_RSEQ=y then the slowpath muck is compiled into kernel/rseq.c
> because that file defines RSEQ_BUILD_SLOW_PATH.
What I was missing was that the code was in a header file.
I mistook it as being part of rseq.c and not living in
include/linux/rseq_entry.h :-p
-- Steve