Re: [PATCH RESEND v4 0/4] x86: fix get_nr_restart_syscall()

From: Oleg Nesterov
Date: Wed Feb 03 2021 - 18:21:42 EST


It seems that nobody objects,

Andrew, Andy, Thomas, how do you think this series should be routed?

On 02/01, Oleg Nesterov wrote:
>
> Somehow I forgot about this problem. Let me resend the last version
> based on discussion with Linus. IIRC he was agree with this series.
>
> And let me remind why 3/4 temporary adds the "transient" TS_COMPAT_RESTART
> flag killed by the next patch: to simplify the backporting. 1-3 can fix
> the problem without breaking the kABI.
>
> Oleg.
> ---
> arch/x86/include/asm/processor.h | 9 ---------
> arch/x86/include/asm/thread_info.h | 15 ++++++++++++++-
> arch/x86/kernel/signal.c | 24 +-----------------------
> fs/select.c | 10 ++++------
> include/linux/restart_block.h | 1 +
> include/linux/thread_info.h | 13 +++++++++++++
> kernel/futex.c | 3 +--
> kernel/time/alarmtimer.c | 2 +-
> kernel/time/hrtimer.c | 2 +-
> kernel/time/posix-cpu-timers.c | 2 +-
> 10 files changed, 37 insertions(+), 44 deletions(-)