From owner-freebsd-arch@FreeBSD.ORG Tue Aug 30 17:02:36 2005 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 926DB16A41F; Tue, 30 Aug 2005 17:02:36 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B02B43D46; Tue, 30 Aug 2005 17:02:35 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j7UH2Z2i021950; Tue, 30 Aug 2005 12:02:35 -0500 (CDT) (envelope-from dan) Date: Tue, 30 Aug 2005 12:02:35 -0500 From: Dan Nelson To: Sergey Matveychuk Message-ID: <20050830170235.GB4337@dan.emsphone.com> References: <4314193B.80208@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4314193B.80208@FreeBSD.org> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i Cc: arch@freebsd.org, standards@freebsd.org Subject: Re: standards/85090: [patch] add memalign() and posix_memalign() functions X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 17:02:36 -0000 In the last episode (Aug 30), Sergey Matveychuk said: > Could I hear some comments, need we a memalign() function or not? Our malloc already aligns pretty well. Blocks < 16 bytes are aligned to 16 bytes. Blocks from 16 to pagesize are aligned to powers of two (rounded up), and blocks greater than pagesize are aligned to pagesize. -- Dan Nelson dnelson@allantgroup.com