Module: xenomai-3
Branch: master
Commit: 9c5283b769d9251cd8c9594da4a58e71df05439b
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9c5283b769d9251cd8c9594da4a58e71df05439b

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Jul 26 12:50:04 2015 +0200

testsuite/latency: remove redundant mlockall()

---

 testsuite/latency/latency.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/testsuite/latency/latency.c b/testsuite/latency/latency.c
index fa19c56..bbc4317 100644
--- a/testsuite/latency/latency.c
+++ b/testsuite/latency/latency.c
@@ -30,7 +30,6 @@
 #include <signal.h>
 #include <sched.h>
 #include <time.h>
-#include <sys/mman.h>
 #include <sys/time.h>
 #include <unistd.h>
 #include <pthread.h>
@@ -778,8 +777,6 @@ int main(int argc, char *const *argv)
               "== All results in microseconds\n",
               period_ns / 1000, test_mode_names[test_mode]);
 
-       mlockall(MCL_CURRENT | MCL_FUTURE);
-
        if (test_mode != USER_TASK) {
                benchdev = open("/dev/rtdm/timerbench", O_RDWR);
                if (benchdev < 0)


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to