On Thursday, August 14, 2003, at 5:20 PM, Andrew Gallatin wrote: Jim Magee writes: limit (from a physical memory perspective). You may be having trouble allocating enough contiguous virtual space in kernel - given that you say most of the rest of memory is also wired down in the kernel. The hundreds of megabytes which are wired came from the address space of a user program, and are wired via prepare. They're never explicitly mapped into the kernel's address space. Eg: (err checking omitted for brevity): md = IOMemoryDescriptor::withAddress ((vm_address_t) uaddr, (IOByteCount) PAGE_SIZE, kIODirectionOutIn, task); md->prepare (kIODirectionOutIn); *dma_addr = md->getPhysicalSegment (0, &len); Does the above map the memory at uaddr into the kernel, or otherwise waste kernel address space? No. --Jim _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.