Files
kernel/include/linux
Petr Mladek 98c985d7da kthread: mark timer used by delayed kthread works as IRQ safe
The timer used by delayed kthread works are IRQ safe because the used
kthread_delayed_work_timer_fn() is IRQ safe.

It is properly marked when initialized by KTHREAD_DELAYED_WORK_INIT().
But TIMER_IRQSAFE flag is missing when initialized by
kthread_init_delayed_work().

The missing flag might trigger invalid warning from del_timer_sync() when
kthread_mod_delayed_work() is called with interrupts disabled.

This patch is result of a discussion about using the API, see
https://lkml.kernel.org/r/cfa886ad-e3b7-c0d2-3ff8-58d94170eab5@ti.com

Reported-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20200217120709.1974-1-pmladek@suse.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-02 09:35:25 -07:00
..
2020-02-16 18:30:41 -08:00
2020-03-27 12:04:34 -06:00
2020-02-04 03:05:26 +00:00
2020-02-04 03:05:26 +00:00
2020-03-30 01:34:00 +02:00
2020-01-23 00:35:50 +01:00
2020-03-09 11:12:19 +01:00
2020-02-17 13:37:00 +01:00
2020-01-27 11:09:31 +01:00
2020-03-13 12:49:51 -07:00
2020-03-06 11:06:15 +01:00
2020-03-23 11:17:22 +01:00
2020-03-21 16:00:24 +01:00
2020-01-31 17:33:54 +00:00
2020-02-20 21:17:24 +01:00
2020-03-06 11:56:59 +01:00
2020-03-21 16:00:24 +01:00
2020-03-12 07:44:17 -06:00
2020-03-17 18:31:05 +01:00
2020-03-12 17:33:11 -07:00
2020-03-21 16:00:24 +01:00
2020-02-21 10:31:18 +01:00
2020-03-29 21:53:18 -07:00
2020-02-04 03:05:24 +00:00
2020-03-21 16:00:24 +01:00
2020-03-02 14:04:31 -07:00
2020-02-04 03:05:26 +00:00
2020-02-21 11:22:15 -08:00
2020-03-23 17:01:47 +01:00
2020-03-21 18:56:06 -07:00