Skip to contentSkip to conversation

where has all the memory gone?

DISCUSSION Adam Khan 1 participant 1 message Feb 20, 2002

lore
Share & tools
lore

Adam Khan

author
#0 lore raw
Quoted 7 lines

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

-

Quoted 12 lines

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