android_kernel_xiaomi_sm7250/arch/ia64
Jack Steiner 1cf24bdbbb [IA64] - Reduce overhead of FP exception logging messages
Improve the scalability of the fpswa code that rate-limits
logging of messages.

There are 2 distinctly different problems in this code.

1) If prctl is used to disable logging, last_time is never
   updated. The result is that fpu_swa_count is zeroed out on
   EVERY fp fault. This causes a very very hot cache line.
   The fix reduces the wallclock time of a 1024p FP exception test
   from 28734 sec to 19 sec!!!

2) On VERY large systems, excessive messages are logged because
   multiple cpus can each reset or increment fpu_swa_count at
   about the same time. The result is that hundreds of messages
   are logged each second. The fixes reduces the logging rate
   to ~1 per second.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2006-12-12 11:47:09 -08:00
..
configs [IA64] update sn2_defconfig 2006-10-17 14:55:45 -07:00
dig [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
hp [IA64] s/termios/ktermios/ in simserial.c 2006-12-12 10:47:36 -08:00
ia32 [PATCH] struct path: convert ia64 2006-12-08 08:28:45 -08:00
kernel [IA64] - Reduce overhead of FP exception logging messages 2006-12-12 11:47:09 -08:00
lib [IA64] tidy up return value of ip_fast_csum 2006-12-07 11:19:59 -08:00
mm [IA64] fix arch/ia64/mm/contig.c:235: warning: unused variable `nid' 2006-12-12 11:18:55 -08:00
oprofile Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pci [IA64] replace kmalloc+memset with kzalloc 2006-12-07 13:46:43 -08:00
scripts Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sn [IA64] Do not call SN_SAL_SET_CPU_NUMBER twice on cpu 0 2006-12-12 10:09:39 -08:00
defconfig [PATCH] sgiioc4: Always share IRQ 2006-07-31 13:28:40 -07:00
install.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] LOG2: Implement a general integer log2 facility in the kernel 2006-12-08 08:28:51 -08:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile [IA64] add vmlinuz target 2006-06-21 14:31:07 -07:00
module.lds Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00