diff options
author | Damien Zammit via Bug reports for the GNU Hurd <bug-hurd@gnu.org> | 2024-11-23 22:20:32 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-11-24 00:04:24 +0100 |
commit | 8ef7e26975544e0acce75610be8a372e5f5c4931 (patch) | |
tree | 2bf1ef9a50af02284887ad426752e048b5a56fae /vm/vm_page.c | |
parent | 506878269a232a7d3722d4598d9fb57a61b5272a (diff) | |
download | gnumach-8ef7e26975544e0acce75610be8a372e5f5c4931.tar.gz gnumach-8ef7e26975544e0acce75610be8a372e5f5c4931.tar.bz2 gnumach-8ef7e26975544e0acce75610be8a372e5f5c4931.zip |
device/intr: Account for interrupts that could not be delivered
When an irq handler dies, we are decrementing the n_unacked count
and calling __enable_irq() the right number of times, but we need
to decrement the total interrupt count by the number that were lost
and also clear that number.
This fixes a hang when a shared irq handler quits and leaves some
unacked interrupts.
Message-ID: <20241123222020.245519-1-damien@zamaudio.com>
Diffstat (limited to 'vm/vm_page.c')
0 files changed, 0 insertions, 0 deletions