DMA memory -> Thought

Aaron Tiensivu (tiensivu@pilot.msu.edu)
Tue, 26 Nov 1996 12:35:56 -0500 (EST)


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
consider.

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