1. 11 7月, 2012 3 次提交
  2. 05 7月, 2012 1 次提交
  3. 15 4月, 2012 1 次提交
  4. 05 2月, 2012 3 次提交
  5. 09 12月, 2011 1 次提交
  6. 17 11月, 2011 1 次提交
  7. 19 10月, 2011 1 次提交
  8. 07 10月, 2011 1 次提交
  9. 16 9月, 2011 1 次提交
  10. 18 8月, 2011 1 次提交
  11. 11 8月, 2011 1 次提交
  12. 24 7月, 2011 1 次提交
  13. 22 7月, 2011 1 次提交
  14. 02 7月, 2011 2 次提交
  15. 22 6月, 2011 1 次提交
  16. 23 5月, 2011 2 次提交
    • P
      Add appropriate <linux/prefetch.h> include for prefetch users · 70c71606
      Paul Gortmaker 提交于
      After discovering that wide use of prefetch on modern CPUs
      could be a net loss instead of a win, net drivers which were
      relying on the implicit inclusion of prefetch.h via the list
      headers showed up in the resulting cleanup fallout.  Give
      them an explicit include via the following $0.02 script.
      
       =========================================
       #!/bin/bash
       MANUAL=""
       for i in `git grep -l 'prefetch(.*)' .` ; do
       	grep -q '<linux/prefetch.h>' $i
       	if [ $? = 0 ] ; then
       		continue
       	fi
      
       	(	echo '?^#include <linux/?a'
       		echo '#include <linux/prefetch.h>'
       		echo .
       		echo w
       		echo q
       	) | ed -s $i > /dev/null 2>&1
       	if [ $? != 0 ]; then
       		echo $i needs manual fixup
       		MANUAL="$i $MANUAL"
       	fi
       done
       echo ------------------- 8\<----------------------
       echo vi $MANUAL
       =========================================
      Signed-off-by: NPaul <paul.gortmaker@windriver.com>
      [ Fixed up some incorrect #include placements, and added some
        non-network drivers and the fib_trie.c case    - Linus ]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      70c71606
    • P
      drivers/net: add prefetch header for prefetch users · c0cba59e
      Paul Gortmaker 提交于
      After discovering that wide use of prefetch on modern CPUs
      could be a net loss instead of a win, net drivers which were
      relying on the implicit inclusion of prefetch.h via the list
      headers showed up in the resulting cleanup fallout.  Give
      them an explicit include via the following $0.02 script.
      
       =========================================
       #!/bin/bash
       MANUAL=""
       for i in `git grep -l 'prefetch(.*)' .` ; do
       	grep -q '<linux/prefetch.h>' $i
       	if [ $? = 0 ] ; then
       		continue
       	fi
      
       	(	echo '?^#include <linux/?a'
       		echo '#include <linux/prefetch.h>'
       		echo .
       		echo w
       		echo q
       	) | ed -s $i > /dev/null 2>&1
       	if [ $? != 0 ]; then
       		echo $i needs manual fixup
       		MANUAL="$i $MANUAL"
       	fi
       done
       echo ------------------- 8\<----------------------
       echo vi $MANUAL
       =========================================
      Signed-off-by: NPaul <paul.gortmaker@windriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c0cba59e
  17. 19 4月, 2011 1 次提交
  18. 15 4月, 2011 1 次提交
  19. 31 3月, 2011 1 次提交
  20. 21 12月, 2010 1 次提交
  21. 13 12月, 2010 1 次提交
  22. 23 11月, 2010 1 次提交
  23. 18 11月, 2010 1 次提交
  24. 28 10月, 2010 1 次提交
  25. 25 10月, 2010 1 次提交
  26. 21 10月, 2010 1 次提交
  27. 03 9月, 2010 1 次提交
  28. 27 8月, 2010 1 次提交
  29. 26 8月, 2010 1 次提交
    • B
      qlge: Fix a deadlock when the interface is going down · c5dadddb
      Breno Leitao 提交于
      Currently qlge can deadlock when the interface is going
      down, and the mpi_port_cfg_work() is executing on another
      processor. It happens because unregister_netdev() holds
      the rtnl lock, and the mpi_port_cfg_work() also request
      this lock.
      
      Since unregiter_netdev() may wait mpi_port_cfg_work(), who
      also request the holding lock, it can cause an deadlock,
      displaying the following error:
      
       "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
       rmmod         D 00000080c6c1d190     0  3993   2081 0x00008080
       Call Trace:
       [c000000975f56ee0] [c0000000000152a0] .__switch_to+0x100/0x1d0
       [c000000975f56f70] [c0000000005781b4] .schedule+0x3a4/0x8c0
       [c000000975f570c0] [c000000000578e8c] .schedule_timeout+0x24c/0x350
       [c000000975f571e0] [c000000000578a88] .wait_for_common+0x198/0x210
       [c000000975f572c0] [c0000000000abbb4] .__cancel_work_timer+0x2c4/0x2e0
       [c000000975f57400] [d0000000078e7a20] .ql_adapter_down+0x80/0x260 [qlge]
       [c000000975f574b0] [d0000000078e7d80] .qlge_close+0x70/0x130 [qlge]
       [c000000975f57540] [c000000000497ef8] .__dev_close+0x98/0xf0
       [c000000975f575d0] [c000000000497f74] .dev_close+0x24/0x60
       [c000000975f57650] [c000000000498080] .rollback_registered_many+0xd0/0x2b0
       [c000000975f576f0] [c000000000498338] .rollback_registered+0x38/0x50
       [c000000975f57780] [c0000000004983d8] .unregister_netdevice_queue+0x88/0xe0
       [c000000975f57810] [c000000000498574] .unregister_netdev+0x24/0x40
       [c000000975f57890] [d0000000078f6f38] .qlge_remove+0x3c/0x78 [qlge]
       [c000000975f57920] [c0000000002d9298] .pci_device_remove+0x48/0x90
       [c000000975f579a0] [c000000000372850] .__device_release_driver+0xa0/0x130
       [c000000975f57a30] [c000000000372a08] .driver_detach+0x128/0x150
       [c000000975f57ad0] [c000000000371134] .bus_remove_driver+0xc4/0x1a0
       [c000000975f57b70] [c00000000037357c] .driver_unregister+0x8c/0xd0
       [c000000975f57c00] [c0000000002d968c] .pci_unregister_driver+0x5c/0x110
       [c000000975f57ca0] [d0000000078f6ee4] .qlge_exit+0x1c/0x34 [qlge]
      Signed-off-by: NBreno Leitao <leitao@linux.vnet.ibm.com>
      Signed-off-by: NRon Mercer <ron.mercer@qlogic.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c5dadddb
  30. 20 8月, 2010 1 次提交
  31. 06 7月, 2010 4 次提交