Files
linux/arch/um/os-Linux
Tiwei Bie 33c9da5dfb um: Rewrite the sigio workaround based on epoll and tgkill
The existing sigio workaround implementation removes FDs from the
poll when events are triggered, requiring users to re-add them via
add_sigio_fd() after processing. This introduces a potential race
condition between FD removal in write_sigio_thread() and next_poll
update in __add_sigio_fd(), and is inefficient due to frequent FD
removal and re-addition. Rewrite the implementation based on epoll
and tgkill for improved efficiency and reliability.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250315161910.4082396-2-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-03-20 09:28:44 +01:00
..
2022-03-21 08:13:03 -07:00
2024-11-07 17:36:30 +01:00
2023-02-01 22:11:24 +01:00
2025-01-10 13:49:57 +01:00
2024-10-23 09:25:55 +02:00
2024-07-03 17:09:49 +02:00