Message-ID: Date: Tue, 28 Feb 2006 16:29:52 +0100 From: "Jeroen Van den Keybus" Subject: Re: [Xenomai-help] Page faults In-Reply-To: <440466C6.9050706@domain.hid> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12941_15140911.1141140592823" References: <440466C6.9050706@domain.hid> List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: "xenomai@xenomai.org" ------=_Part_12941_15140911.1141140592823 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > Maybe not all of your user memory is cleanly locked and got swapped out > (swapping activated?). If you don't see kernel oopses and your programs > don't receive segfaults, these faults are references to swapped out or > not yet mapped in pages. BTW, what does the kernel console tell you? I have a mlockall(MCL_CURRENT | MCL_FUTURE) in my main() (non-RT) task alright. Do I need to repeat that for the real-time tasks as well ? I'm quite certain that my kernel is configured for swapping. I did not see any harm in it, as a mlockall() was given. Should I try turning it off (if so, where) ? I do not see 'oopses' and the dmesg log is clean, apart from one incidental spurious IRQ7 interrupt. Is 'dmesg' what you mean by 'kernel console' ? Jeroen. ------=_Part_12941_15140911.1141140592823 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Maybe not all of your user memor= y is cleanly locked and got swapped out
(swapping activated?). If you do= n't see kernel oopses and your programs
don't receive segfaults, these faults are references to swapped out or<= br>not yet mapped in pages. BTW, what does the kernel console tell you?
 
I have a mlockall(MCL_CURRENT | MCL_FUTURE) in my main() (non-RT) task= alright. Do I need to repeat that for the real-time tasks as well ?
 
I'm quite certain that my kernel is configured for swapping. I did not= see any harm in it, as a mlockall() was given. Should I try turning it off= (if so, where) ?
 
I do not see 'oopses' and the dmesg log is clean, apart from one incid= ental spurious IRQ7 interrupt. Is 'dmesg' what you mean by 'kernel con= sole' ?
 
 
Jeroen.
 
------=_Part_12941_15140911.1141140592823--