Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2011 14:28:01 +0200
From:      Svatopluk Kraus <onwahe@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   pmap_qenter() - the page *must* be wired - is violated
Message-ID:  <CAFHCsPX2dzv9Hk-WM_%2BQj%2BovihQZs17y=Guouj8t-3T_nQtLXw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHCsPX2dzv9Hk-WM_%2BQj%2BovihQZs17y=Guouj8t-3T_nQtLXw>