Thread (13 messages) 13 messages, 3 authors, 2014-08-21

Re: [PATCH 2/9] drivers: base: support cpu cache information interface to userspace via sysfs

From: Sudeep Holla <hidden>
Date: 2014-06-26 18:41:10
Also in: linux-arm-kernel, linux-s390, lkml

Hi,

On 25/06/14 23:23, Russell King - ARM Linux wrote:
On Wed, Jun 25, 2014 at 06:30:37PM +0100, Sudeep Holla wrote:
quoted
+=09=09coherency_line_size: the minimum amount of data that gets transfe=
rred
So, what value to do envision this taking for a CPU where the cache
line size is 32 bytes, but each cache line has two dirty bits which
allow it to only evict either the upper or lower 16 bytes depending
on which are dirty?
IIUC most of existing implementations of cacheinfo on various architectures
are representing the cache line size as coherency_line_size, in which case =
I
need fix the definition in this file.

BTW will there be any architectural way of finding such configuration ?

Regards,
Sudeep
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help