DragonFly BSD
DragonFly commits List (threaded) for 2010-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - do not wire user pages in sysctl


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Jan 2010 13:34:04 -0800 (PST)

commit 2c8c434fa446d03382c8981b8039da8809759625
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]