Skip to content
Snippets Groups Projects
Forked from drm / kernel
Loading
  • Linus Torvalds's avatar
    89721e30
    Merge tag 'net-accept-more-20240515' of git://git.kernel.dk/linux · 89721e30
    Linus Torvalds authored
    Pull more io_uring updates from Jens Axboe:
     "This adds support for IORING_CQE_F_SOCK_NONEMPTY for io_uring accept
      requests.
    
      This is very similar to previous work that enabled the same hint for
      doing receives on sockets. By far the majority of the work here is
      refactoring to enable the networking side to pass back whether or not
      the socket had more pending requests after accepting the current one,
      the last patch just wires it up for io_uring.
    
      Not only does this enable applications to know whether there are more
      connections to accept right now, it also enables smarter logic for
      io_uring multishot accept on whether to retry immediately or wait for
      a poll trigger"
    
    * tag 'net-accept-more-20240515' of git://git.kernel.dk/linux:
      io_uring/net: wire up IORING_CQE_F_SOCK_NONEMPTY for accept
      net: pass back whether socket was empty post accept
      net: have do_accept() take a struct proto_accept_arg argument
      net: change proto and proto_ops accept type
    89721e30
    History
    Merge tag 'net-accept-more-20240515' of git://git.kernel.dk/linux
    Linus Torvalds authored
    Pull more io_uring updates from Jens Axboe:
     "This adds support for IORING_CQE_F_SOCK_NONEMPTY for io_uring accept
      requests.
    
      This is very similar to previous work that enabled the same hint for
      doing receives on sockets. By far the majority of the work here is
      refactoring to enable the networking side to pass back whether or not
      the socket had more pending requests after accepting the current one,
      the last patch just wires it up for io_uring.
    
      Not only does this enable applications to know whether there are more
      connections to accept right now, it also enables smarter logic for
      io_uring multishot accept on whether to retry immediately or wait for
      a poll trigger"
    
    * tag 'net-accept-more-20240515' of git://git.kernel.dk/linux:
      io_uring/net: wire up IORING_CQE_F_SOCK_NONEMPTY for accept
      net: pass back whether socket was empty post accept
      net: have do_accept() take a struct proto_accept_arg argument
      net: change proto and proto_ops accept type