linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Raphael M Zinsly <rzinsly@linux.vnet.ibm.com>
To: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
Cc: linux-man@vger.kernel.org, benh@kernel.crashing.org, mpe@ellerman.id.au
Subject: Re: [PATCH] getauxval.3: Add new cache geometry entries
Date: Mon, 23 Sep 2019 10:36:16 -0300	[thread overview]
Message-ID: <91faffae-777b-7e77-2986-463dc01508be@linux.vnet.ibm.com> (raw)
In-Reply-To: <3a8ec98c-f93e-f186-b365-82857ec46395@gmail.com>

On 23/09/2019 09:27, Michael Kerrisk (man-pages) wrote:
> Hello Raphael,
> 
> Thanks for this patch. I have a question below.
> 
> 
> On 9/16/19 8:41 PM, Raphael Moreira Zinsly wrote:
>> 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.
> 
> What is "number of ways"?
> 

It is the cache associativity, e.g.: 8 means the cache is 8-way set 
associative.


> Thanks,
> 
> Michael
> 
>> +.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) ).
>>
> 
> 
Thanks,
-- 
Raphael Moreira Zinsly
IBM
Linux on Power Toolchain

  reply	other threads:[~2019-09-23 13:36 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 [this message]
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=91faffae-777b-7e77-2986-463dc01508be@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).