summaryrefslogtreecommitdiffstats
path: root/sys/libkern/strtoul.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-04-30 01:54:38 +0000
committerimp <imp@FreeBSD.org>2003-04-30 01:54:38 +0000
commitc89b23b0ae4b0450523654c655751feeb6151fbc (patch)
treed907c386516db18e473c1e52fb1d5b3afb30a0cb /sys/libkern/strtoul.c
parent766ca101f3b27c9581ef992e5ab5f263907f475d (diff)
downloadFreeBSD-src-c89b23b0ae4b0450523654c655751feeb6151fbc.zip
FreeBSD-src-c89b23b0ae4b0450523654c655751feeb6151fbc.tar.gz
Get rid of the redundant 'gone' field, and overload suspend instead.
Check for suspend before the device polling, rather than after it. Check to see if the current thread owns the lock in ioctl and return EBUSY if it does. This advances the locking to the point that I can eject my fxp card 10 times in a row, but I agree with Jeff Hsu that we need to get the network layer locking finished before chasing more of the races here (actually, he doesn't think this set is worth it even). There's a number of races between FXP_LOCK in detach and all other users of FXP_LOCK, and this gets back to the 'device with sleepers being forcibly detached' problem as well...
Diffstat (limited to 'sys/libkern/strtoul.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud