<br><div class="gmail_quote">On Sat, Mar 5, 2011 at 10:25 PM, Robin Gareus <span dir="ltr"><<a href="mailto:robin@gareus.org">robin@gareus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
</blockquote><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
quick glance: I got the impression that it only addresses scheduling<br>
policy (task partitioning) and not realtime task preemption. Also<br>
software needs to be written dedicated for Litmus RT.<br>
<br></blockquote><div><br>Judging from the installation instructions, it seems preemption is there:<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
<pre class="shell">cd litmus-rt<br>patch -p1 < ../litmus-rt-2011.1.patch<br># create a working kernel configuration<br>#  - select HZ=1000<br>#  - enable in-kernel preemptions<br>#  - disable NO_HZ<br>#  - don't use power management options like frequency scaling<br>
#  - disable support for group scheduling<br>#  - disable "Write protect kernel read-only data structures" (in kernel debug)<br></pre></blockquote>I got the feeling from reading that the main thing missing is some kind of sane interface for assigning RT priviliges to non-root users. Then again, that maybe covered to some degree in the provided liblitmus which in turn provides:<br>
<br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">rt_launch, which can be used to start arbitrary programs as real-time tasks.<br></blockquote>
<br>If I get adventurous I may try compiling this thing to see what I can see. Most of it is over my head and I'll take your word for it that this is far from userland friendly or ready, but it looks like a fun learning exercise.<br>
<br>-m<br>
</div></div>