> One of the engineers here seems to have found a bug in the
> hwpmc_mod.c module.  The problem we have is that cpuids can be
> greater than mp_ncpus due to sparseness.

> Does the fix here make sense?  (replace mp_ncpus with MAXCPU)

No, a simple global substitution would probably be incorrect because
it would allow userland to get hwpmc to attempt operations on
non-existent CPUs.

I will look into this.

Regards,
Koshy
<[EMAIL PROTECTED]>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-smp
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to