Gilles Chanteperdrix wrote: > On 8/3/07, Johan Borkhuis <[EMAIL PROTECTED]> wrote: > > Philippe, > > > > (BTW: is this something that should be discussed in the Xenomai group, > > or would it be better to move this discussion to the Adeos mailing list?) > > > > I do have question on this. We already discussed this problem earlier, > > and I managed to find a very dirty work around for my application: I > > added a lot of "dummy" functions to my application, which are spread > > over the whole application. By calling these after the mlockall, but > > before I switch to RT-mode I manage to eliminate most of the switches. > > Before implementing the nocow patch, I opened /proc/self/maps and > caused a fault on every writable page, even if ugly, this looks > simpler than spreading dummy functions over the whole application.
I posted the piece of code here: https://mail.gna.org/public/xenomai-help/2006-12/msg00168.html -- Gilles Chanteperdrix. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
