diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-07-30 20:15:25 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-08-01 20:51:19 +0200 |
commit | 0ab6a3ddbad40ef5b6b8c2353fd53fa4ecf9c479 (patch) | |
tree | 335ebbdf4f72314e51e03ce182e20ac494259f06 /kernel/sched | |
parent | ae6683d815895c2be1e60e1942630fa99488055b (diff) | |
download | linux-0ab6a3ddbad40ef5b6b8c2353fd53fa4ecf9c479.tar.gz linux-0ab6a3ddbad40ef5b6b8c2353fd53fa4ecf9c479.tar.bz2 linux-0ab6a3ddbad40ef5b6b8c2353fd53fa4ecf9c479.zip |
hrtimer: Make enqueue mode check work on RT
hrtimer_start_range_ns() has a WARN_ONCE() which verifies that a timer
which is marker for softirq expiry is not queued in the hard interrupt base
and vice versa.
When PREEMPT_RT is enabled, timers which are not explicitely marked to
expire in hard interrupt context are deferrred to the soft interrupt. So
the regular check would trigger.
Change the check, so when PREEMPT_RT is enabled, it is verified that the
timers marked for hard interrupt expiry are not tried to be queued for soft
interrupt expiry or any of the unmarked and softirq marked is tried to be
expired in hard interrupt context.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions