[PATCH v3 0/4] um: Make errno multi-thread safe
Tiwei Bie
tiwei.btw at antgroup.com
Wed Mar 19 06:55:19 PDT 2025
v3:
- Fix os_kill_helper_thread() (reported by Johannes);
v2 (https://lore.kernel.org/all/20250306150747.2926434-1-tiwei.btw@antgroup.com/):
- Do not define the thread handle type as void *;
- Minor tweaks to commit messages, log and comments;
v1:
https://lore.kernel.org/all/20250221084049.1332318-1-tiwei.btw@antgroup.com/
Tiwei Bie (4):
um: Add pthread-based helper support
um: ubd: Switch to the pthread-based helper
um: Switch to the pthread-based helper in sigio workaround
um: Prohibit the VM_CLONE flag in run_helper_thread()
arch/um/drivers/ubd.h | 6 ++--
arch/um/drivers/ubd_kern.c | 25 ++++++--------
arch/um/drivers/ubd_user.c | 14 ++++----
arch/um/include/shared/os.h | 5 +++
arch/um/os-Linux/helper.c | 67 +++++++++++++++++++++++++++++++++++++
arch/um/os-Linux/sigio.c | 44 +++++++++++-------------
6 files changed, 113 insertions(+), 48 deletions(-)
--
2.34.1
More information about the linux-um
mailing list