Re: [RFC PATCH 04/13] x86/um: nommu: syscall handling

2024-10-25 Thread Hajime Tazaki
On Fri, 25 Oct 2024 18:14:19 +0900, Johannes Berg wrote: > > On Thu, 2024-10-24 at 21:09 +0900, Hajime Tazaki wrote: > > > > +++ b/arch/x86/um/do_syscall_64.c > > @@ -0,0 +1,42 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > + > > +#include > > +#include > > +#include > > +#include > > +#in

Re: [RFC PATCH 04/13] x86/um: nommu: syscall handling

2024-10-25 Thread Johannes Berg
On Thu, 2024-10-24 at 21:09 +0900, Hajime Tazaki wrote: > > +++ b/arch/x86/um/do_syscall_64.c > @@ -0,0 +1,42 @@ > +// SPDX-License-Identifier: GPL-2.0 > + > +#include > +#include > +#include > +#include > +#include > + > +#ifndef CONFIG_MMU This seems unnecessary, you don't build the file w

[RFC PATCH 04/13] x86/um: nommu: syscall handling

2024-10-25 Thread Hajime Tazaki
This commit introduces an entry point of syscall interface for !MMU mode. It uses an entry function, __kernel_vsyscall, a kernel-wide global symbol accessible from any locations. Although it isn't in the scope of this commit, it can be also exposed via vdso image which is directly accessible from