Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2010 16:40:30 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_proc.c
Message-ID:  <201008191640.o7JGemRe043682@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2010-08-19 16:40:30 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_proc.c 
  Log:
  SVN rev 211514 on 2010-08-19 16:40:30Z by jhb
  
  There isn't really a need to hold the ktrace mutex just to read the value
  of p_traceflag that is stored in the kinfo_proc structure.  It is still
  racey even with the lock and the code will read a consistent snapshot of
  the flag without the lock.
  
  Revision  Changes    Path
  1.301     +0 -6      src/sys/kern/kern_proc.c



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