Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2007 18:56:11 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/svr4 svr4_misc.c src/sys/kern init_main.c kern_exit.c kern_resource.c kern_thread.c src/sys/sys proc.h
Message-ID:  <200706091856.l59IuBRC064947@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2007-06-09 18:56:11 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/svr4      svr4_misc.c 
    sys/kern             init_main.c kern_exit.c kern_resource.c 
                         kern_thread.c 
    sys/sys              proc.h 
  Log:
  The current rusage code show peculiar problems:
  - Unsafeness on ruadd() in thread_exit()
  - Unatomicity of thread_exiit() in the exit1() operations
  
  This patch addresses these problems allocating p_fd as part of the
  process and modifying the way it is accessed.
  
  A small chunk of this patch, resolves a race about p_state in kern_wait(),
  since we have to be sure about the zombif-ing process.
  
  Submitted by: jeff
  Approved by: jeff (mentor)
  
  Revision  Changes    Path
  1.95      +5 -4      src/sys/compat/svr4/svr4_misc.c
  1.281     +5 -0      src/sys/kern/init_main.c
  1.302     +8 -31     src/sys/kern/kern_exit.c
  1.175     +3 -6      src/sys/kern/kern_resource.c
  1.248     +4 -6      src/sys/kern/kern_thread.c
  1.482     +1 -1      src/sys/sys/proc.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706091856.l59IuBRC064947>