DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - add MAP_SIZEALIGN


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Nov 2011 23:35:04 -0700 (PDT)

commit 7ca5320abff88e540b69a3676984fb50421c679e
Author: Matthew Dillon <dillon@apollo.backplane.com>
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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ca5320abff88e540b69a3676984fb50421c679e


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]