This is the mail archive of the systemtap@sourceware.org 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]

Re: About last_tsk in _stp_module_relocate


Mark Wielaard <mjw@redhat.com> writes:

> [...]
> I wasn't sure _stp_module_relocate couldn't be called simultaneously
> from different threads/cpus. If it can then this caching might not be
> safe.

When it applied to only kernel modules, it was safe, since it was only
used during script module initialization.  Now that it's used for
userspace too, the caching has to be made smp-safe or just removed.

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]