Fix sff panic deadlock, share the evdev probe, assorted review cleanups

This commit is contained in:
flamingcow
2026-08-31 15:51:52 -07:00
parent 10d97ee82a
commit e4731c94cd
13 changed files with 205 additions and 272 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ func (h *history) addFaults(now time.Time, e errs) {
func (h *history) addCorrected(now time.Time, d uint64) {
h.mu.Lock()
h.slot(int64(now.Sub(h.start)/histSlotSpan)).corrected += d
h.slot(int64(now.Sub(h.start) / histSlotSpan)).corrected += d
h.mu.Unlock()
}