summaryrefslogtreecommitdiffstats
path: root/sys/modules/ukbd
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-07-16 11:03:06 +0000
committerrwatson <rwatson@FreeBSD.org>2005-07-16 11:03:06 +0000
commit37cd630e38c7203b0118ad1a0bdd7880b9ec945c (patch)
tree351934160f1c337d6521e02b2e05aecc4ad8d28d /sys/modules/ukbd
parent4ead3022dd4e5764112c3777a52e2835310fcf7b (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud