Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2004 03:46:31 +0000 (UTC)
From:      Bosko Milekic <bmilekic@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_fork.c
Message-ID:  <200407270346.i6R3kVYa012477@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bmilekic    2004-07-27 03:46:31 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_fork.c 
  Log:
  Move the schedlock owner state update following the context
  switch in fork_exit() to before anything else is done (but keep
  schedlock for the deadthread check).  This means one less
  nasty bug if ever in the future whatever might have been called
  before the update played with schedlock or critical sections.
  
  Discussed with: tjr
  
  Revision  Changes    Path
  1.232     +14 -12    src/sys/kern/kern_fork.c



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