1. 23 Nov, 2004 5 commits
  2. 18 Nov, 2004 3 commits
    • Christoph Hellwig's avatar
      [NET]: Use local_softirq_pending instead of softirq_pending in netif_rx_ni · 051adc81
      Christoph Hellwig authored
      Some architectures can optimize local_softirq_pending much better than
      softirq_pending(smp_processor_id()), and for all others the former is
      just a macro expanding to the later.
      
      Also this is the last use of softirq_pending() in common code, once this
      is in we can soon kill the notation of beeing able to query other cpus
      softirq pending count.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      051adc81
    • Christoph Hellwig's avatar
      [NET]: Kill drivers/net/net_init.c · d489b794
      Christoph Hellwig authored
      After the last patch only three routines are left in this file, but all
      of the fir into net/core/dev.c much better:
      
       - {un,}register_netdev are just wrappers around {un,}register_netdevice
         from dev.c
       - alloc_netdev's counterpart, free_netdev is in dev.c aswell.
      
      So move over the remaining contents and add some kerneldoc comments
      describing the functions.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d489b794
    • Ian Pratt's avatar
      [NET]: Add alloc_skb_from_cache. · 8f78d753
      Ian Pratt authored
      This serves two purposes: firstly, we like to allocate page-sized skbs
      as this means we zero-copy transfer of network buffers between guest
      operating systems. Secondly, it enables us to have a cache of pages
      that have been used for network buffers that we can be more lax about
      scrubbing when they change VM ownership (since they could be sniffed on
      the wire).
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      8f78d753
  3. 17 Nov, 2004 4 commits
  4. 16 Nov, 2004 28 commits