1. 06 3月, 2008 1 次提交
  2. 05 3月, 2008 2 次提交
    • D
      [TCP]: Improve ipv4 established hash function. · 7adc3830
      David S. Miller 提交于
      If all of the entropy is in the local and foreign addresses,
      but xor'ing together would cancel out that entropy, the
      current hash performs poorly.
      
      Suggested by Cosmin Ratiu:
      
      	Basically, the situation is as follows: There is a client
      	machine and a server machine. Both create 15000 virtual
      	interfaces, open up a socket for each pair of interfaces and
      	do SIP traffic. By profiling I noticed that there is a lot of
      	time spent walking the established hash chains with this
      	particular setup.
      
      	The addresses were distributed like this: client interfaces
      	were 198.18.0.1/16 with increments of 1 and server interfaces
      	were 198.18.128.1/16 with increments of 1. As I said, there
      	were 15000 interfaces. Source and destination ports were 5060
      	for each connection.  So in this case, ports don't matter for
      	hashing purposes, and the bits from the address pairs used
      	cancel each other, meaning there are no differences in the
      	whole lot of pairs, so they all end up in the same hash chain.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7adc3830
    • D
      [NETPOLL]: Revert two bogus cleanups that broke netconsole. · d9452e9f
      David S. Miller 提交于
      Based upon a report by Andrew Morton and code analysis done
      by Jarek Poplawski.
      
      This reverts 33f807ba ("[NETPOLL]:
      Kill NETPOLL_RX_DROP, set but never tested.")  and
      c7b6ea24 ("[NETPOLL]: Don't need
      rx_flags.").
      
      The rx_flags did get tested for zero vs. non-zero and therefore we do
      need those tests and that code which sets NETPOLL_RX_DROP et al.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d9452e9f
  3. 29 2月, 2008 1 次提交
  4. 28 2月, 2008 1 次提交
  5. 27 2月, 2008 1 次提交
  6. 25 2月, 2008 3 次提交
  7. 24 2月, 2008 16 次提交
  8. 23 2月, 2008 1 次提交
  9. 22 2月, 2008 3 次提交
  10. 21 2月, 2008 9 次提交
  11. 20 2月, 2008 2 次提交