DragonFly commits List (threaded) for 2007-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern kern_poll.c
sephe 2007/10/01 04:18:44 PDT
DragonFly src repository
Modified files:
sys/kern kern_poll.c
Log:
- Move polling disablement, i.e. deregistering all NICs, out of hot code path.
- When the last NIC is deregistered or polling is disabled, reset all interval
state.
- Return immediately in netisr_poll/netisr_pollmore if no NIC is registered.
- Add assertion in netisr_poll/netisr_pollmore: it is not possible that polling
is not enabled but there are registered NIC.
- Comment pollctx structure fields.
Revision Changes Path
1.41 +90 -57 src/sys/kern/kern_poll.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_poll.c.diff?r1=1.40&r2=1.41&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]