cvs commit: src/sys/kern kern_poll.c

Gleb Smirnoff glebius at FreeBSD.org
Mon Oct 3 07:15:27 PDT 2005


glebius     2005-10-03 14:15:26 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_poll.c 
  Log:
  o Move a lot of parameter checking from netisr_poll() to
    dedicated sysctl handlers. Protect manipulations with
    poll_mtx. The affected sysctls are:
    - kern.polling.burst_max
    - kern.polling.each_burst
    - kern.polling.user_frac
    - kern.polling.reg_frac
  o Use CTLFLAG_RD on MIBs that supposed to be read-only.
  o u_int32t -> uint32_t
  o Remove unneeded locking from poll_switch().
  
  Revision  Changes    Path
  1.24      +120 -69   src/sys/kern/kern_poll.c


More information about the cvs-src mailing list