From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933450Ab1J2PnQ (ORCPT ); Sat, 29 Oct 2011 11:43:16 -0400 Received: from mail-pz0-f42.google.com ([209.85.210.42]:57084 "EHLO mail-pz0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932484Ab1J2PnO (ORCPT ); Sat, 29 Oct 2011 11:43:14 -0400 Message-ID: <1319902984.2586.35.camel@edumazet-laptop> Subject: Re: >Re: [RFC] should VM_BUG_ON(cond) really evaluate cond From: Eric Dumazet To: Linus Torvalds Cc: Ben Hutchings , Andi Kleen , linux-kernel , netdev , Andrew Morton Date: Sat, 29 Oct 2011 17:43:04 +0200 In-Reply-To: References: <1319764761.23112.14.camel@edumazet-laptop> <20111028012521.GF25795@one.firstfloor.org> <1319766293.6759.17.camel@deadeye> <1319770376.23112.58.camel@edumazet-laptop> <1319772566.6759.27.camel@deadeye> <1319777025.23112.67.camel@edumazet-laptop> <1319803781.23112.113.camel@edumazet-laptop> <1319813252.23112.122.camel@edumazet-laptop> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.0- Content-Transfer-Encoding: 8bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le vendredi 28 octobre 2011 à 07:55 -0700, Linus Torvalds a écrit : > Maybe we should make it a generic helper macro ("ACCESS_AT_MOST_ONCE()")? > > Comments? I think I'm open to tested patches.. > I am currently travelling, but can do that Monday/Tuesday if nobody beats me ;)