[openib-general] http://openib.org/downloads/
Grant Grundler
iod00d at hp.com
Wed Mar 9 10:30:55 PST 2005
On Wed, Mar 09, 2005 at 11:56:23AM -0600, Timur Tabi wrote:
> man mlock:
>
> ERRORS
>
> EPERM The calling process does not have appropriate
> privileges. Only root processes are allowed to lock pages.
mine says:
EPERM The calling process has insufficient privilege to call mlock.
Under Linux the CAP_IPC_LOCK capability is required.
Assuming roland tried it, I'll guess that all processes are
given CAP_IPC_LOCK by default.
Further, ulimit -a output is enlightening:
grundler at gsyprf11:~$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
grant
More information about the general
mailing list