Re: [PATCH v2 2/3] Documentation, ABI: Add a document entry for cache id

From: Borislav Petkov
Date: Sat Jul 09 2016 - 04:17:26 EST

On Fri, Jul 08, 2016 at 09:34:57PM +0200, Ingo Molnar wrote:
> The cache-id identifies a hardware cache of the system within a given
> cache-index category of caches. The (cache-index,cache-id) pair is

I'd say something like:

"... within a given cache index in a set of cache indices. The
"index" name is simply a nomenclature from CPUID's leaf 4 which
enumerates all caches on the system by referring to each one as a
cache index. ... "

Because this way we hint at from where the "index" thing comes and
people can go and read the SDM for more info.

And also we're explaining what it is because, IMHO, whatever formulation
or spelling we do with "cache index", there's simply not a good way of
explaining what it means without *actually* explaining it and where it
comes from.



SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)