HomeFreeBSD

Fix a race in smr_advance() that could result in unnecessary poll calls.

Description

Fix a race in smr_advance() that could result in unnecessary poll calls.

This was relatively harmless but surprising to see in counters. The
race occurred when rd_seq was read after the goal was updated and we
incorrectly calculated the delta between them.

Reviewed by: rlibby
Differential Revision: https://reviews.freebsd.org/D23464

Details

Provenance
jeffAuthored on Feb 6 2020, 8:51 PM
Parents
rGcd0be8b2ed2e: Temporarily force IFF_NEEDSEPOCH until drivers have been resolved.
Branches
Unknown
Tags
Unknown

Event Timeline