lkml.org 
[lkml]   [2003]   [Apr]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 12 Apr 2003 15:43:05 +0530
From"Sriram Narasimhan" <>
SubjectFree Physical & kmalloc
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:1.235 / U:0.000 seconds]
©2003-2008 Jasper Spaans