diff options
| author | Bojan Novković <bnovkov@FreeBSD.org> | 2025-08-11 18:57:31 +0000 |
|---|---|---|
| committer | Bojan Novković <bnovkov@FreeBSD.org> | 2025-10-17 21:20:21 +0000 |
| commit | 96d82d2d133acaf8effa2e3aee546276e39ff9f2 (patch) | |
| tree | 3bc665182a3ceeba4bdaacc26defb561700d00da /sys/dev/netmap | |
| parent | e868a2026635c0e083bd6201645add811a7005ba (diff) | |
pt: Switch to swi(9)
The pt hwt(4) backend uses NMIs to receive updates about the latest t
racing buffer offsets from the tracing hardware. However, it uses
taskqueue(9) to schedule the bottom-half handler. This can lead to
a panic since the taskqueue(9) code isn't aware it's being called
from an NMI context and uses the regular scheduling interfaces.
Fix this by scheduling the bottom-half handler using swi(9) and the
SWI_FROMNMI flag.
Fixes: 310162ea218a
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D52491
Diffstat (limited to 'sys/dev/netmap')
0 files changed, 0 insertions, 0 deletions
