]> git.baikalelectronics.ru Git - kernel.git/commit
hrtimer: Improve comments on handling priority inversion against softirq kthread
authorFrederic Weisbecker <frederic@kernel.org>
Tue, 20 Aug 2019 13:12:23 +0000 (15:12 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 20 Aug 2019 20:05:46 +0000 (22:05 +0200)
commit78ca6cea8163d4b844f0dc6f2e77ee55ad3617b8
treebb5c920be193be0a68973d54969868b680e8ab9f
parentee1aa972dc93c00ce0f1dce9eb5b3e7570532131
hrtimer: Improve comments on handling priority inversion against softirq kthread

The handling of a priority inversion between timer cancelling and a a not
well defined possible preemption of softirq kthread is not very clear.

Especially in the posix timers side it's unclear why there is a specific RT
wait callback.

All the nice explanations can be found in the initial changelog of
24e6df4123b3 (hrtimer: Prepare support for PREEMPT_RT").

Extract the detailed informations from there and put it into comments.

Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190820132656.GC2093@lenoir
kernel/time/hrtimer.c
kernel/time/posix-timers.c