Files
linux/include/linux
Balbir Singh 58e106e725 sched: Add task_work callback for paranoid L1D flush
The upcoming paranoid L1D flush infrastructure allows to conditionally
(opt-in) flush L1D in switch_mm() as a defense against potential new side
channels or for paranoia reasons. As the flush makes only sense when a task
runs on a non-SMT enabled core, because SMT siblings share L1, the
switch_mm() logic will kill a task which is flagged for L1D flush when it
is running on a SMT thread.

Add a taskwork callback so switch_mm() can queue a SIG_KILL command which
is invoked when the task tries to return to user space.

Signed-off-by: Balbir Singh <sblbir@amazon.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210108121056.21940-1-sblbir@amazon.com
2021-07-28 11:42:24 +02:00
..
2021-07-06 20:14:42 -04:00
2021-06-03 18:40:15 +02:00
2021-06-03 14:04:18 -07:00
2021-05-06 19:24:11 -07:00
2021-04-14 16:30:30 +03:00
2021-05-24 21:13:05 -07:00
2021-05-19 00:33:40 +02:00
2021-04-08 16:04:20 -07:00
2021-06-30 19:45:42 +02:00
2021-04-12 15:04:23 +02:00
2021-06-25 19:57:01 -04:00
2021-04-30 11:20:40 -07:00
2021-06-29 10:53:48 -07:00
2021-05-17 20:01:35 +02:00
2021-07-15 10:13:49 -07:00
2021-06-01 10:29:21 +01:00
2021-05-12 20:11:17 +02:00
2021-06-17 13:09:27 -04:00
2021-06-15 17:46:57 +02:00
2021-07-01 11:06:02 -07:00
2021-06-29 10:53:53 -07:00
2021-07-01 11:06:05 -07:00
2021-07-06 10:37:46 -05:00
2021-06-16 17:20:40 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-07-06 10:37:46 -05:00
2021-06-12 13:08:57 -07:00
2021-06-07 14:11:47 -07:00
2021-06-30 19:12:19 +02:00
2021-05-10 16:03:35 -07:00
2021-06-24 15:49:32 +02:00
2021-07-01 11:06:03 -07:00
2021-07-01 11:06:03 -07:00
2021-03-25 17:39:33 -07:00
2021-05-21 22:13:13 +02:00
2021-05-13 18:29:11 +02:00
2021-05-13 16:57:17 +02:00
2021-03-30 17:06:49 -07:00
2021-03-30 13:42:33 -04:00