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

From: Luck, Tony
Date: Fri Jul 08 2016 - 14:47:45 EST


> > > "index4" is the L3-unified cache.
> >
> > Crazy. What was wrong with using 'level' or 'depth'?
>
> It is all there:
>
> $ grep . /sys/devices/system/cpu/cpu0/cache/index?/level
> /sys/devices/system/cpu/cpu0/cache/index0/level:1

The term "index" came from the Intel Software developer manual, volume
2, description of CPUID instruction which talks about the index into leaf
and sub leaf. I think Ingo might have been making a small dig at Intel
documentation :-)

-Tony