Date: Sun, 30 Nov 2003 00:04:01 -0800 (PST) From: Jeff Roberson <jeff@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm uma_core.c Message-ID: <200311300804.hAU84211002538@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311300804.hAU84211002538>
