<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hi,</div><div><br></div><div>currently I am working on a mode change implementation, on top of the P-RES plugin.</div><div>In the case of a mode change, tasks sleeping may need to be woken up before their previous mode release time.</div><div><br></div><div>On job completion tasks are put asleep with <span><br></span></div><div><span>schedule_hrtimeout(&next_release, HRTIMER_MODE_ABS);</span></div><div><span>the task state is <span>TASK_INTERRUPTIBLE - <span>litmus/jobs.c:147</span><br></span></span></div><div><span><span><br></span></span></div><div><span><span>So my question is what is the best way to wake up a sleeping task in this plugin?</span></span></div><div><span><span>I tried to call <span><span class="ydp8373286pl-c">wake_up_process()</span></span> from the plugin, but this did not work out of the box.<br></span></span></div><div><span><span><br></span></span></div><div><span><span>Best Regards,</span></span></div><div><span><span>Julien<br></span></span></div><div><span><span><br></span></span></div><div><span><span></span></span><br></div><div><div><pre class="ydp77b7ed7fcode ydp77b7ed7fhighlight" lang="diff"><span id="ydp77b7ed7fLC5" class="ydp77b7ed7fline" lang="diff"></span>
</pre></div><br></div></div></body></html>