diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-09-29 11:57:55 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-09-29 11:57:55 +0200 |
| commit | 97d99228466b742133bf12e00197be9b11fcc561 (patch) | |
| tree | d4c164949576c1c1f01c063ded300efa5f74cff6 /arch/x86_64/support | |
| parent | 2315e95d48337aa612b2bb20b5f8d3d0e061716c (diff) | |
| download | kernel-97d99228466b742133bf12e00197be9b11fcc561.tar.xz kernel-97d99228466b742133bf12e00197be9b11fcc561.zip | |
kapi/interrupts: improve irq_lock protections
The previous implementation suffered from four problems:
1. try_lock in the basic irq_lock always succeeded.
2. lock in the basic irq_lock always succeeded.
3. try_lock in the wrapper irq_lock did not use the base try_lock.
4. a foreign CPU could wrongly unlock a remote irq_lock.
These issues are mitigated in this patch.
Diffstat (limited to 'arch/x86_64/support')
0 files changed, 0 insertions, 0 deletions
