• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 4k mbuf alignment on intel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >4k mbuf alignment on intel? (From: Andrew Gallatin <email@hidden>)
 >Re: 4k mbuf alignment on intel? (From: Terry Lambert <email@hidden>)

  • Prev by Date: Re: 4k mbuf alignment on intel?
  • Next by Date: Re: 4k mbuf alignment on intel?
  • Previous by thread: Re: 4k mbuf alignment on intel?
  • Next by thread: What, besides open files, can keep a volume busy?
  • Index(es):
    • Date
    • Thread