Re: kmalloc inside interrupt context

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

 



On Tue, Feb 18, 2003 at 09:22:13PM +0100, Frank A. Uepping wrote:
> Is it safe/wise to use kmalloc inside interrupt context?
> If, have I to stick to GFP_ATOMIC or is the use of

GFP_ATOMIC is your only choice. I think interrupts should run quickly,
so if you can figure out some way to run without memory allocation in
interrupt context, that might be best, but I'm certainly no expert on
this. (Don't go re-inventing the kmalloc wheel, whatever you do.)

-- 
"Nothing says, 'Superpower' like bombing a country that is poor and
hungry." -- Ken Brush

Attachment: pgp00318.pgp
Description: PGP signature


[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