]> www.infradead.org Git - users/jedix/linux-maple.git/commit
um: Delay flushing syscalls until the thread is restarted
authorBenjamin Berg <benjamin@sipsolutions.net>
Wed, 3 Jul 2024 13:45:32 +0000 (15:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2024 15:09:49 +0000 (17:09 +0200)
commit3c83170d7cdf3df12e430c429462776dcb52ff87
treef9f5473d6bc22c63cb79c2c164f19baa2ec6214f
parenta5d2cfe749e2917266956751262328da35e0925d
um: Delay flushing syscalls until the thread is restarted

As running the syscalls is expensive due to context switches, we should
do so as late as possible in case more syscalls need to be queued later
on. This will also benefit a later move to a SECCOMP enabled userspace
as in that case the need for extra context switches is removed entirely.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
Link: https://patch.msgid.link/20240703134536.1161108-9-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/include/shared/os.h
arch/um/include/shared/skas/mm_id.h
arch/um/include/shared/skas/skas.h
arch/um/kernel/skas/process.c
arch/um/kernel/tlb.c
arch/um/os-Linux/skas/mem.c
arch/um/os-Linux/skas/process.c