Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2001 16:10:06 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_exec.c kern_proc.c
Message-ID:  <200106202310.f5KNA6k81884@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/06/20 16:10:06 PDT

  Modified files:
    sys/kern             kern_exec.c kern_proc.c 
  Log:
  Fix some lock order reversals where we called free() while holding a proc
  lock.  We now use temporary variables to save the process argument pointer
  and just update the pointer while holding the lock.  We then perform the
  free on the cached pointer after releasing the lock.
  
  Revision  Changes    Path
  1.132     +12 -10    src/sys/kern/kern_exec.c
  1.95      +4 -3      src/sys/kern/kern_proc.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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