From: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
To: Raphael Moreira Zinsly <rzinsly@linux.vnet.ibm.com>
Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org,
benh@kernel.crashing.org, mpe@ellerman.id.au
Subject: Re: [PATCH v2] getauxval.3: Add new cache geometry entries
Date: Tue, 24 Sep 2019 22:05:06 +0200 [thread overview]
Message-ID: <eb513b92-6ce6-a2e1-dbab-65764248931c@gmail.com> (raw)
In-Reply-To: <20190924131142.6126-1-rzinsly@linux.vnet.ibm.com>
Hello Raphael,
On 9/24/19 3:11 PM, Raphael Moreira Zinsly wrote:
> Add entries for the new cache geometry values of the auxiliary vectors
> that got included in the kernel.
Thanks the rewording, and also the explanation of the geometry
value.
I've applied the patch.
Thanks,
Michael
> Signed-off-by: Raphael Moreira Zinsly <rzinsly@linux.vnet.ibm.com>
> ---
> man3/getauxval.3 | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> diff --git a/man3/getauxval.3 b/man3/getauxval.3
> index 794bc97b5..b78a63225 100644
> --- a/man3/getauxval.3
> +++ b/man3/getauxval.3
> @@ -123,6 +123,34 @@ The instruction cache block size.
> .\" .TP
> .\" .BR AT_NOTELF
> .TP
> +.\" Kernel commit 98a5f361b8625c6f4841d6ba013bbf0e80d08147
> +.BR AT_L1D_CACHEGEOMETRY
> +Geometry of the L1 data cache, encoded with the cache line size in
> +bytes in the bottom 16 bits and the cache associativity in the next 16
> +bits. The associativity is such that if N is the 16-bit value, the cache
> +is N-way set associative.
> +.TP
> +.BR AT_L1D_CACHESIZE
> +The L1 data cache size.
> +.TP
> +.BR AT_L1I_CACHEGEOMETRY
> +Geometry of the L1 instruction cache, encoded as for AT_L1D_CACHEGEOMETRY.
> +.TP
> +.BR AT_L1I_CACHESIZE
> +The L1 instruction cache size.
> +.TP
> +.BR AT_L2_CACHEGEOMETRY
> +Geometry of the L2 cache, encoded as for AT_L1D_CACHEGEOMETRY.
> +.TP
> +.BR AT_L2_CACHESIZE
> +The L2 cache size.
> +.TP
> +.BR AT_L3_CACHEGEOMETRY
> +Geometry of the L3 cache, encoded as for AT_L1D_CACHEGEOMETRY.
> +.TP
> +.BR AT_L3_CACHESIZE
> +The L3 cache size.
> +.TP
> .BR AT_PAGESZ
> The system page size (the same value returned by
> .IR sysconf(_SC_PAGESIZE) ).
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
prev parent reply other threads:[~2019-09-24 20:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-16 18:41 [PATCH] getauxval.3: Add new cache geometry entries Raphael Moreira Zinsly
2019-09-23 12:27 ` Michael Kerrisk (man-pages)
2019-09-23 13:36 ` Raphael M Zinsly
2019-09-24 18:41 ` G. Branden Robinson
2019-09-24 20:08 ` Michael Kerrisk (man-pages)
2019-09-24 4:27 ` Michael Kerrisk (man-pages)
2019-09-24 13:11 ` [PATCH v2] " Raphael Moreira Zinsly
2019-09-24 20:05 ` Michael Kerrisk (man-pages) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eb513b92-6ce6-a2e1-dbab-65764248931c@gmail.com \
--to=mtk.manpages@gmail.com \
--cc=benh@kernel.crashing.org \
--cc=linux-man@vger.kernel.org \
--cc=mpe@ellerman.id.au \
--cc=rzinsly@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).