[PATCH 0/4] um: Make errno multi-thread safe

Tiwei Bie tiwei.btw at antgroup.com
Fri Feb 21 00:40:45 PST 2025


Tiwei Bie (4):
  um: Add the 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       |  4 +--
 arch/um/drivers/ubd_kern.c  | 25 +++++++--------
 arch/um/drivers/ubd_user.c  | 13 ++++----
 arch/um/include/shared/os.h |  3 ++
 arch/um/os-Linux/helper.c   | 64 +++++++++++++++++++++++++++++++++++++
 arch/um/os-Linux/sigio.c    | 44 +++++++++++--------------
 6 files changed, 105 insertions(+), 48 deletions(-)

-- 
2.34.1




More information about the linux-um mailing list