kernel - Partition large anon mappings, optimize vm_map_entry_reserve*()
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 15 Oct 2017 19:26:28 +0000 (12:26 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 16 Oct 2017 18:30:23 +0000 (11:30 -0700)
commitce5d7a1c6d026162bc16d9c3ad1bd8ee8c42ef49
treeca92474c98afd5a623c564ef6fa8f4300685f236
parent233a815dcfe9f7d1ecc7c9186718b9389fc821f2
kernel - Partition large anon mappings, optimize vm_map_entry_reserve*()

* Partition large anonymous mappings in (for now) 16MB chunks.
  The purpose of this is to improve concurrent VM faults for
  threaded programs.  Note that the pmap itself is still a
  bottleneck.

* Refactor vm_map_entry_reserve() and related code to remove
  unnecessary critical sections.
sys/vm/vm_map.c
sys/vm/vm_map.h
sys/vm/vm_zone.c