git: kernel - Do not use shared tokens for kernel_map

Matthew Dillon dillon at
Wed Nov 16 11:56:34 PST 2011

commit 1ad27649b8face848264cf3bc38c3029940762b2
Author: Matthew Dillon <dillon at>
Date:   Wed Nov 16 11:51:29 2011 -0800

    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

Summary of changes:
 sys/vm/vm_fault.c |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list