um: simplify and consolidate TLB updates
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 3 Jul 2024 13:45:35 +0000 (15:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2024 15:09:50 +0000 (17:09 +0200)
commit573a446fc8ea4ca9be60b1db2091297da48d0a0d
treee2354f08dc0a3372a49211304d2ce1a199e4b37b
parentef714f15027ca6f72e90d9a198c72e93b855e2a8
um: simplify and consolidate TLB updates

The HVC update was mostly used to compress consecutive calls into one.
This is mostly relevant for userspace where it is already handled by the
syscall stub code.

Simplify the whole logic and consolidate it for both kernel and
userspace. This does remove the sequential syscall compression for the
kernel, however that shouldn't be the main factor in most runs.

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