1. 27 4月, 2016 1 次提交
  2. 26 4月, 2016 19 次提交
  3. 25 4月, 2016 2 次提交
    • E
      sock: relax WARN_ON() in sock_owned_by_user() · 5e91f6ce
      Eric Dumazet 提交于
      Valdis reported tons of stack dumps caused by WARN_ON() in
      sock_owned_by_user()
      
      This test needs to be relaxed if/when lockdep disables itself.
      
      Note that other lockdep_sock_is_held() callers are all from
      rcu_dereference_protected() sections which already are disabled
      if/when lockdep has been disabled.
      
      Fixes: fafc4e1e ("sock: tigthen lockdep checks for sock_owned_by_user")
      Reported-by: NValdis Kletnieks <Valdis.Kletnieks@vt.edu>
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Acked-by: NHannes Frederic Sowa <hannes@stressinduktion.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5e91f6ce
    • E
      tcp-tso: do not split TSO packets at retransmit time · 10d3be56
      Eric Dumazet 提交于
      Linux TCP stack painfully segments all TSO/GSO packets before retransmits.
      
      This was fine back in the days when TSO/GSO were emerging, with their
      bugs, but we believe the dark age is over.
      
      Keeping big packets in write queues, but also in stack traversal
      has a lot of benefits.
       - Less memory overhead, because write queues have less skbs
       - Less cpu overhead at ACK processing.
       - Better SACK processing, as lot of studies mentioned how
         awful linux was at this ;)
       - Less cpu overhead to send the rtx packets
         (IP stack traversal, netfilter traversal, drivers...)
       - Better latencies in presence of losses.
       - Smaller spikes in fq like packet schedulers, as retransmits
         are not constrained by TCP Small Queues.
      
      1 % packet losses are common today, and at 100Gbit speeds, this
      translates to ~80,000 losses per second.
      Losses are often correlated, and we see many retransmit events
      leading to 1-MSS train of packets, at the time hosts are already
      under stress.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Acked-by: NYuchung Cheng <ycheng@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      10d3be56
  4. 24 4月, 2016 7 次提交
  5. 22 4月, 2016 11 次提交