Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 1998 10:37:28 +0600 (NS)
From:      Ustimenko Semen <semen@iclub.nsu.ru>
To:        Mike Smith <mike@smith.net.au>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Are mbufs aligned or bounded on something? 
Message-ID:  <Pine.BSF.3.96.980306102709.4977A-100000@iclub.nsu.ru>
In-Reply-To: <199803052307.PAA27042@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Mar 1998, Mike Smith wrote:

> 
> Ah.  You should look at the fxp driver to see how this is handled.  I 
> suspect that you're actually safe to assume that the data area will not 
> cross a page boundary, but you might want to check.
> 

I've suspected the same:) And it works. But it should be better
to read this somewhere.

By the way: if i need aligned memory, should i use contigmalloc(), or
better to use malloc, and align block by hands?
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980306102709.4977A-100000>