Re: [patch] Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-19

From: Ingo Molnar
Date: Thu Dec 02 2004 - 08:52:12 EST



* Florian Schmidt <mista.tapas@xxxxxxx> wrote:

> Ok, so if i want to find out whether a client violates the RT
> constraints for its process callback i would have to add a call to
> gettimeofday(1,1) at the start of the process callback and
> gettimeofday(1,0) at the end.
>
> Everything which causes a reschedule inbetween will then cause SIGUSR2
> to be sent to the client for which i could either add a signal handler
> in the client or just use gdb to get notified of it.

correct. I'd expect there to be a number of less critical reschedules
happening around startup/shutdown of a client, which one could consider
a false positive, but there should be no unexpected rescheduling while
the client is up and running.

Ingo
-
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/