Subject: Re: [PATCH] Performance Stats: Kernel patch

From: [email-masked] (Linas Vepstas)
Date: Thu, 10 May 2007 11:47:11 -0500

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