diff options
author | bms <bms@FreeBSD.org> | 2004-07-05 02:51:32 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-07-05 02:51:32 +0000 |
commit | cb2c8bdf97c24d447cc1fbf95b2241a3307e99e2 (patch) | |
tree | d4ced347697b10b055a705f92d4badb9d02e57fa /sys/kern | |
parent | 3f1c9f08bebe005f988f28834581abdeb7b36080 (diff) | |
download | FreeBSD-src-cb2c8bdf97c24d447cc1fbf95b2241a3307e99e2.zip FreeBSD-src-cb2c8bdf97c24d447cc1fbf95b2241a3307e99e2.tar.gz |
Locking cleanup for rl(4).
- Eliminate the use of a recursive mutex.
- Mark the driver INTR_MPSAFE.
This work is incomplete and will be refined in a future commit.
- Most notably, _locked() variants of entry points need to be introduced.
- The mii upcall/downcall may still be racy.
- Add a stubbed-out guard against racing rl_detach() for the time being.
Tested on: UP, debug.mpsafenet && !debug.mpsafenet
Reviewed by: silence on -net
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions