Checkout
Yann Ylavic
committed
on 02 Jan 18
mpm_event: remove atomics for timeout_queue's total counter.

It's always updated under the timeout_mutex lock, or read for logging and
scor… Show more
mpm_event: remove atomics for timeout_queue's total counter.

It's always updated under the timeout_mutex lock, or read for logging and

scoreboard updates (not critical).

For the read cases a volatile access is enough, while removing the atomic ops

for the already protected write cases saves cycles and context switches.

Show less