From: Ian D R. <id...@cs...> - 2001-07-20 16:27:27
|
> > Don't worry about GFP_DMA, just grab 32k of memory, and get a > > 16k-aligned pointer from that region. > > Why should one exclude GFP_DMA? Does the PC architecture always has the full > RAM accessible from external devices (please note that PCs aren't my cup of > tea)? For example, one often restrict a PCI window to a subset of the available > RAM just to avoid a badly configured driver to trash the kernel itself (it might > not be the case for Linux, though). Technically speaking, no. But on Linux on x86 all of the memory that is accessable to the kernel is also PCI DMAable. Isn't GFP_DMA for ISA DMA anyway? -- "I remember, and I was impressed. But that's all forgotten now." Be impressed, then forget: http://www.GeogreBushIsAPunk.com/ |