cvs commit: src/sys/kern kern_poll.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Oct 1 04:19:59 PDT 2007


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





More information about the Commits mailing list