Commit 7dd1f6ef authored by julien.delange's avatar julien.delange
Browse files

* Avoid paging management once system has been initialized.



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/po-hi-c@2199 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 98724ad5
......@@ -5,7 +5,7 @@
*
* For more informations, please visit http://ocarina.enst.fr
*
* Copyright (C) 2010, European Space Agency (ESA).
* Copyright (C) 2010-2011, European Space Agency (ESA).
*/
......
......@@ -55,6 +55,17 @@ __po_hi_task_t tasks[__PO_HI_NB_TASKS];
void __po_hi_wait_for_tasks ()
{
#if defined (XENO_POSIX) || defined (XENO_NATIVE)
/*
* Once initialization has been done, we avoid ALL
* potential paging operations that can introduce
* some indeterministic timing behavior.
*/
#include <sys/mman.h>
mlockall(MCL_CURRENT|MCL_FUTURE);
#endif
#if defined(RTEMS_POSIX) || defined(POSIX)
int i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment