um: compress memory related stub syscalls while adding them
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 3 Jul 2024 13:45:29 +0000 (15:45 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2024 15:09:49 +0000 (17:09 +0200)
commit6d8992e49e2aed3ee2d73b88050f40f26ae6bf86
treeaa72a8731989ea47256331e6b81ea95dfc942ac5
parent76ed9158e1d474e963fc59da7a461b27a2212c5a
um: compress memory related stub syscalls while adding them

To keep the number of syscalls that the stub has to do lower, compress
two consecutive syscalls of the same type if the second is just a
continuation of the first.

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