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

git: kernel - Implement segment pmap optimizations for x86-64 (1)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Sep 2012 00:24:40 -0700 (PDT)

commit 584fa04b951d15aa43bfe51a4a143a6c9c67ab39
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Sep 13 00:23:00 2012 -0700

    kernel - Implement segment pmap optimizations for x86-64 (1)
    
    * Relax the mmap() size requirement when auto-aligning the address.
      Also auto-align to a segment boundary if the size is > 16 * SEG_SIZE.
      It previously only allowed size to be an exact multiple of SEG_SIZE.
    
    * Some pages at the end won't be optimized, but the bulk of the mmap()
      will be.

Summary of changes:
 sys/kern/tty_cons.c |   18 +++++++++---------
 sys/vm/vm_mmap.c    |    6 +++++-
 2 files changed, 14 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/584fa04b951d15aa43bfe51a4a143a6c9c67ab39


-- 
DragonFly BSD source repository



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