Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2005 12:02:35 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Sergey Matveychuk <sem@freebsd.org>
Cc:        arch@freebsd.org, standards@freebsd.org
Subject:   Re: standards/85090: [patch] add memalign() and posix_memalign() functions
Message-ID:  <20050830170235.GB4337@dan.emsphone.com>
In-Reply-To: <4314193B.80208@FreeBSD.org>
References:  <4314193B.80208@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050830170235.GB4337>