OSDN Git Service

clocksource: Remove kthread
authorPeter Zijlstra <peterz@infradead.org>
Mon, 30 Apr 2018 10:00:15 +0000 (12:00 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 May 2018 14:11:46 +0000 (16:11 +0200)
commit7197e77abcb65a71d0b21d67beb24f153a96055e
tree0ef363d4e4ec3f4351ec82fa078603f882f03e00
parent604a98f1df2897f9ea6ca6bdab8e1c2d6844be01
clocksource: Remove kthread

The clocksource watchdog uses a work to spawn a kthread to run the
watchdog. That is about as silly as it sounds, run the watchdog
directly from the work.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: len.brown@intel.com
Cc: rjw@rjwysocki.net
Cc: diego.viola@gmail.com
Cc: rui.zhang@intel.com
Link: https://lkml.kernel.org/r/20180430100344.713862818@infradead.org
kernel/time/clocksource.c