rwatson     2005-11-14 19:30:09 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_ktrace.c 
  Log:
  In ktr_getrequest(), acquire ktrace_mtx earlier -- while the race
  currently present is minor and offers no real semantic issues, it also
  doesn't make sense since an earlier lockless check has already
  occurred.  Also hold the mutex longer, over a manipulation of
  per-process ktrace state, which requires synchronization.
  
  MFC after:      1 month
  Pointed out by: jhb
  
  Revision  Changes    Path
  1.105     +3 -2      src/sys/kern/kern_ktrace.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to