linux-yocto/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
..
drivers um: Make local functions and variables static 2024-04-22 21:43:03 +02:00
skas um: mark rodata read-only and implement _nofault accesses 2025-03-18 11:03:14 +01:00
elf_aux.c um: Add an internal header shared among the user code 2024-04-30 14:16:44 +02:00
execvp.c um: Allow builds with Clang 2022-03-21 08:13:03 -07:00
file.c um: remove file sync for stub data 2024-11-07 17:36:30 +01:00
helper.c um: Prohibit the VM_CLONE flag in run_helper_thread() 2025-03-20 09:26:38 +01:00
internal.h um: Add an internal header shared among the user code 2024-04-30 14:16:44 +02:00
irq.c um: Remove the unneeded result variable 2023-02-01 22:11:24 +01:00
main.c um: Remove unused THREAD_NAME_LEN macro 2025-01-10 13:49:57 +01:00
Makefile um: restore process name 2024-10-23 09:25:55 +02:00
mem.c um: set DONTDUMP and DONTFORK flags on KASAN shadow memory 2024-11-07 17:36:30 +01:00
process.c um: remove copy_from_kernel_nofault_allowed 2025-03-18 11:03:29 +01:00
registers.c um: switch to regset API and depend on XSTATE 2024-10-23 12:13:16 +02:00
sigio.c um: Rewrite the sigio workaround based on epoll and tgkill 2025-03-20 09:28:44 +01:00
signal.c um: mark rodata read-only and implement _nofault accesses 2025-03-18 11:03:14 +01:00
start_up.c um: remove LDT support 2024-07-03 17:09:49 +02:00
time.c um: Remove unused timeval_to_ns() function 2022-03-11 10:49:50 +01:00
tty.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
umid.c um: Do not propagate uml_dir parameter to kernel 2024-10-23 09:52:48 +02:00
user_syms.c Revert "[PATCH] uml: export symbols added by GCC hardened" 2023-06-15 04:47:04 +09:00
util.c um: always include kconfig.h and compiler-version.h 2024-11-07 17:36:30 +01:00