[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091008.150833.03012683.davem@davemloft.net>
Date: Thu, 08 Oct 2009 15:08:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vegard.nossum@...il.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org, mingo@...e.hu
Subject: Re: [PATCH] net: Fix struct sock bitfield annotation
From: Vegard Nossum <vegard.nossum@...il.com>
Date: Thu, 8 Oct 2009 23:54:02 +0200
> Hm, no, this looks wrong to me, because sk_protocol and sk_type
> _aren't_ in fact part of the bitfield.
>
> We don't want to affect the kernel _at all_ when CONFIG_KMEMCHECK=n,
> so I guess we should make the kmemcheck_bitfield_{begin|end}() macros
> empty instead for that case? (And for kmemcheck kernels, we don't
> really care about the lost 8 bytes anyway.)
Hmmm, indeed.
Eric I'm holding this patch off for now.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists