About last_tsk in _stp_module_relocate

Frank Ch. Eigler fche@redhat.com
Tue Dec 29 16:43:00 GMT 2009


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



More information about the Systemtap mailing list