Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753922AbYH1U3H (ORCPT ); Thu, 28 Aug 2008 16:29:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757405AbYH1U2u (ORCPT ); Thu, 28 Aug 2008 16:28:50 -0400 Received: from smtp6.pp.htv.fi ([213.243.153.40]:58967 "EHLO smtp6.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757245AbYH1U2t (ORCPT ); Thu, 28 Aug 2008 16:28:49 -0400 Date: Thu, 28 Aug 2008 23:27:50 +0300 From: Adrian Bunk To: Pekka Enberg Cc: Alexey Dobriyan , Vegard Nossum , David Miller , Ingo Molnar , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCH] bitfields API Message-ID: <20080828202750.GB16462@cs181140183.pp.htv.fi> References: <20080828183223.GA30781@localhost.localdomain> <20080828184025.GA22165@x200.localdomain> <48B6F12F.1010909@cs.helsinki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <48B6F12F.1010909@cs.helsinki.fi> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1185 Lines: 35 On Thu, Aug 28, 2008 at 09:40:47PM +0300, Pekka Enberg wrote: > Hi Alexey, > > Alexey Dobriyan wrote: >> On Thu, Aug 28, 2008 at 08:32:23PM +0200, Vegard Nossum wrote: >>> How do you feel about this patch? It's all about making kmemcheck more >>> useful... and not much else. Does it have any chance of entering the >>> kernel along with kmemcheck (when/if that happens)? >> >> DEFINE_BITFIELD is horrible. > > Heh, heh, one alternative is to have a kmemcheck_memset() thingy that > unconditionally zeroes bit fields and maybe is a no-op when kmemcheck is > disabled. This sounds as if this might cause bugs to disappear when debugging gets turned on? Or do I miss anything? cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/