diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-07-16 11:03:06 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-07-16 11:03:06 +0000 |
commit | 37cd630e38c7203b0118ad1a0bdd7880b9ec945c (patch) | |
tree | 351934160f1c337d6521e02b2e05aecc4ad8d28d /sys/modules/ukbd | |
parent | 4ead3022dd4e5764112c3777a52e2835310fcf7b (diff) | |
download | FreeBSD-src-37cd630e38c7203b0118ad1a0bdd7880b9ec945c.zip FreeBSD-src-37cd630e38c7203b0118ad1a0bdd7880b9ec945c.tar.gz |
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
Diffstat (limited to 'sys/modules/ukbd')
0 files changed, 0 insertions, 0 deletions