svn commit: r241889 - in user/andre/tcp_workqueue/sys: arm/arm cddl/compat/opensolaris/kern cddl/contrib/opensolaris/uts/common/dtrace cddl/contrib/opensolaris/uts/common/fs/zfs ddb dev/acpica dev/...

Andre Oppermann andre at freebsd.org
Tue Oct 23 23:20:16 UTC 2012


On 24.10.2012 00:15, mdf at FreeBSD.org wrote:
> On Tue, Oct 23, 2012 at 7:41 AM, Andre Oppermann <andre at freebsd.org> wrote:
>> Struct mtx and MTX_SYSINIT always occur as pair next to each other.
>
> That doesn't matter.  Language basics like variable definitions should
> not be obscured by macros.  It either takes longer to figure out what
> a variable is (because one needs to look up the definition of the
> macro) or makes it almost impossible (because now e.g. cscope doesn't
> know this is a variable definition.

Sigh, cscope doesn't expand macros?

Is there a way to do the cache line alignment in a sane way without
littering __aligned(CACHE_LINE_SIZE) all over the place?

-- 
Andre



More information about the svn-src-user mailing list