This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Adding cache shape info to powerpc
- From: Benjamin Herrenschmidt <benh at kernel dot crashing dot org>
- To: munroesj at linux dot vnet dot ibm dot com
- Cc: Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>, Florian Weimer <fweimer at redhat dot com>, libc-alpha at sourceware dot org, Paul Mackerras <pmac at au1 dot ibm dot com>
- Date: Fri, 02 Dec 2016 10:00:38 +1100
- Subject: Re: Adding cache shape info to powerpc
- Authentication-results: sourceware.org; auth=none
- References: <1471408952.19495.29.camel@kernel.crashing.org> <d350e721-0410-3c3a-86c2-a9f3d90b8f0d@redhat.com> <1471479455.19495.36.camel@kernel.crashing.org> <1480605033.7377.9.camel@oc7878010663> <1480623003.3459.21.camel@kernel.crashing.org> <1480629853.7377.15.camel@oc7878010663>
On Thu, 2016-12-01 at 16:04 -0600, Steven Munroe wrote:
> The AT_*_CACHESHAPE where encoding more information then strictly
> required for _SC_*CACHE_SIZE.
>
> So the alternative is to define 4 new/different AT_*_CACHESIZE
> entries
> where each is just the respective cache size in KB.
>
> This should handle current and projected values in 32-bits for the
> foreseeable future.
You don't see any need present or future for the associativity
information at all ?
Cheers,
Ben.