git: kernel - do not wire user pages in sysctl

看板DFBSD_commit作者時間16年前 (2010/01/18 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1BKuYaLc (DFBSD_commit)