Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 21:33:26 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern tty.c
Message-ID:  <200906232133.n5NLXgAT073386@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-06-23 21:33:26 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty.c 
  Log:
  SVN rev 194769 on 2009-06-23 21:33:26Z by ed
  
  Use dcdwait to block threads to serialize writes.
  
  I suspect the usage of bgwait causes a lot of spurious wakeups when
  threads are blocked in the background, because they will be woken up
  each time a write() call is performed.
  
  Also wakeup dcdwait when the TTY is abandoned.
  
  Revision  Changes    Path
  1.325     +3 -2      src/sys/kern/tty.c



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