Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 07:24:34 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern sys_generic.c
Message-ID:  <200901250724.n0P7OaBl056031@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2009-01-25 07:24:34 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sys_generic.c 
  Log:
  SVN rev 187677 on 2009-01-25 07:24:34Z by jeff
  
  Fix errors introduced when I rewrote select.
   - Restructure selscan() and selrescan() to avoid producing extra selfps
     when we have a fd in multiple sets.  As described below multiple selfps
     may still exist for other reasons.
   - Make selrescan() tolerate multiple selfds for a given descriptor
     set since sockets use two selinfos per fd.  If an event on each selinfo
     fires selrescan() will see the descriptor twice.  This could result in
     select() returning 2x the number of fds actually existing in fd sets.
  
  Reported by:    mgleason@ncftp.com
  
  Revision  Changes    Path
  1.166     +96 -44    src/sys/kern/sys_generic.c



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