Not able to mlock
Hi all!,
I am not able to mlock more than half of the memory available. I am
working on ARM processor in which
64 MB of SDRAM memory is available. But I am not able to mlock more
than 32 MB. If I am trying to allocate more than 32 MB, it return
an ENOMEM error. Can any one suggest me why this is happening and what
is the way to mlock more than 32 MB?
Please let me know, do I need to set the limit for mlock in kernel? If
so, where do I set the limit for mlock?
Thanks and Regards,
P.R.Hariram
.
Relevant Pages
- Not able to mlock
... I am not able to mlock more than half of the memory available. ... 64 MB of SDRAM memory is available. ... do I need to set the limit for mlock in kernel? ... (comp.os.linux.embedded) - Not able to mlock
... I am not able to mlock more than half of the memory available. ... 64 MB of SDRAM memory is available. ... do I need to set the limit for mlock in kernel? ... (comp.os.linux.hardware) - Re: [PATCH] [request for inclusion] Realtime LSM
... > mlockall() and/or mlock as well. ... > applications that have the right to get RT scheduling, ... something that fits in the kernel design. ... I didn't review his patch earlier. ... (Linux-Kernel) - Re: vm_page_max_wired and gpg...
... >EAGAIN from mlock(), which my peeking around has shown could be: ... The kernel has a "max wired pages" limit, ... starts up to be one third of physical memory. ... creating dirty filesystem buffers will rapidly raise this. ... (freebsd-current) - Re: Rationale for RLIMIT_MEMLOCK?
... What is the reason we're having special treatment ... multimedia apps running as root only to be able to mlock etc etc. ... the kernel has a relatively low default. ... (Linux-Kernel) |
|