lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 1 May 2010 11:55:37 +1200 From: Michael Cree <mcree@...on.net.nz> To: linux-kernel@...r.kernel.org Cc: Michael Cree <mcree@...on.net.nz>, Richard Henderson <rth@...ddle.net>, Ivan Kokshaysky <ink@...assic.park.msu.ru>, Matt Turner <mattst88@...il.com>, Thomas Gleixner <tglx@...utronix.de>, Peter Zijlstra <peterz@...radead.org>, Paul Mackerras <paulus@...ba.org>, Ingo Molnar <mingo@...e.hu>, Arnaldo Carvalho de Melo <acme@...hat.com>, Tejun Heo <tj@...nel.org>, Andrew Morton <akpm@...ux-foundation.org>, linux-alpha@...r.kernel.org Subject: [PATCH 0/3] alpha: Implement Hardware Performance Events The following patches implement hardware performance events for the Alpha EV67 and later CPUs. I have had this running on a Compaq XP1000 (EV67, single CPU) for a few days now. Pretty cool -- discovered that the glibc exp2() library routine uses on average 985 cycles to execute 777 CPU instructions whereas Compaq's CPML library version of exp2() uses on average 32 cycles to execute 47 CPU instructions to achieve the same thing! Michael Cree (3): alpha: Add performance monitor interrupt counter. alpha: Add wrperfmon.h header file to aid use of wrperfmon PALcall. alpha: Implement HW performance events on the EV67 and later CPUs. arch/alpha/include/asm/hw_irq.h | 1 + arch/alpha/include/asm/perf_event.h | 8 +- arch/alpha/include/asm/wrperfmon.h | 93 ++++ arch/alpha/kernel/Makefile | 1 + arch/alpha/kernel/irq.c | 7 +- arch/alpha/kernel/irq_alpha.c | 3 + arch/alpha/kernel/perf_event.c | 836 +++++++++++++++++++++++++++++++++++ 7 files changed, 946 insertions(+), 3 deletions(-) create mode 100644 arch/alpha/include/asm/wrperfmon.h create mode 100644 arch/alpha/kernel/perf_event.c -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists