All of lore.kernel.org
 help / color / mirror / Atom feed
* small improvement for mlock.2
@ 2010-10-26  7:14 Yuri Kozlov
       [not found] ` <20101026111406.456fec6d-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Yuri Kozlov @ 2010-10-26  7:14 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

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?

-- 
Best Regards,
Yuri Kozlov

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: small improvement for mlock.2
       [not found] ` <20101026111406.456fec6d-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
@ 2010-10-30  5:29   ` Michael Kerrisk
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2010-10-30  5:29 UTC (permalink / raw)
  To: Yuri Kozlov; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello Yuri,

On Tue, Oct 26, 2010 at 9:14 AM, Yuri Kozlov <yuray-YPGtXv8QU+00kPtPmH8OGQ@public.gmane.org> wrote:
> 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?

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


-- 
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-30  5:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26  7:14 small improvement for mlock.2 Yuri Kozlov
     [not found] ` <20101026111406.456fec6d-CpVCSV+zb/Ftei/ch0jEm2ZHpeb/A1Y/@public.gmane.org>
2010-10-30  5:29   ` Michael Kerrisk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.