FW: where has all the memory gone?

From: Adam Khan (adam.khan@cavium.com)
Date: Wed Feb 20 2002 - 15:33:13 EST


>
> Im running RH 7.1. I also have FreeSWAN 1.91 and I am making
> modifications to the FS stuff. I have a driver for a card. I am
> extending
> the driver and manage to do a couple of calls without any problems.
>
> In another routine when I kmalloc 152 bytes of memory the call blocks
-
> When I issue the kmalloc call with GFP_ATOMIC rather than GFP_KERNEL I
> get
> the memory and see IPsec packets received and txd as expected. I issue
> the command "less /proc/meminfo" and it indicates that I have 60 Megs
> MemFree.
>
> Id appreciate your help to understand why the calls block and what
> I can change/adjust rather that use the GFP_ATOMIC.
>
> Thanks in advance,
> Adam
>

-
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 : Sat Feb 23 2002 - 21:00:27 EST