Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2001 16:02:38 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_sig.c
Message-ID:  <200106222302.f5MN2cn80251@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/06/22 16:02:37 PDT

  Modified files:
    sys/kern             kern_sig.c 
  Log:
  - Change CURSIG() and postsig() to require that the proc lock is held
    rather than grabbing it and releasing it themselves.  This allows callers
    of these functions to get the lock to close race conditions.
  - Grab Giant around ktrace in postsig.
  - Count the switches performed on SIGSTOP's as involuntary context switches
    in the resource usage stats.
  
  Reported by:	tegge (signal race), bde (missing csw stats)
  
  Revision  Changes    Path
  1.123     +11 -10    src/sys/kern/kern_sig.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?200106222302.f5MN2cn80251>