IOBufferMemoryDescriptor::withOptions(kIOMemoryPhysicallyContiguous...)
IOBufferMemoryDescriptor::withOptions(kIOMemoryPhysicallyContiguous...)
- Subject: IOBufferMemoryDescriptor::withOptions(kIOMemoryPhysicallyContiguous...)
- From: Daniel Rice <email@hidden>
- Date: Wed, 2 Sep 2009 11:05:28 -0700
- Acceptlanguage: en-US
- Thread-topic: IOBufferMemoryDescriptor::withOptions(kIOMemoryPhysicallyContiguous...)
Some of our users are reporting a problem on 10.6. Basically, our usb device audio starts glitching after the computer has been running for a certain amount of time, and won't stop until they reboot the machine.
We saw a problem like this once before with the exact same symptoms under Leopard/Tiger. The cause ended up being that UHCI usb controllers require page aligned, physically contiguous memory and we weren't using the kIOMemoryPhysicallyContiguous option. So, the fix was easy. We added that, and the glitching stopped because ram was then allocated per the uhci requirement.
Unfortunately xnu source is not available, so I can't see if anything has changed. Is is possible that even though we are selecting the kIOMemoryPhysicallyContiguous option, we aren't actually being returned physically contiguous ram under all conditions in Snow Leopard? The user who is seeing this issue has 4gb of ram, but he's running some vmware vms and he says that he only has a few mb of ram free according to activity monitor.
Will this call return non-contiguous ram if it can't find contiguous ram? Are there any known issues relating to this in Snow Leopard?
Thanks
-Dan
Line 6 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden