better SMP support for kprobes

Frank Ch. Eigler fche@redhat.com
Thu Feb 3 14:27:00 GMT 2005


Hi -


> [...]
> We can always just have it copy if possible, otherwise fail cleanly.

Indeed.

> [...]
> This is what my current runtime copy_from_user looks like:
> [...]
>   left = __copy_from_user_inatomic(dst, src, count);
> }

From looking at the 386 implementation, I don't get the impression that
__copy_from_user_inatomic is any safer to use than copy_from_user.
It might bypass the "might_sleep()" warning check, that's all.


- 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/20050203/24a9dc23/attachment.sig>


More information about the Systemtap mailing list