small improvement for mlock.2
Hello.
"""
The VmLck field of the Linux-specific /proc/PID/status file shows how many kilobytes of memory the calling process has locked using mlock(), mlockall(), shmctl(2) SHM_LOCK, and mmap(2) MAP_LOCKED.
""""
Not for "calling process", but for process with PID?
Signature · 7 lines
Best Regards, Yuri Kozlov -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello Yuri,
Quoted 8 lines · Yuri Kozlov
Hello.
"""
The VmLck field of the Linux-specific/proc/PID/statusfile shows how many kilobytes of memory the calling process has locked usingmlock(),mlockall(), shmctl(2)SHM_LOCK, and mmap(2)MAP_LOCKED.
""""Not for "calling process", but for process with PID?
Thanks. I applied:
@@ -288,7 +288,9 @@ The
.I VmLck
field of the Linux-specific
.I /proc/PID/status
-file shows how many kilobytes of memory the calling process has locked using +file shows how many kilobytes of memory the process with ID
+.I PID
+has locked using
.BR mlock (),
.BR mlockall (),
.BR shmctl (2)
Cheers,
Michael
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html