kernel - Implement segment pmap optimizations for x86-64 (1)
commit584fa04b951d15aa43bfe51a4a143a6c9c67ab39
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 13 Sep 2012 07:23:00 +0000 (13 00:23 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 13 Sep 2012 07:23:00 +0000 (13 00:23 -0700)
treecd7e3684a7f7621cee5e1308750e8b165bfe4471
parent921c891ecf560602acfc7540df7a760f171e389e
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.
sys/kern/tty_cons.c
sys/vm/vm_mmap.c