ARCS_LOCK_PAD or padding and aligning of mutex structures
Marius Nünnerich
marius at nuenneri.ch
Wed Mar 17 20:53:18 UTC 2010
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?
More information about the freebsd-current
mailing list