Hello,<div><br></div><div>I'm trying to develop a scheduling plugin based on a table that describes which task should be running in each core. My plan is to use hrtimers that fire when a new task should be scheduled (a new entry in the table). I wanted to start the timers in the "activate_plugin()" function, but there is a problem: the hrtimer callback is executed normally by the same core that calls the "hrtimer_start()" function (which starts the timer).</div>
<div><br></div><div>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).</div>
<div><br></div><div>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?</div>
<div><br></div><div><br></div><div><div>Thanks!</div>-- <br>John Gamboa<br><a href="http://rabanetescebolas.blogspot.com">rabanetescebolas.blogspot.com</a><br>
</div>