um: Re-evaluate thread flags repeatedly
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Fri, 4 Jul 2025 12:34:47 +0000 (14:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Jul 2025 06:49:02 +0000 (08:49 +0200)
commitb9e2f2246eb2b5617d53af7b5e4e1b8c916f26a8
treefd585d2c660645ff47c7864790b58b3d13739f84
parentac1ad16f10523c2c60aef0abeb8a850ea6d06ced
um: Re-evaluate thread flags repeatedly

The thread flags may change during their processing.
For example a task_work can queue a new signal to be sent.
This signal should be delivered before returning to usespace again.

Evaluate the flags repeatedly similar to other architectures.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://patch.msgid.link/20250704-uml-thread_flags-v1-1-0e293fd8d627@linutronix.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/include/asm/thread_info.h
arch/um/kernel/process.c