Free Physical & kmalloc

From: Sriram Narasimhan (nsri@tataelxsi.co.in)
Date: Sat Apr 12 2003 - 05:13:05 EST


Hello,

I am trying to allocate memory from a driver using GFP_KERNEL.
The allocation fails if I try to allocate more than what is physically free.
What ever memory is free is available in the free buffers/cache.

Why is this happening ? How do I allocate more memory than what is
available in the 'free physical'.
Shouldn't kmalloc take care of flushing free buffers/cache to free
physical when there is a memory allocation requirement ?

I am running 2.4.7-10 RH7.2 on i386.

Any suggestions or pointers could be very helpful.

Thank you.
Regards,
Sriram

-
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 : Tue Apr 15 2003 - 22:00:26 EST