Re: problem with kmalloc

From: Tigran Aivazian (tigran@veritas.com)
Date: Sat Sep 23 2000 - 09:59:23 EST


you didn't use GFP_KERNEL priority in the interrupt handler, did you?

GFP_KERNEL allocations can sleep so cannot be used in the interrupt
handler. Use GFP_ATOMIC instead.

On Sat, 23 Sep 2000 aprasad@in.ibm.com wrote:

> hi!
> this is related to previous problem,
> when i tried to allocate 64k of physical memory by calling
> kmalloc(64*1024-1, GFP_KERNEL), it allocated the memory, also wrote the
> memory, but when i read it, it gave Ayeei message, saying interrupt
> handlers has been killed..and computer hanged, its kernel-2.2.14-5.0
> what could be the reason??
>
> note:please cc the answer
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
>

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:29 EST