pmap_qenter() - the page *must* be wired - is violated

Svatopluk Kraus onwahe at gmail.com
Wed Oct 5 12:57:44 UTC 2011


Hi,

  I found out that on a few places pmap_qenter() is called on pages
which are not wired. For example, in the following functions, when
vm_pager_get_pages() is called, the pages are not wired:

  exec_map_first_page() in sys/kern/kern_exec.c
  vm_fault_hold() in sys/vm/vm_fault.c
  vm_imgact_hold_page() in sys/vm/vm_glue.c
  vm_object_populate() in sys/vm/vm_object.c
  mdstart_swap() in sys/dev/md/md.c

  Is the rule violated or the rule should be changed?

  Svata


More information about the freebsd-current mailing list