* [PATCH] proc.5: wfix
@ 2020-10-24 22:18 Jing Peng
2020-10-25 8:48 ` Michael Kerrisk (man-pages)
0 siblings, 1 reply; 4+ messages in thread
From: Jing Peng @ 2020-10-24 22:18 UTC (permalink / raw)
To: mtk.manpages; +Cc: linux-man, Jing Peng
In the section for /proc/[pid]/smaps, the description of field
ProtectionKey occurs twice: both before and after the description of
VmFlags.
Changes made by this patch:
1) Only the first occurrence is kept because its order matches the
output of /proc/[pid]/smaps.
2) The kernel version that CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS was
introduced is only mentioned in the second occurrence. Now it's moved
to the first one.
Signed-off-by: Jing Peng <pj.hades@gmail.com>
---
man5/proc.5 | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/man5/proc.5 b/man5/proc.5
index ed309380b..ac58c789a 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -1987,7 +1987,7 @@ contains the memory protection key (see
associated with the virtual memory area.
This entry is present only if the kernel was built with the
.B CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
-configuration option.
+configuration option (since Linux 4.6).
.IP
The "VmFlags" line (available since Linux 3.8)
represents the kernel flags associated with the virtual memory area,
@@ -2026,13 +2026,6 @@ encoded using the following two-letter codes:
um - userfaultfd missing pages tracking (since Linux 4.3)
uw - userfaultfd wprotect pages tracking (since Linux 4.3)
.IP
-"ProtectionKey" field contains the memory protection key (see
-.BR pkeys (7))
-associated with the virtual memory area.
-Present only if the kernel was built with the
-.B CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
-configuration option. (since Linux 4.6)
-.IP
The
.IR /proc/[pid]/smaps
file is present only if the
--
2.29.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] proc.5: wfix
2020-10-24 22:18 [PATCH] proc.5: wfix Jing Peng
@ 2020-10-25 8:48 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-10-25 8:48 UTC (permalink / raw)
To: Jing Peng; +Cc: mtk.manpages, linux-man
On 10/25/20 12:18 AM, Jing Peng wrote:
> In the section for /proc/[pid]/smaps, the description of field
> ProtectionKey occurs twice: both before and after the description of
> VmFlags.
>
> Changes made by this patch:
> 1) Only the first occurrence is kept because its order matches the
> output of /proc/[pid]/smaps.
> 2) The kernel version that CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS was
> introduced is only mentioned in the second occurrence. Now it's moved
> to the first one.
>
> Signed-off-by: Jing Peng <pj.hades@gmail.com>
Thank you, Jing Peng. Patch applied.
Cheers,
Michael
> ---
> man5/proc.5 | 9 +--------
> 1 file changed, 1 insertion(+), 8 deletions(-)
>
> diff --git a/man5/proc.5 b/man5/proc.5
> index ed309380b..ac58c789a 100644
> --- a/man5/proc.5
> +++ b/man5/proc.5
> @@ -1987,7 +1987,7 @@ contains the memory protection key (see
> associated with the virtual memory area.
> This entry is present only if the kernel was built with the
> .B CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
> -configuration option.
> +configuration option (since Linux 4.6).
> .IP
> The "VmFlags" line (available since Linux 3.8)
> represents the kernel flags associated with the virtual memory area,
> @@ -2026,13 +2026,6 @@ encoded using the following two-letter codes:
> um - userfaultfd missing pages tracking (since Linux 4.3)
> uw - userfaultfd wprotect pages tracking (since Linux 4.3)
> .IP
> -"ProtectionKey" field contains the memory protection key (see
> -.BR pkeys (7))
> -associated with the virtual memory area.
> -Present only if the kernel was built with the
> -.B CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
> -configuration option. (since Linux 4.6)
> -.IP
> The
> .IR /proc/[pid]/smaps
> file is present only if the
> --
> 2.29.1
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] proc.5: wfix
[not found] ` <1361219486-9750-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
@ 2013-02-25 7:04 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2013-02-25 7:04 UTC (permalink / raw)
To: Simon Paillard; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Thanks Simon. Applied.
On Mon, Feb 18, 2013 at 9:31 PM, Simon Paillard <spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org> wrote:
> A write to /proc/profile may *set* interrupt frequency to that value.
> ---
> man5/proc.5 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man5/proc.5 b/man5/proc.5
> index 30ca3a9..1e13b60 100644
> --- a/man5/proc.5
> +++ b/man5/proc.5
> @@ -1966,7 +1966,7 @@ Writing (e.g., an empty string) to this file resets the profiling counters;
> on some architectures,
> writing a binary integer "profiling multiplier" of size
> .IR sizeof(int)
> -resets the profiling interrupt frequency.
> +sets the profiling interrupt frequency.
>
> .TP
> .I /proc/scsi
> --
> 1.7.10.4
>
> --
> 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
--
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] 4+ messages in thread
* [PATCH] proc.5: wfix
@ 2013-02-18 20:31 Simon Paillard
[not found] ` <1361219486-9750-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Simon Paillard @ 2013-02-18 20:31 UTC (permalink / raw)
To: linux-man-u79uwXL29TY76Z2rM5mHXA; +Cc: Simon Paillard
A write to /proc/profile may *set* interrupt frequency to that value.
---
man5/proc.5 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man5/proc.5 b/man5/proc.5
index 30ca3a9..1e13b60 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -1966,7 +1966,7 @@ Writing (e.g., an empty string) to this file resets the profiling counters;
on some architectures,
writing a binary integer "profiling multiplier" of size
.IR sizeof(int)
-resets the profiling interrupt frequency.
+sets the profiling interrupt frequency.
.TP
.I /proc/scsi
--
1.7.10.4
--
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 related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-10-25 8:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-24 22:18 [PATCH] proc.5: wfix Jing Peng
2020-10-25 8:48 ` Michael Kerrisk (man-pages)
-- strict thread matches above, loose matches on Subject: below --
2013-02-18 20:31 Simon Paillard
[not found] ` <1361219486-9750-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2013-02-25 7:04 ` Michael Kerrisk (man-pages)
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.