<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. 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. 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 <sys/utsname.h></div><div><br></div><div>.....</div><div><br></div><div>{</div><div> struct utsname utsname;</div><div> int success;</div><div><br></div><div> success = uname( &utsname );</div><div> </div><div> if( success == 0 && strstr( utsname.version, "ccrma" ) )</div><div> {</div><div> defaultPriority = 60;</div><div> }</div><div> else</div><div> { </div><div> defaultPriority = 20;</div><div> }</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>