kernel - do not wire user pages in sysctl
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 17 Jan 2010 21:32:18 +0000 (13:32 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 17 Jan 2010 21:32:18 +0000 (13:32 -0800)
commit2c8c434fa446d03382c8981b8039da8809759625
tree896b418275fbef66eefea3b06bcad659c956e813
parent9b280f55325116795c4c7a8faac79b452b7b9469
kernel - do not wire user pages in sysctl

* sysctl processes have not assumed that user pages would be wired
  for a long time.

* This also prevents sysctl from causing VM faults on the user memory
  after returning due to wiring changes.

  For example 'vmstat 1' no longer produces faults in the flt column
  generated by vmstat itself on every iteration.
sys/kern/kern_sysctl.c
sys/sys/sysctl.h