[PATCH v3 4/4] compat: remove some compat entry points
Arnd Bergmann
arnd at kernel.org
Thu May 20 02:21:12 PDT 2021
On Wed, May 19, 2021 at 11:00 PM Arnd Bergmann <arnd at kernel.org> wrote:
>
> On Wed, May 19, 2021 at 10:33 PM Thomas Gleixner <tglx at linutronix.de> wrote:
> >
> > On Mon, May 17 2021 at 22:33, Arnd Bergmann wrote:
> > > From: Arnd Bergmann <arnd at arndb.de>
> > >
> > > These are all handled correctly when calling the native
> > > system call entry point, so remove the special cases.
> > > arch/x86/entry/syscall_x32.c | 2 ++
> > > arch/x86/entry/syscalls/syscall_32.tbl | 6 ++--
> > > arch/x86/entry/syscalls/syscall_64.tbl | 4 +--
> >
> > That conflicts with
> >
> > https://lore.kernel.org/lkml/20210517073815.97426-1-masahiroy@kernel.org/
> >
> > which I'm picking up. We have more changes in that area coming in.
>
> Ok, thanks for the heads-up. I'll try a merge or rebase to see how this can be
> handled. If both the drivers/net and drivers/media get picked up for 5.14, maybe
> the rebased patches can go through -mm on top, along with the final
> removal of compat_alloc_user_space()/copy_in_user(). If not, I suppose these
> four patches can also wait another release.
On second thought, this patch 4/4 is not even required here to kill off
compat_alloc_user_space, so the easiest alternative might be to merge the
other patches first, and then do this part together with the removal of
the unused functions in a follow-up series.
Arnd
More information about the kexec
mailing list