iterations

Frank Ch. Eigler fche@redhat.com
Thu Mar 17 01:06:00 GMT 2005


Hi -


hunt wrote:

> [...]
> BTW, I should also mention that I realize that the state data stored in
> the map struct must be valid between calls.  That will be changed to be
> per-cpu data to eliminate conflicts with multiple CPUs.
> 
> So _stp_map_key_xxx() only needs a reader lock as does _stp_map_get_xxx
> ().  _stp_map_set_xxx() and _stp_map_key_del() need a writer lock.

It may be just as useful to leave the chore of all such
locking explicitly to the translator.


- FChE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050317/4c70a2ed/attachment.sig>


More information about the Systemtap mailing list