git: kernel - More kqueue work

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Aug 13 14:23:18 PDT 2010


commit 8c4ed4265ed709e0ff2e164b292fd6b3febef5d3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Aug 13 14:05:45 2010 -0700

    kernel - More kqueue work
    
    * Only set EV_EOF in the read filter after all pending data has
      been exhausted.
    
    * This also fixes a bug where the read filter was not setting data
      ready on EOF when data was pending in the buffer.
    
    * Fix bugs in the poll copyout handler.  An EOF condition does not
      prevent other flags from getting set.

Summary of changes:
 sys/kern/sys_generic.c      |   21 ++++++++++-----------
 sys/kern/sys_pipe.c         |    6 +++++-
 sys/kern/uipc_socket.c      |    6 +++++-
 sys/vfs/fifofs/fifo_vnops.c |    2 +-
 4 files changed, 21 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8c4ed4265ed709e0ff2e164b292fd6b3febef5d3


-- 
DragonFly BSD source repository





More information about the Commits mailing list