Hi,

I have small doubt regarding copy_to_user/copy_from_user macros:

-Can these macros be used in interrupt context.. what if page belong to user
address is not in memory (not loaded/swapped out)?
-If we use copy_to_user in interrupt context, then how can this be assure
that data is copied into correct process buffer?
As at a time of interrupt it can't be guaranteed that intended user process
is the current process running.

These may be silly question but create some confusion for me....

Thanks,
Chetan Nanda

Reply via email to