cvs commit: src/sys/vm uma_core.c

Jeff Roberson jeff at FreeBSD.org
Sun Nov 30 00:04:03 PST 2003


jeff        2003/11/30 00:04:01 PST

  FreeBSD src repository

  Modified files:
    sys/vm               uma_core.c 
  Log:
   - Replace the local maxcpu with mp_maxid.  Previously, if mp_maxid
     was equal to MAXCPU, we would overrun the pcpu_mtx array because maxcpu
     was calculated incorrectly.
   - Add some more debugging code so that memory leaks at the time of
     uma_zdestroy() are more easily diagnosed.
  
  Approved by:    re (rwatson)
  
  Revision  Changes    Path
  1.87      +48 -20    src/sys/vm/uma_core.c


More information about the cvs-src mailing list