Re: kmalloc question

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

 



On Wed, 2002-06-05 at 06:25, Andre.Messerschmidt@infineon.com wrote:
> Hi.
> 
> I always thought that it is save to use kmalloc in an interrupt handler as
> long as you use GFP_ATOMIC. 
> Now someone told me that it is not allowed to use these functions in any way
> in an interrupt.
> 
> Can please someone clarify me here? 

GFP_ATOMIC is safe in an interrupt handler. You might get NULL back and
that it is your problem, but the kmalloc is safe


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux