]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit0bee3b601b77dbe7981b5474ae8758d6bf60177a
treebb5c920be193be0a68973d54969868b680e8ab9f
parentec8f954a40da8cd3d159713b608e901f0cd909a9
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
f61eff83cec9 (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