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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Nov 2011 10:05:13 -0800 (PST)

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



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