Re: [patch V4 27/36] rseq: Implement fast path for exit to user

Thomas Gleixner
2025-09-11T16:08:30Z

On Thu, Sep 11 2025 at 10:27, Mathieu Desnoyers wrote:
> On 2025-09-08 17:32, Thomas Gleixner wrote:
>> The initial decision to invoke any of this is based on two flags in the
>> event struct: @has_rseq and @sched_switch. The decision is in pseudo ASM:
>>
>> load tsk::event::has_rseq
>> and tsk::event::sched_switch
>
> I suspect that my earlier comment about has_rseq and AND applies here
> as well. We could probably remove the has_rseq load and the AND
> altogether and just load sched_switch for the conditional branch ?

Same comment as before.