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

git: kernel - Segment-align mmap and sysv_shm when possible


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Sep 2012 18:34:19 -0700 (PDT)

commit 73660d9e812c3bdc3069eb866fd4fef8449135c4
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Sep 12 18:20:51 2012 -0700

    kernel - Segment-align mmap and sysv_shm when possible
    
    * Segment align mmap and sysv_shm mappings which are large enough
      and whos size is a multiple of the segment-size.
    
      NOTE: MAP_FIXED mappings will not be segment-aligned, but the
    	optimization will sitll work if the passed address is already
    	segment-aligned.
    
    * This will allow them to be optimized automatically by
      machdep.pmap_mmu_optimize.

Summary of changes:
 sys/kern/sysv_shm.c |   16 ++++++++++++++--
 sys/vm/vm_mmap.c    |    7 +++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/73660d9e812c3bdc3069eb866fd4fef8449135c4


-- 
DragonFly BSD source repository



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