cvs commit: src/sys/kern kern_exit.c

John Baldwin jhb at FreeBSD.org
Mon Jul 18 20:08:15 GMT 2005


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


More information about the cvs-src mailing list