Date: Wed, 17 Mar 2010 21:52:56 +0100 From: =?UTF-8?Q?Marius_N=C3=BCnnerich?= <marius@nuenneri.ch> To: kmacy@freebsd.org Cc: freebsd-current@freebsd.org Subject: Re: ARCS_LOCK_PAD or padding and aligning of mutex structures Message-ID: <b649e5e1003171352g7bbaf623jc6bad2add49476f1@mail.gmail.com> In-Reply-To: <b649e5e1003170402w1b82a167we7cd98e4e0aa88d4@mail.gmail.com> References: <b649e5e1003170402w1b82a167we7cd98e4e0aa88d4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 17, 2010 at 12:02, Marius N=C3=BCnnerich <marius@nuenneri.ch> w= rote: > 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 nee= ded?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b649e5e1003171352g7bbaf623jc6bad2add49476f1>