Re: Please, put 64-bit counter per task and incr.by.one each ctxt switch.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: J.C. Pizarro <jcpiza@...>
Cc: Linus Torvalds <torvalds@...>, LKML <linux-kernel@...>
Date: Sunday, February 24, 2008 - 12:26 am

On Sun, 24 Feb 2008 05:08:46 +0100
"J.C. Pizarro" <jcpiza@gmail.com> wrote:

OK, one last reply on the (overly optimistic?) assumption that you are not a troll.


So you're introducing a statistic, but have not yet written any code
that uses it?


Because we can all read C, there is no need to tell people in comments
what the code does.  Comments are there to explain why the code does
things, if an explanation is needed.


Your patch does not actually help interactivity, because all it does
is add an irq spinlock in a hot path (bad idea) and a counter which
nothing reads.

-- 
All rights reversed.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Please, put 64-bit counter per task and incr.by.one each..., Rik van Riel, (Sun Feb 24, 12:26 am)