Re: kmem_alloc replacement in Tiger
Re: kmem_alloc replacement in Tiger
- Subject: Re: kmem_alloc replacement in Tiger
- From: Mike Smith <email@hidden>
- Date: Tue, 31 Jan 2006 21:12:12 -0800
On Jan 31, 2006, at 3:39 PM, Terry Lambert wrote:
Since Herb was talking about using the memory for a large array, I
recommended the API that I'd normally tell people to use for that
usage. If this array was actually a driver DMA target, well, then
one of the other options is probably a better bet.
Regardless of whether the memory is likely to be a DMA target or not,
allocating pageable kernel memory is probably the way to go.
The sole exception to this case is when the memory is likely to be
accessed on the paging path; typically anything in interrupt context
or on the low-level I/O path.
= Mike
_______________________________________________
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