[PATCH] hwpmc(4) changes to use 'mp_maxid' instead of
'mp_ncpus'.
Joseph Koshy
joseph.koshy at gmail.com
Fri Mar 14 17:03:09 UTC 2008
rw> Koshy has pointed out that changing just the kernel parts is
*insufficient* to
rw> remove the assumption of non-sparse CPU identifiers, because the
kernel parts
rw> are not all there is to hwpmc. The KASSERT()s document not just the
rw> assumptions of the kernel code, which are updated by the proposed
patch, but
rw> also relate to the guarantees made by the user APIs for hwpmc libraries,
rw> tools, and documentation. They are directly affected by the
proposed change
rw> because they both expose and rely on the non-sparse CPU
identifier assumption,
rw> and also need to be updated to reflect the changed assumption.
Thank you Robert, for keeping the focus on the technical issues.
Regards,
Koshy
More information about the freebsd-arch
mailing list