HomeFreeBSD

Use atomic for start_count in devstat_start_transaction().

Description

Use atomic for start_count in devstat_start_transaction().

Combined with earlier nstart/nend removal it allows to remove several locks
from request path of GEOM and few other places. It would be cool if we had
more SMP-friendly statistics, but this helps too.

Sponsored by: iXsystems, Inc.

Details

Provenance
mavAuthored on
Parents
rS356199: [PowerPC] Fix panic when attempting to handle an HMI from an idle thread
Branches
Unknown
Tags
Unknown