Re: copy_to_user/copy_from_user in interrupt context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Resending it again ... earlier mails report an error ...

On Sat, Sep 19, 2009 at 2:47 PM, Chetan Nanda <chetannanda@xxxxxxxxx> wrote:
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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux