Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 10:57:57 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_witness.c
Message-ID:  <200203081857.g28IvvR54422@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2002/03/08 10:57:57 PST

  Modified files:
    sys/kern             subr_witness.c 
  Log:
  - Use a MI critical section in witness_sleep() and witness_list() as they
    simply need to prevent switching from another CPU and do not need
    interrupts disabled.
  - Add a comment to witness_list() about why displaying spin locks for
    threads on other CPU's really is just a bad idea and probably shouldn't
    be done.
  
  Revision  Changes    Path
  1.101     +9 -6      src/sys/kern/subr_witness.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?200203081857.g28IvvR54422>