ARCS_LOCK_PAD or padding and aligning of mutex structures

From: Marius Nünnerich <marius_at_nuenneri.ch>
Date: Wed, 17 Mar 2010 12:02:11 +0100
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
Received on Wed Mar 17 2010 - 10:02:48 UTC

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