Date: Sat, 16 Jul 2005 11:03:06 +0000 (UTC) From: Robert Watson <rwatson@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: <200507161103.j6GB36uj086497@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2005-07-16 11:03:06 UTC FreeBSD src repository Modified files: sys/vm uma_core.c Log: Use mp_maxid in preference to MAXCPU when creating exports of UMA per-CPU cache statistics. UMA sizes the cache array based on the number of CPUs at boot (mp_maxid + 1), and iterating based on MAXCPU could read off the end of the array (into the next zone). Reported by: yongari MFC after: 1 week Revision Changes Path 1.127 +3 -3 src/sys/vm/uma_core.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507161103.j6GB36uj086497>