git: kernel - proc_token removal pass stage 1/2

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Oct 24 22:06:01 PDT 2013


commit a8d3ab5322237ab812bfdf95c32e45fff302f339
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Oct 24 18:51:24 2013 -0700

    kernel - proc_token removal pass stage 1/2
    
    * Remove proc_token use from all subsystems except kern/kern_proc.c.
    
    * The token had become mostly useless in these subsystems now that process
      locking is more fine-grained.  Do the final wipe of proc_token except for
      allproc/zombproc list use in kern_proc.c

Summary of changes:
 sys/ddb/db_ps.c                          |  4 +-
 sys/dev/misc/syscons/syscons.c           | 49 +++++++++--------------
 sys/dev/raid/mfi/mfi.c                   | 10 +++--
 sys/emulation/linux/i386/linux_machdep.c |  9 +++--
 sys/emulation/linux/linux_signal.c       |  3 --
 sys/kern/init_main.c                     |  2 +-
 sys/kern/kern_descrip.c                  | 12 +++---
 sys/kern/kern_event.c                    |  1 -
 sys/kern/kern_proc.c                     | 35 +++++++++++-----
 sys/kern/lwkt_token.c                    |  8 ++--
 sys/kern/sys_mqueue.c                    | 15 ++++---
 sys/kern/sys_pipe.c                      |  4 +-
 sys/kern/sys_process.c                   | 32 +--------------
 sys/kern/tty.c                           | 69 ++++++++++++--------------------
 sys/kern/tty_tty.c                       |  6 ---
 sys/net/sl/if_sl.c                       | 15 ++++---
 sys/sys/proc.h                           |  3 +-
 sys/sys/thread.h                         |  2 +-
 sys/vfs/procfs/procfs_ctl.c              |  2 -
 sys/vfs/procfs/procfs_subr.c             |  2 -
 sys/vm/vm_glue.c                         | 12 ++----
 sys/vm/vm_meter.c                        | 13 +++---
 sys/vm/vm_pageout.c                      | 27 ++++++++-----
 sys/vm/vm_vmspace.c                      |  4 +-
 24 files changed, 149 insertions(+), 190 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a8d3ab5322237ab812bfdf95c32e45fff302f339


-- 
DragonFly BSD source repository


More information about the Commits mailing list