Subject: Re: Question
To: None <mjacob@feral.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-alpha
Date: 12/10/1998 10:14:11
On Thu, 10 Dec 1998 09:27:58 -0800 (PST)
Matthew Jacob <mjacob@feral.com> wrote:
> Where you are you getting the structures from? malloc? I dunno if NetBSD
> kernel malloc guarantees alignment (it probably ought to- I note you alloc
> M_USB class memory, but also M_TEMP- is that where alignment could be
> controlled?)
the objects returned by NetBSD's kernel malloc are always longword-aligned.
the descriptors are probably DMA'd in.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 940 5942