DragonFlyBSD/src e8b1691sys/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.
DeltaFile
+19-19sys/kern/kern_mutex.c
+8-8sys/platform/vkernel64/x86_64/exception.c
+3-3sys/sys/mutex2.h
+2-2sys/sys/spinlock2.h
+1-1sys/kern/kern_spinlock.c
+33-335 files

UnifiedSplitRaw