git: kernel - do not wire user pages in sysctl

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jan 17 13:35:39 PST 2010


commit 2c8c434fa446d03382c8981b8039da8809759625
Author: Matthew Dillon <dillon at apollo.backplane.com>
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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2c8c434fa446d03382c8981b8039da8809759625


-- 
DragonFly BSD source repository





More information about the Commits mailing list