Re: 4k mbuf alignment on intel?
Re: 4k mbuf alignment on intel?
- Subject: Re: 4k mbuf alignment on intel?
- From: Andrew Gallatin <email@hidden>
- Date: Mon, 23 Oct 2006 08:53:27 -0400 (EDT)
Terry Lambert writes:
> Sorry, the answer is not that easy, so you're probably going to have
> to chase it down; the underlying primitive is vm_allocate_page() from
> kernel_memory_allocate(), so it's all page aligned for this usage.
That's good news actually, I'd be much happier if the problem
is elsewhere, and something that I can fix in the driver without
having to appeal to our firmware team to lift the 4KB boundary
crossing restriction.
> You could check this relatively easily at runtime by ANDing the
> returned address with 0x00000fff and making sure it's 0, which I
Yes. I've already got that in my development driver version,
but no Mac Pro to test on yet :)
Thanks for the info!
Drew
_______________________________________________
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