Re: [BUG] Scheduling in interrup

From: Alex Bligh - linux-kernel (linux-kernel@alex.org.uk)
Date: Wed Sep 05 2001 - 07:49:30 EST


>> > 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/



This archive was generated by hypermail 2b29 : Fri Sep 07 2001 - 21:00:30 EST