[lkml]   [1996]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectDMA memory -> Thought

This might work, I'm not sure. Create a new GFP_DMA (or something similar) and
if kmalloc cannot allocate memory for it, start throwing out some of the buffer
cache and try again. Still doesn't work? Keep going until you get some memory.
Run out of buffer to throw away? Start swapping stuff.

Maybe I'm oversimplifying the whole process, but it might be something to

Which is worse: ignorance or apathy? Who knows? Who cares?

 \ /
  Last update: 2005-03-22 13:38    [W:0.035 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site