[dtrace-discuss] What am I missing in the dtrace script?
Brian D. Horn
Brian.Horn at Sun.COM
Thu Jul 12 13:16:12 PDT 2007
Wee Yeh Tan wrote:
> On 7/11/07, Brian D. Horn <Brian.Horn at sun.com> wrote:
>> BTW, where is it documented that globals are not lock protected but
>> aggregates are?
>
> aggregates need not be lock protected. It works on a per-cpu buffer.
>
> See
> <http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/sys/dtrace_impl.h#247>
>
>
Ok, then the question becomes "Where is documented that aggregates are
MP safe, but scalars are
not MP safe?"
More information about the dtrace-discuss
mailing list