From: Jinjie Ruan <ruanjinjie@huawei.com>
To: Oleg Nesterov <oleg@redhat.com>, Thomas Gleixner <tglx@kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] entry: kill ARCH_SYSCALL_WORK_{ENTER,EXIT}
Date: Mon, 13 Apr 2026 09:47:33 +0800 [thread overview]
Message-ID: <a06c650a-277b-d017-dbd9-7c83eb3b5f5b@huawei.com> (raw)
In-Reply-To: <advfWWKgOQkFkwp9@redhat.com>
On 2026/4/13 2:07, Oleg Nesterov wrote:
> Nowadays nobody redefine these flags.
>
> Signed-off-by: Oleg Nesterov <oleg@redhat.com>
> ---
> include/linux/entry-common.h | 20 +++++---------------
> 1 file changed, 5 insertions(+), 15 deletions(-)
>
> diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
> index f83ca0abf2cd..535da46c3ee9 100644
> --- a/include/linux/entry-common.h
> +++ b/include/linux/entry-common.h
> @@ -20,31 +20,21 @@
> /*
> * SYSCALL_WORK flags handled in syscall_enter_from_user_mode()
> */
> -#ifndef ARCH_SYSCALL_WORK_ENTER
> -# define ARCH_SYSCALL_WORK_ENTER (0)
> -#endif
> -
> -/*
> - * SYSCALL_WORK flags handled in syscall_exit_to_user_mode()
> - */
> -#ifndef ARCH_SYSCALL_WORK_EXIT
> -# define ARCH_SYSCALL_WORK_EXIT (0)
> -#endif
> -
> #define SYSCALL_WORK_ENTER (SYSCALL_WORK_SECCOMP | \
> SYSCALL_WORK_SYSCALL_TRACEPOINT | \
> SYSCALL_WORK_SYSCALL_TRACE | \
> SYSCALL_WORK_SYSCALL_EMU | \
> SYSCALL_WORK_SYSCALL_AUDIT | \
> SYSCALL_WORK_SYSCALL_USER_DISPATCH | \
> - SYSCALL_WORK_SYSCALL_RSEQ_SLICE | \
> - ARCH_SYSCALL_WORK_ENTER)
> + SYSCALL_WORK_SYSCALL_RSEQ_SLICE)
> +/*
> + * SYSCALL_WORK flags handled in syscall_exit_to_user_mode()
> + */
> #define SYSCALL_WORK_EXIT (SYSCALL_WORK_SYSCALL_TRACEPOINT | \
> SYSCALL_WORK_SYSCALL_TRACE | \
> SYSCALL_WORK_SYSCALL_AUDIT | \
> SYSCALL_WORK_SYSCALL_USER_DISPATCH | \
> - SYSCALL_WORK_SYSCALL_EXIT_TRAP | \
> - ARCH_SYSCALL_WORK_EXIT)
> + SYSCALL_WORK_SYSCALL_EXIT_TRAP)
Reviewed-by: Jinjie Ruan <ruanjinjie@huawei.com>
>
> /**
> * arch_ptrace_report_syscall_entry - Architecture specific ptrace_report_syscall_entry() wrapper
next prev parent reply other threads:[~2026-04-13 1:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-12 18:07 Oleg Nesterov
2026-04-13 1:47 ` Jinjie Ruan [this message]
2026-04-16 20:22 ` [tip: core/urgent] entry: Kill ARCH_SYSCALL_WORK_{ENTER,EXIT} tip-bot2 for Oleg Nesterov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a06c650a-277b-d017-dbd9-7c83eb3b5f5b@huawei.com \
--to=ruanjinjie@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=tglx@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®