kernel - add MAP_SIZEALIGN
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 2 Nov 2011 06:33:40 +0000 (23:33 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 2 Nov 2011 06:33:40 +0000 (23:33 -0700)
commit7ca5320abff88e540b69a3676984fb50421c679e
treea1c762b85fc4007811240968bbadfb999448477f
parent9466f37df5258f3bc3d99ae43627a71c1c085e7d
kernel - add MAP_SIZEALIGN

* Add a mmap() MAP_SIZEALIGN flag which requests alignment the same
  as the size argument (different from Solaris's MAP_ALIGN which uses
  the address hint).

* Will be used in upcoming libc/stdlib/dmalloc.c work.  The dmalloc code
  will work without it just fine, too..
sys/sys/mman.h
sys/vm/vm_mmap.c