On Mon, Sep 20, 2010 at 3:29 PM, Mike Frysinger <[email protected]> wrote:
> On Mon, Sep 20, 2010 at 03:26,  <[email protected]> wrote:
>> Revision 9153 Author lliubbo Date 2010-09-20 03:26:56 -0400 (Mon, 20 Sep
>> 2010)
>>
>> Log Message
>>
>> [#6210]bfin_latencytest: add a simple driver for preempt latency test
>>
>> bsong have added preempt to our kernel in commit 9079, add a simple driver
>> in order to test it.
>>
>> This driver use TIMER2 to generate interrupt every seconds,the timer isr
>> handle will record the time and send SIGIO to userapp preempt_test which
>> will
>> read the recorded time when scheduled and compare with the actual time to
>> calculate the latency.
>
> we already have uclinux-dist/user/blkfin-test/latency-test/

I see.
but the latency-test is test the time when interrupt happenned to
interrupt handler executed.
preempt-test is test the time when a process waked up to the process
actually executed.
There are different.
And preempt-test must need kernel's support.

>
> since this really doesnt have a chance of being merged upstream, you
> should merge your driver with the existing uclinux-dist one and remove
> it from the linux-kernel.

It hard to find a driver to merge, the best one is bfin_simple_timer.
but it still needs lots of marco define to change bfin_simple_timer's
original behavior.

Thanks
-- 
Regards,
--Bob
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to