linux/arch/um/include/shared
Benjamin Berg 2f681ba4b3 um: move thread info into task
This selects the THREAD_INFO_IN_TASK option for UM and changes the way
that the current task is discovered. This is trivial though, as UML
already tracks the current task in cpu_tasks[] and this can be used to
retrieve it.

Also remove the signal handler code that copies the thread information
into the IRQ stack. It is obsolete now, which also means that the
mentioned race condition cannot happen anymore.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Hajime Tazaki <thehajime@gmail.com>
Link: https://patch.msgid.link/20241111102910.46512-1-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-11-12 14:50:31 +01:00
..
skas um: Abandon the _PAGE_NEWPROT bit 2024-10-23 09:52:49 +02:00
arch.h
as-layout.h um: move thread info into task 2024-11-12 14:50:31 +01:00
common-offsets.h um: remove duplicate UM_NSEC_PER_SEC definition 2024-11-07 17:36:31 +01:00
elf_user.h
frame_kern.h
init.h
irq_kern.h
irq_user.h
kern.h
kern_util.h um: remove fault_catcher infrastructure 2024-10-23 09:52:46 +02:00
longjmp.h
mem.h
mem_user.h um: Remove highmem leftovers 2024-10-10 12:02:13 +02:00
net_kern.h
net_user.h
os.h um: remove broken double fault detection 2024-11-07 17:36:31 +01:00
ptrace_user.h
registers.h um: always use the internal copy of the FP registers 2024-10-10 12:03:55 +02:00
sigio.h
timetravel.h um: always include kconfig.h and compiler-version.h 2024-11-07 17:36:30 +01:00
um_malloc.h
user.h um: always include kconfig.h and compiler-version.h 2024-11-07 17:36:30 +01:00