[PATCH] um: Allocate vdso page pointer statically

2025-02-11 Thread Tiwei Bie
Instead of dynamically allocating the pointer to the vdso page during boot, we can just allocate it statically. Doing so will reduce error handling and make the code slightly more readable. Signed-off-by: Tiwei Bie --- arch/x86/um/vdso/vma.c | 17 +++-- 1 file changed, 3 insertions(+

Re: [PATCH v1] kbuild: Allow building of samples with UML

2025-02-11 Thread Nicolas Schier
On Tue, Feb 11, 2025 at 06:44:30PM +0900, Masahiro Yamada wrote: > On Wed, Dec 18, 2024 at 8:51 PM Mickaël Salaün wrote: > > > > It's useful to build samples/* with UML and the only blocker is the > > artificial incompatibility with CONFIG_HEADERS_INSTALL. > > > > Allow the headers_install target

Re: [PATCH v1] kbuild: Allow building of samples with UML

2025-02-11 Thread Masahiro Yamada
On Wed, Dec 18, 2024 at 8:51 PM Mickaël Salaün wrote: > > It's useful to build samples/* with UML and the only blocker is the > artificial incompatibility with CONFIG_HEADERS_INSTALL. > > Allow the headers_install target with ARCH=um, which then allow building > samples (and tests using them) with