summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_4bsd.c
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-11-30 08:04:01 +0000
committerjeff <jeff@FreeBSD.org>2003-11-30 08:04:01 +0000
commit80dcf38c3a044a522cf56524814485f1c7f943df (patch)
treeae08152942b5cb874a44f614cacda561f090001a /sys/kern/sched_4bsd.c
parentf9d5cf51fba01fd6a5fa51d440514969b7682939 (diff)
downloadFreeBSD-src-80dcf38c3a044a522cf56524814485f1c7f943df.zip
FreeBSD-src-80dcf38c3a044a522cf56524814485f1c7f943df.tar.gz
- 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)
Diffstat (limited to 'sys/kern/sched_4bsd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud