On 20 Jan 2011, at 11:59 , Dennis Ferguson wrote:
> Is there a way to obtain the correct cache line size for the machine
> code is running on, both in the kernel and at user level?

I found it.  It is "coherency_unit" in the kernel (it is an
appropriately small number, rather than the cache line size,
in uniprocessor kernels), but doesn't seem to be exposed outside
of there.

Dennis Ferguson

Reply via email to