1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

removed memory locking because its unlikely to be benefitial

git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@71 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
Steffen Vogel 2014-06-25 01:53:34 +00:00
parent 7b3a69a458
commit 7367b533dd

View file

@ -118,17 +118,6 @@ int main(int argc, char *argv[])
if (!paths)
error("No paths found. Terminating...");
/* Lock memory */
/*if(mlockall(MCL_CURRENT | MCL_FUTURE))
perror("Failed mlockall");
else
debug(3, "Locked memory");*/
/* Prefault stack */
/*char dummy[MAX_SAFE_STACK];
memset(dummy, 0, MAX_SAFE_STACK);
debug(3, "Prefaulted stack");*/
/* Check for realtime kernel patch */
struct stat st;
if (stat("/sys/kernel/realtime", &st))