Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2010 12:02:11 +0100
From:      =?UTF-8?Q?Marius_N=C3=BCnnerich?= <marius@nuenneri.ch>
To:        kmacy@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   ARCS_LOCK_PAD or padding and aligning of mutex structures
Message-ID:  <b649e5e1003170402w1b82a167we7cd98e4e0aa88d4@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b649e5e1003170402w1b82a167we7cd98e4e0aa88d4>