[LITMUS^RT] Is the hrtimer_start_on_info structure okay?

Björn Brandenburg bbb at mpi-sws.org
Fri Oct 5 19:12:02 CEST 2012


On Oct 5, 2012, at 5:12 PM, John Gamboa wrote:

> While reading the code, I've seem that Litmus introduces the "hrtimer_start_on_info" structure in the hrtimer.h/.c files. If I understood it right, they are exactly what I'm looking for. I planned to use them to start the timer on other cpus, but after grepping for "start_on_info" through the entire kernel code, I've seem that it is virtually never used (an instance is declared inside the "rt_domain" structure, but that is all).
> 
> Since my last question pointed to some left overs from old Litmus versions, I though it would be better to ask: should I use them? Is there another alternative I didn't notice? Is that structure another left over from the past?
> 

No, it's not a leftover. It's actively used by the "release master" code (i.e., the dedicated interrupt handling code).  The function that you are looking for is hrtimer_start_on(), I believe.

- Björn





More information about the litmus-dev mailing list