Re: ARCS_LOCK_PAD or padding and aligning of mutex structures

2010-03-17 Thread Marius Nünnerich
On Wed, Mar 17, 2010 at 12:02, Marius Nünnerich 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

ARCS_LOCK_PAD or padding and aligning of mutex structures

2010-03-17 Thread Marius Nünnerich
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 . - Marius ___ freebsd-current@freebsd.org mailin