1. 26 10月, 2015 1 次提交
    • P
      MIPS: Declare mips_debugfs_dir in a header · 75dcfc1d
      Paul Burton 提交于
      We have many extern declarations of mips_debugfs_dir through arch/mips/
      in various C files. Unify them by declaring mips_debugfs_dir in a
      header, including it in each affected C file & removing the duplicate
      declarations.
      Signed-off-by: NPaul Burton <paul.burton@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: Steven J. Hill <Steven.Hill@imgtec.com>
      Cc: Alexander Sverdlin <alexander.sverdlin@nokia.com>
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
      Cc: Maciej W. Rozycki <macro@linux-mips.org>
      Cc: linux-kernel@vger.kernel.org
      Cc: Joe Perches <joe@perches.com>
      Cc: Jaedon Shin <jaedon.shin@gmail.com>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: David Daney <david.daney@cavium.com>
      Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
      Cc: Markos Chandras <markos.chandras@imgtec.com>
      Cc: James Cowgill <James.Cowgill@imgtec.com>
      Patchwork: https://patchwork.linux-mips.org/patch/11181/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      75dcfc1d
  2. 01 11月, 2011 1 次提交
  3. 27 2月, 2010 1 次提交
    • D
      MIPS: Crazy spinlock speed test. · bba90760
      David Daney 提交于
      This is just a test program for raw_spinlocks.  The main reason I
      wrote it is to validate my spinlock changes that I sent in a previous
      patch.
      
      To use it enable CONFIG_DEBUG_FS and CONFIG_SPINLOCK_TEST then at run
      time do:
      
      # mount -t debugfs none /sys/kernel/debug/
      # cat /sys/kernel/debug/mips/spin_single
      # cat /sys/kernel/debug/mips/spin_multi
      
      On my 600MHz octeon cn5860 (16 CPUs) I get
      
      		spin_single	spin_multi
      base		106885		247941
      spinlock_patch	75194		219465
      
      This shows that for uncontended locks the spinlock patch gives 41%
      improvement and for contended locks 12% improvement (1/time).
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      To: linux-mips@linux-mips.org
      Patchwork: http://patchwork.linux-mips.org/patch/969/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      bba90760