git: kernel - Remove ad-hoc increment/decrement of vm->vm_sysref

看板DFBSD_commit作者時間14年前 (2011/11/11 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit b0c15cdf199632dd1ff8a28f072af7e7bfcb9cec Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Nov 10 10:00:57 2011 -0800 kernel - Remove ad-hoc increment/decrement of vm->vm_sysref * Remove the ad-hoc increment/decrement of vm->vm_sysref when pulling data out for a ps. Acquire p->p_token instead. This is an attempt to determine whether these adhoc operations are responsible for causing a race that results in the seg-fault issue we see on monster. Summary of changes: .../linux/i386/linprocfs/linprocfs_misc.c | 6 ++++ .../linux/i386/linprocfs/linprocfs_subr.c | 16 ++++++++-- sys/kern/kern_exec.c | 2 +- sys/kern/kern_kinfo.c | 13 +++++--- sys/kern/kern_proc.c | 2 + sys/vfs/procfs/procfs_mem.c | 30 +++++++++++++------ sys/vm/vm_glue.c | 19 +++--------- 7 files changed, 55 insertions(+), 33 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b0c15cdf199632dd1ff8a28f072af7e7bfcb9cec -- DragonFly BSD source repository
文章代碼(AID): #1El1YcYw (DFBSD_commit)