[patch 10/18] entry: Use syscall number instead of rereading it

Philippe Mathieu-Daudé philmd at oss.qualcomm.com
Thu Jul 9 04:22:26 PDT 2026


On 9/7/26 13:20, Philippe Mathieu-Daudé wrote:
> On 7/7/26 21:06, Thomas Gleixner wrote:
>> rseq_syscall_enter_work() is invoked before the syscall number can be
>> modified. So there is no point in rereading it from pt_regs.
>>
>> Signed-off-by: Thomas Gleixner <tglx at kernel.org>
>> ---
>>   include/linux/entry-common.h |    9 +++++----
>>   1 file changed, 5 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd at oss.qualcomm.com>




More information about the linux-riscv mailing list