Re: [BUG] Scheduling in interrup

Alex Bligh - linux-kernel (linux-kernel@alex.org.uk)
Wed, 05 Sep 2001 13:49:30 +0100


>> > o Are you attempting to access paged RAM?
>>
>> I am using kmalloc to reserve my memory.
>> kmalloc as the options GFP_KERNEL and GFP_DMA.
>> I am not using any command to reserve memory in
>> the interrupt handler.
>>
>
> This is okay. These will not be paged.

Though if you are actually allocating in the
handler (as opposed to merely using) you want
to set GFP_ATOMIC (i.e. make sure __GFP_WAIT
is clear)

--
Alex Bligh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/