From owner-freebsd-hackers Wed Mar 4 14:38:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA08321 for freebsd-hackers-outgoing; Wed, 4 Mar 1998 14:38:23 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA08269 for ; Wed, 4 Mar 1998 14:38:12 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id OAA22577; Wed, 4 Mar 1998 14:34:55 -0800 (PST) Message-Id: <199803042234.OAA22577@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Ustimenko Semen cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Are mbufs aligned or bounded on something? In-reply-to: Your message of "Wed, 04 Mar 1998 22:33:06 +0600." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 04 Mar 1998 14:34:51 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > In other words: should i care about mbuf cluster is bounded on PAGE_SIZE > in physical memory. Unless it explicitly matters to your hardware, you should assume that mbuf clusters are aligned to suit the architecture you're running on. If it *does* matter to your hardware, I would be inclined to suggest that you code to handle all situations, and optimise for the case where the alignment best suits you. This will greatly improve the portability of your code. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message