<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 24/11/2009, at 6:26 PM, Fernando Lopez-Lezcano wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Mon, 2009-11-23 at 18:33 -0800, Jonathan Ryshpan wrote:<br><font class="Apple-style-span" color="#006312"><br></font><blockquote type="cite">I'd advise not to try to get Fedora to change its policies, if you can<br></blockquote><blockquote type="cite">avoid it. &nbsp;Such coordination is always trouble for both parties.<br></blockquote><br>Maybe so. If a better jack makes it into Fedora it would be best that it<br>could be made compatible with the rt kernel and rtirq. We'll see how it<br>goes. <br></div></blockquote></div><br><div>Just weighing in with my 2c here. &nbsp;It should be possible to patch jack to change the default priority at runtime based on the kernel it's running on.</div><div><br></div><div>Something like</div><div>#include &lt;sys/utsname.h&gt;</div><div><br></div><div>.....</div><div><br></div><div>{</div><div>&nbsp;&nbsp;struct utsname utsname;</div><div>&nbsp;&nbsp;int success;</div><div><br></div><div>&nbsp;&nbsp;success = uname( &amp;utsname );</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;if( success == 0 &amp;&amp; strstr( utsname.version, "ccrma" ) )</div><div>&nbsp;&nbsp;{</div><div>&nbsp;&nbsp; &nbsp;defaultPriority = 60;</div><div>&nbsp;&nbsp;}</div><div>&nbsp;&nbsp;else</div><div>&nbsp;&nbsp;{&nbsp;</div><div>&nbsp;&nbsp; &nbsp;defaultPriority = 20;</div><div>&nbsp;&nbsp;}</div><div>}</div><div><br></div><div>I'd would think this would be an easy patch to maintain as it would slot early into the options parser, which is probably something that is not changed frequently upstream. (note I made up the variable defaultPriority, so I have no idea if it's as easy as this in the Jack source, however I normally write a getopt parser by setting default values from compiled in options and then overriding them if an option is set, so if this is the case, it should be fairly straightforward).</div><div><br></div><div>I suspect Fedora may frown on such detection of kernel versions but in my opinion this would be a good solution - even if you are using CCRMA but (for security / stability reasons) using a stock (Fedora) kernel, Jack will automagically make the right default choice.</div><div><br></div><div><br></div></body></html>