[lkml]   [2016]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 15/32] cacheinfo: Introduce cache id
On 12 July 2016 at 20:02, Fenghua Yu <> wrote:
> From: Fenghua Yu <>
> Each cache is described by cacheinfo and is unique in the same index
> across the platform. But there is no id for a cache. We introduce cache
> ID to identify a cache.
> Intel Cache Allocation Technology (CAT) allows some control on the
> allocation policy within each cache that it controls. We need a unique
> cache ID for each cache level to allow the user to specify which
> controls are applied to which cache. Cache id is a concise way to specify
> a cache.
> Cache id is first enabled on x86. It can be enabled on other platforms
> as well. The cache id is not necessary contiguous.
> Add an "id" entry to /sys/devices/system/cpu/cpu*/cache/index*/

Can you explain what index and platform mean? I think those terms are
generic in nature. May be an example on how cache ids would be
assigned to different caches would help.


 \ /
  Last update: 2016-07-27 19:41    [W:0.354 / U:6.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site