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]

Re: better SMP support for kprobes


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

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]