Files
Linux/kernel
Thomas Gleixner d00a08cf9e irq/work: Use llist_for_each_entry_safe
The llist_for_each_entry() loop in irq_work_run_list() is unsafe because
once the works PENDING bit is cleared it can be requeued on another CPU.

Use llist_for_each_entry_safe() instead.

Fixes: 16c0890dc6 ("irq/work: Don't reinvent the wheel but use existing llist API")
Reported-by:Chris Wilson <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Byungchul Park <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Petri Latvala <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
2017-11-12 13:15:14 +01:00
..
2017-05-12 15:57:15 -07:00
2017-05-23 10:01:37 +02:00
2017-09-05 09:46:59 -04:00
…
2017-07-15 20:46:47 -04:00
…
2017-05-18 10:30:19 -06:00
…
…
2017-09-29 13:43:15 -04:00
…
2017-09-08 18:26:51 -07:00
2017-07-25 15:08:32 +02:00
2017-08-21 12:47:31 -07:00
…
…
2017-09-08 18:26:48 -07:00
…
…
2017-09-04 19:05:15 -04:00