HomeFreeBSD

x86/intr: allow mutex recursion in intr_remove_handler

Description

x86/intr: allow mutex recursion in intr_remove_handler

This is needed so interrupt handlers can be removed while the PIC is
resuming, it was previously not possible due to intr_resume holding the
intr_table_lock and intr_remove_handler recursing on it.

Sponsored by: Citrix Systems R&D
Reviewed by: kib (previous version)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D4114

Details

Provenance
roygerAuthored on
Reviewer
kib
Differential Revision
D4114: x86/intr: introduce an isrc lock
Parents
rS291021: Convert to SUBDIR.yes format.
Branches
Unknown
Tags
Unknown