[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-commits-all
Subject:    Re: cvs commit: src/sys/vm uma_core.c
From:       Bruce M Simpson <bms () spc ! org>
Date:       2003-11-30 14:11:15
[Download RAW message or body]

Jeff,

On Sun, Nov 30, 2003 at 12:04:01AM -0800, Jeff Roberson wrote:
>   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.

This change appears to break compilation of uniprocessor kernels. The
mp_maxid variable is defined in kern/subr_smp.c. In a uniprocessor kernel,
this symbol is undefined:-

kimchi:~/cvs/src/sys % nm /boot/kernel/kernel | grep mp_maxid
Exit 1

Regards,
BMS
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic