git: kernel - add MAP_SIZEALIGN

Matthew Dillon dillon at
Tue Nov 1 23:35:42 PDT 2011

commit 7ca5320abff88e540b69a3676984fb50421c679e
Author: Matthew Dillon <dillon at>
Date:   Tue Nov 1 23:33:40 2011 -0700

    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..

Summary of changes:
 sys/sys/mman.h   |    5 +++--
 sys/vm/vm_mmap.c |   15 +++++++++++++--
 2 files changed, 16 insertions(+), 4 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list