]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: core: make sure the watchdog_worker is not deferred
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 18 Jan 2018 11:11:21 +0000 (12:11 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 21 Jan 2018 11:44:59 +0000 (12:44 +0100)
commit2801a0f36b8442f1079959d92a22657844a49bb2
treea5c0ec3353b11e0f94999b6fe971f953c7149d83
parent21b446a740edb80616a0d1ea48be7df50b9c814b
watchdog: core: make sure the watchdog_worker is not deferred

commit 05a92c1ee66a4 ("softirq: Let ksoftirqd do its job") has the
effect of deferring timer handling in case of high CPU load, hence
delaying the delayed work allthought the worker is running which
high realtime priority.

As hrtimers are not managed by softirqs, this patch replaces the
delayed work by a plain work and uses an hrtimer to schedule that work.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Guenter Roeck <Linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/watchdog_dev.c