standards/85090: [patch] add memalign() and posix_memalign() functions

Dan Nelson dnelson at allantgroup.com
Tue Aug 30 17:02:36 GMT 2005


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 at allantgroup.com


More information about the freebsd-standards mailing list