HomeFreeBSD

Instead of using an atomic operation to determine whether the devstat(9)

Description

Instead of using an atomic operation to determine whether the devstat(9)
device node has been created, pass MAKEDEV_CHECKNAME in so that the devfs
code will do the check.

Use a regular static variable as before, that's good enough to keep us from
calling into devfs most of the time.

Suggested by: kib
MFC after: 1 week
Sponsored by: Spectra Logic Corporation

Details

Provenance
kenAuthored on Jun 13 2011, 10:08 PM
Parents
rG27c959cf0561: Fix a couple of race conditions in devstat(9) initialization.
Branches
Unknown
Tags
Unknown

Event Timeline