HomeFreeBSD

Tighten up periph lock to avoid some races

Description

Tighten up periph lock to avoid some races

Make sure the periph lock is held around rmw access to softc data,
espeically flags, including work flags in iosched.
Add asserts for the periph lock where it should be held.

PR: 226510
Sponsored by: Netflix
Differential Review: https://reviews.freebsd.org/D14456

Details

Provenance
impAuthored on Mar 12 2018, 3:17 PM
Parents
R10:48e6891944bc: The vmresult table was missing most of the values apart from two due to
Branches
Unknown
Tags
Unknown