Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2009 14:56:34 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_event.c
Message-ID:  <200910101456.n9AEuuEB047474@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2009-10-10 14:56:34 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_event.c 
  Log:
  SVN rev 197930 on 2009-10-10 14:56:34Z by kib
  
  Postpone dropping fp till both kq_global and kqueue mutexes are
  unlocked. fdrop() closes file descriptor when reference count goes to
  zero. Close method for vnodes locks the vnode, resulting in "sleepable
  after non-sleepable". For pipes, pipe mutex is before kqueue lock,
  causing LOR.
  
  Reported and tested by: pho
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.136     +3 -3      src/sys/kern/kern_event.c



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