From: Raphael Moreira Zinsly <rzinsly@linux.vnet.ibm.com>
To: mtk.manpages@gmail.com
Cc: linux-man@vger.kernel.org, benh@kernel.crashing.org,
mpe@ellerman.id.au,
Raphael Moreira Zinsly <rzinsly@linux.vnet.ibm.com>
Subject: [PATCH] getauxval.3: Add new cache geometry entries
Date: Mon, 16 Sep 2019 15:41:36 -0300 [thread overview]
Message-ID: <20190916184136.13621-1-rzinsly@linux.vnet.ibm.com> (raw)
Add entries for the new cache geometry values of the auxiliary vectors
that got included in the kernel.
Signed-off-by: Raphael Moreira Zinsly <rzinsly@linux.vnet.ibm.com>
---
man3/getauxval.3 | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/man3/getauxval.3 b/man3/getauxval.3
index 794bc97b5..30f0757b5 100644
--- a/man3/getauxval.3
+++ b/man3/getauxval.3
@@ -123,6 +123,33 @@ The instruction cache block size.
.\" .TP
.\" .BR AT_NOTELF
.TP
+.\" Kernel commit 98a5f361b8625c6f4841d6ba013bbf0e80d08147
+.BR AT_L1D_CACHEGEOMETRY
+Geometry of the L1 data cache, that is, line size and number
+of ways.
+.TP
+.BR AT_L1D_CACHESIZE
+The L1 data cache size.
+.TP
+.BR AT_L1I_CACHEGEOMETRY
+Geometry of the L1 instruction cache, that is, line size and
+number of ways.
+.TP
+.BR AT_L1I_CACHESIZE
+The L1 instruction cache size.
+.TP
+.BR AT_L2_CACHEGEOMETRY
+Geometry of the L2 cache, that is, line size and number of ways.
+.TP
+.BR AT_L2_CACHESIZE
+The L2 cache size.
+.TP
+.BR AT_L3_CACHEGEOMETRY
+Geometry of the L3 cache, that is, line size and number of ways.
+.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) ).
--
2.21.0
next reply other threads:[~2019-09-16 18:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-16 18:41 Raphael Moreira Zinsly [this message]
2019-09-23 12:27 ` [PATCH] getauxval.3: Add new cache geometry entries 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)
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=20190916184136.13621-1-rzinsly@linux.vnet.ibm.com \
--to=rzinsly@linux.vnet.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=linux-man@vger.kernel.org \
--cc=mpe@ellerman.id.au \
--cc=mtk.manpages@gmail.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).