git: kernel - add MAP_SIZEALIGN

看板DFBSD_commit作者時間14年前 (2011/11/10 10:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1EkpVNDh (DFBSD_commit)