1. 01 4月, 2014 1 次提交
  2. 19 3月, 2014 1 次提交
    • E
      net: sched: use no more than one page in struct fw_head · d37d8ac1
      Eric Dumazet 提交于
      In commit b4e9b520 ("[NET_SCHED]: Add mask support to fwmark
      classifier") Patrick added an u32 field in fw_head, making it slightly
      bigger than one page.
      
      Lets use 256 slots to make fw_hash() more straight forward, and move
      @mask to the beginning of the structure as we often use a small number
      of skb->mark. @mask and first hash buckets share the same cache line.
      
      This brings back the memory usage to less than 4000 bytes, and permits
      John to add a rcu_head at the end of the structure later without any
      worry.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Cc: Thomas Graf <tgraf@suug.ch>
      Cc: John Fastabend <john.fastabend@gmail.com>
      Acked-by: NThomas Graf <tgraf@suug.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d37d8ac1
  3. 14 3月, 2014 1 次提交
  4. 12 3月, 2014 2 次提交
  5. 11 3月, 2014 2 次提交
  6. 09 3月, 2014 1 次提交
  7. 07 3月, 2014 1 次提交
  8. 04 3月, 2014 1 次提交
  9. 28 2月, 2014 1 次提交
  10. 18 2月, 2014 1 次提交
  11. 14 2月, 2014 4 次提交
  12. 13 2月, 2014 5 次提交
  13. 27 1月, 2014 1 次提交
  14. 23 1月, 2014 1 次提交
  15. 22 1月, 2014 4 次提交
  16. 20 1月, 2014 2 次提交
  17. 17 1月, 2014 3 次提交
  18. 15 1月, 2014 1 次提交
  19. 14 1月, 2014 7 次提交