Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2005 20:08:14 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_exit.c
Message-ID:  <200507182008.j6IK8Edd078433@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-07-18 20:08:14 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_exit.c 
  Log:
  - Slightly reorder the events around the setting of PRS_ZOMBIE to be less
    hokie and much more readable and expand the comment to explain why it is
    the way that it is.
  - Close a race where one CPU could free the process belonging to a thread
    on another CPU that hasn't quite finished exiting yet but is beyond the
    point of setting the process state as PRS_ZOMBIE.
  
  Reported and tested by: ps (2)
  MFC after:      3 days
  
  Revision  Changes    Path
  1.264     +20 -8     src/sys/kern/kern_exit.c



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