1. 23 6月, 2006 1 次提交
  2. 26 4月, 2006 1 次提交
  3. 08 1月, 2006 1 次提交
  4. 04 1月, 2006 2 次提交
    • E
      [NET]: move struct proto_ops to const · 90ddc4f0
      Eric Dumazet 提交于
      I noticed that some of 'struct proto_ops' used in the kernel may share
      a cache line used by locks or other heavily modified data. (default
      linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at
      least)
      
      This patch makes sure a 'struct proto_ops' can be declared as const,
      so that all cpus can share all parts of it without false sharing.
      
      This is not mandatory : a driver can still use a read/write structure
      if it needs to (and eventually a __read_mostly)
      
      I made a global stubstitute to change all existing occurences to make
      them const.
      
      This should reduce the possibility of false sharing on SMP, and
      speedup some socket system calls.
      Signed-off-by: NEric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      90ddc4f0
    • A
      [IP_SOCKGLUE]: Remove most of the tcp specific calls · d83d8461
      Arnaldo Carvalho de Melo 提交于
      As DCCP needs to be called in the same spots.
      
      Now we have a member in inet_sock (is_icsk), set at sock creation time from
      struct inet_protosw->flags (if INET_PROTOSW_ICSK is set, like for TCP and
      DCCP) to see if a struct sock instance is a inet_connection_sock for places
      like the ones in ip_sockglue.c (v4 and v6) where we previously were looking if
      sk_type was SOCK_STREAM, that is insufficient because we now use the same code
      for DCCP, that has sk_type SOCK_DCCP.
      Signed-off-by: NArnaldo Carvalho de Melo <acme@mandriva.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d83d8461
  5. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4