git: kernel - do not wire user pages in sysctl

Matthew Dillon dillon at
Sun Jan 17 13:35:39 PST 2010

commit 2c8c434fa446d03382c8981b8039da8809759625
Author: Matthew Dillon <dillon at>
Date:   Sun Jan 17 13:32:18 2010 -0800

    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.

Summary of changes:
 sys/kern/kern_sysctl.c |   12 ++++++++++--
 sys/sys/sysctl.h       |    3 +--
 2 files changed, 11 insertions(+), 4 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list