aboutsummaryrefslogtreecommitdiff
path: root/tools/debugscripts
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2019-12-07 00:28:08 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2019-12-07 00:28:08 +0000
commitff326a187907ebc1d6ebb6b0d40caf1137e20377 (patch)
treeabf826f1fbb6dcc19d28ba463576d7b9cd4ed940 /tools/debugscripts
parent3e5b13991cd4e7febcc4165fe7bddfae8bcf5ba8 (diff)
x86: Restore the critical section around whole ipi_bitmap_handler() if
hardclock IPI is delivered. In the current code after r355311, critical section is taken only around hardclockintr() call, and sched_preempt() is called after the section is exited. If we reschedule after exit, as we typically would due to conditions that caused IPI, in ULE the runq tdq_ipipending is not cleared, which blocks generation of further preempt IPIs. Since all relatively modern (10 years) hardware has per-cpu event timers, restoring the critical section conditionally does not affect it. Reported and tested by: cy Diagnosed and reviewed by: jeff (previous version) Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D22716
Notes
svn path=/head/; revision=355475
Diffstat (limited to 'tools/debugscripts')
0 files changed, 0 insertions, 0 deletions