4k mbuf alignment on intel?
4k mbuf alignment on intel?
- Subject: 4k mbuf alignment on intel?
- From: Andrew Gallatin <email@hidden>
- Date: Fri, 20 Oct 2006 13:55:27 -0400 (EDT)
I'm trying to track down some weird mbuf corruption problems with my
driver on mac pros, without any access to mac pro hardware. One thing
that came to my mind is that I currently assume 4k mbufs as returned
by mbuf_allocpacket(..4096..) are aligned on a 4k physical address
boundary. If the hardware attempts a DMA across a 4K boundary, it
will wrap around and scribble over the first part of the page, so this
might explain the mbuf corruption.
4KB mbufs has been always been aligned on 4KB boundaries on ppc. Is
it true on Intel?
If this is not true, how does one allocate one's own
external storage in the face of the mbuf kpi?
Thanks,
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