cvs commit: src/sys/kern subr_prf.c

John Baldwin jhb at FreeBSD.org
Thu Apr 17 15:30:45 PDT 2003


jhb         2003/04/17 15:30:43 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             subr_prf.c 
  Log:
  Don't assume that p_session hasn't changed out from under us after unlocking
  the process and session.  Instead, cache a true reference to the session
  when we do the hold and release our reference on that session.  This avoids
  the need for the proc lock when dropping the reference.
  
  Revision  Changes    Path
  1.100     +11 -12    src/sys/kern/subr_prf.c


More information about the cvs-src mailing list