[PATCH] Performance Stats: Kernel patch

Linas Vepstas linas at austin.ibm.com
Fri May 11 02:47:11 EST 2007


On Thu, May 10, 2007 at 10:22:54AM +0000, Maxim Uvarov wrote:
> Linas Vepstas wrote:
> >On Tue, May 08, 2007 at 04:26:51PM +0000, Maxim Uvarov wrote:
> >>+	addq $1, threadinfo_syscall_count(%rcx)   # Increment syscalls 
> >
> >again, #ifdef CONFIG_TASKSTATS,
> 
> So I don't really sure if  defines are needed in  entry.S code. I tried 
> to do
> some tests and  it is impossible to catch the performance difference (small
> overhead).

"A penny here, and a penny there, and pretty soon it adds up to real
money". Its a hot path, and its an easy fix. 

--linas




More information about the Linuxppc-dev mailing list