This is the mail archive of the systemtap@sources.redhat.com mailing list for the systemtap project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |