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

From: Rik van Riel
Date: Sat Feb 23 2008 - 22:18:33 EST


On Sun, 24 Feb 2008 04:08:38 +0100
"J.C. Pizarro" <jcpiza@xxxxxxxxx> wrote:

> We will need 64 bit counters of the slow context switches,
> one counter for each new created task (e.g. u64 ctxt_switch_counts;)

Please send a patch ...

> I will explain your later why of it.

... and explain exactly why the kernel needs this extra code.

Asking somebody else to add functionality (or is it bloat? we really
cannot tell) to the kernel for you, and not even explaining why is
not going to convince anyone.

For more hints on how to get functionality into the Linux kernel,
please read:

http://kernelnewbies.org/UpstreamMerge

--
All rights reversed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/