<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 28 September 2015 at 03:52, <span dir="ltr"><<a href="mailto:Valdis.Kletnieks@vt.edu" target="_blank">Valdis.Kletnieks@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 27 Sep 2015 15:08:57 +1300, vibnwis said:<br>
<br>
> Xenomai patching succeeded but when running one of is test apps, "latency"<br>
> showing<br>
> > > > > > > >> > 0"000.000| BUG in low_init(): [main] mlockall: Cannot<br>
> allocate<br>
> > > > > memory<br>
> And the mailing list member suggested the following<br>
<br>
Is that in dmesg, or output from the test program?<br>
Is there more output, or is that it?<br></blockquote><div>The above error message is from the output of the test app, "latency" <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Personally, if TRACE_IRQFLAGS is causing an issue with mlock, I'd suspect<br>
a very buggy patch indeed. If it can't tolerate a trace function being<br>
turned on, there;s probably some very questionable coding in there.....<br></blockquote><div>Thanks for sharing. Being a newbie, I would have to have some sort faith until it is proven otherwise. Hence, I am tasked to get the TRACE_IRQFLAGS turn off. Once, I have got it done and the results would tell us if the patches were fine or not.<br><br><br></div><div> </div></div><br></div></div>