git: kernel - Implement segment pmap optimizations for x86-64 (1)
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Sep 13 00:24:40 PDT 2012
commit 584fa04b951d15aa43bfe51a4a143a6c9c67ab39
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list