1. 13 5月, 2008 1 次提交
  2. 15 4月, 2008 1 次提交
    • A
      [TIPC]: Overhaul of socket locking logic · 0c3141e9
      Allan Stephens 提交于
      This patch modifies TIPC's socket code to follow the same approach
      used by other protocols.  This change eliminates the need for a
      mutex in the TIPC-specific portion of the socket protocol data
      structure -- in its place, the standard Linux socket backlog queue
      and associated locking routines are utilized.  These changes fix
      a long-standing receive queue bug on SMP systems, and also enable
      individual read and write threads to utilize a socket without
      unnecessarily interfering with each other.
      Signed-off-by: NAllan Stephens <allan.stephens@windriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0c3141e9
  3. 07 3月, 2008 2 次提交
  4. 08 2月, 2008 1 次提交
  5. 11 7月, 2007 1 次提交
    • A
      [TIPC]: Optimize stream send routine to avoid fragmentation · 05646c91
      Allan Stephens 提交于
      This patch enhances TIPC's stream socket send routine so that
      it avoids transmitting data in chunks that require fragmentation
      and reassembly, thereby improving performance at both the
      sending and receiving ends of the connection.
      
      The "maximum packet size" hint that records MTU info allows
      the socket to decide how big a chunk it should send; in the
      event that the hint has become stale, fragmentation may still
      occur, but the data will be passed correctly and the hint will
      be updated in time for the following send.  Note: The 66060 byte
      pseudo-MTU used for intra-node connections requires the send
      routine to perform an additional check to ensure it does not
      exceed TIPC"s limit of 66000 bytes of user data per chunk.
      Signed-off-by: NAllan Stephens <allan.stephens@windriver.com>
      Signed-off-by: NJon Paul Maloy <jon.maloy@ericsson.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      05646c91
  6. 03 12月, 2006 1 次提交
  7. 26 6月, 2006 1 次提交
  8. 13 1月, 2006 5 次提交