(In reply to comment #23) > Andrea suggests checking whether these programs are calling madvise() with > bogus flags
Not explicitly, but probably forgot to unlock memory - try this code:
#include <sys/mman.h>
int main (int argc, char *argv[]) { mlockall(MCL_CURRENT | MCL_FUTURE); // munlockall();
return 0; }
(In reply to comment #23)
> Andrea suggests checking whether these programs are calling madvise() with
> bogus flags
Not explicitly, but probably forgot to unlock memory - try this code:
#include <sys/mman.h>
int main (int argc, char *argv[])
mlockall( MCL_CURRENT | MCL_FUTURE);
{
// munlockall();
return 0;
}