Re: ARCS_LOCK_PAD or padding and aligning of mutex structures

From: Marius Nünnerich <marius_at_nuenneri.ch>
Date: Wed, 17 Mar 2010 21:52:56 +0100
On Wed, Mar 17, 2010 at 12:02, Marius Nünnerich <marius_at_nuenneri.ch> wrote:
> Hi Kip,
>
> I wondered if one shouldn't use CACHE_LINE_SIZE for ARCS_LOCK_PAD
> instead of hardcoding 128? And maybe even use it for aligning the
> struct, see http://fxr.watson.org/fxr/source/vm/vm_page.h#L176 .

I actually meant arc.c line 227. The __aligned like in vm_page.h is not needed?
Received on Wed Mar 17 2010 - 19:53:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:01 UTC