[PATCH v2 0/4] um: Make errno multi-thread safe
Tiwei Bie
tiwei.btw at antgroup.com
Thu Mar 6 07:07:43 PST 2025
v2:
- 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