DragonFlyBSD/src e8b1691 — sys/kern kern_mutex.c kern_spinlock.c, sys/platform/vkernel64/x86_64 exception.c
kernel - Test pending ints in more crit_exit*() paths * A number of crit_exit*() paths, primarily in the mutex and spinlock code, were not testing for interrupts made pending on the last unwind of the critical section. This was originally intended to improve performance, but it can lead to non-deterministic latencies for processing interrupts. * Process these pending events in such cases. We will see if it affects performance but I don't think it will be noticeable.
Delta | File | |
---|---|---|
+19 | -19 | sys/kern/kern_mutex.c |
+8 | -8 | sys/platform/vkernel64/x86_64/exception.c |
+3 | -3 | sys/sys/mutex2.h |
+2 | -2 | sys/sys/spinlock2.h |
+1 | -1 | sys/kern/kern_spinlock.c |
+33 | -33 | 5 files |