cvs commit: src/sys/kern kern_fork.c

David Schultz das at FreeBSD.org
Thu Sep 30 22:01:30 PDT 2004


das         2004-10-01 05:01:29 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_fork.c 
  Log:
  Avoid calling _PHOLD(p1) with p2's lock held, since _PHOLD()
  may block to swap in p1.  Instead, call _PHOLD earlier, at a
  point where the only lock held happens to be p1's.
  
  Revision  Changes    Path
  1.240     +8 -3      src/sys/kern/kern_fork.c


More information about the cvs-src mailing list