Files
linux_media/include/linux
Jens Axboe 12db8b6900 entry: Add support for TIF_NOTIFY_SIGNAL
Add TIF_NOTIFY_SIGNAL handling in the generic entry code, which if set,
will return true if signal_pending() is used in a wait loop. That causes an
exit of the loop so that notify_signal tracehooks can be run. If the wait
loop is currently inside a system call, the system call is restarted once
task_work has been processed.

In preparation for only having arch_do_signal() handle syscall restarts if
_TIF_SIGPENDING isn't set, rename it to arch_do_signal_or_restart().  Pass
in a boolean that tells the architecture specific signal handler if it
should attempt to get a signal, or just process a potential syscall
restart.

For !CONFIG_GENERIC_ENTRY archs, add the TIF_NOTIFY_SIGNAL handling to
get_signal(). This is done to minimize the needed architecture changes to
support this feature.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Link: https://lore.kernel.org/r/20201026203230.386348-3-axboe@kernel.dk
2020-10-29 09:37:36 +01:00
..
2020-08-03 18:19:23 -07:00
2020-06-25 22:25:13 -07:00
2020-07-27 14:55:22 +01:00
2020-07-21 08:24:52 -05:00
2020-07-08 10:48:35 -07:00
2020-07-21 13:26:26 -07:00
2020-07-27 14:29:23 -04:00
2020-08-14 19:56:56 -07:00
2020-07-24 17:12:41 -07:00
2020-08-04 21:02:38 -04:00
2020-07-24 17:12:41 -07:00
2020-06-26 10:01:08 -06:00
2020-07-31 18:08:59 +10:00
2020-07-24 15:41:54 -07:00
2020-07-01 10:49:02 +02:00
2020-07-23 17:34:18 +10:00
2020-07-16 23:19:51 +02:00
2020-07-20 09:39:11 +02:00
2020-08-07 11:33:24 -07:00
2020-07-04 09:35:36 -05:00
2020-07-07 11:58:59 -05:00
2020-08-01 11:28:17 +02:00
2020-06-26 00:27:38 -07:00