kernel - Do not use shared tokens for kernel_map
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 16 Nov 2011 19:51:29 +0000 (11:51 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 16 Nov 2011 19:51:29 +0000 (11:51 -0800)
commit1ad27649b8face848264cf3bc38c3029940762b2
treef5ab98b89a589a1171cb2097b1b83c05b8eb32a4
parentaa7ecbbc707d099121062792e366b914be2f600c
kernel - Do not use shared tokens for kernel_map

* This primarily handles a case where i386 systems can deadlock on a
  shared token -> exclusive token sequence during a page fault, because
  the i386 pmap code uses kernel_object to manage page table pages.

  x86-64 page fault code does not but for now just make the change globally.

* Should not effect performance

* Change the default for vm_

* Change the default for vm.shared_fault back to 1.

Reported-by: ejc
Submitted-by: vsrinivas
sys/vm/vm_fault.c