cvs commit: src/sys/kern uipc_mbuf.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun May 13 15:57:26 PDT 2007


dillon      2007/05/13 15:56:59 PDT

DragonFly src repository

  Modified files:
    sys/kern             uipc_mbuf.c 
  Log:
  Make the kern.ipc.nmbclusters and kern.ipc.nmbufs sysctls read-only.
  These may only be set as boot-time variables in /boot/loader.conf.
  
  Adjusting them after the fact w/sysctl will not update the objcache limits
  and will cause a ton of confusion because then netstat -m will report
  the adjusted limits but the system won't actually be using the adjusted
  limits.
  
  objcache mbuf limits can be adjusted dynamically, we just need some code to
  do it -> for the future!
  
  Reported-by: Peter Avalos <pavalos at theshell.com>
  
  Revision  Changes    Path
  1.62      +8 -2      src/sys/kern/uipc_mbuf.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_mbuf.c.diff?r1=1.61&r2=1.62&f=u





More information about the Commits mailing list