看板 FB_smp 關於我們 聯絡資訊
> 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 <jkoshy@freebsd.org> _______________________________________________ freebsd-smp@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-smp To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org"