Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 9 Feb 2002 05:44:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 9 Feb 2002 05:44:45 -0500 Received: from bay-bridge.veritas.com ([143.127.3.10]:21489 "EHLO svldns02.veritas.com") by vger.kernel.org with ESMTP id ; Sat, 9 Feb 2002 05:44:29 -0500 Date: Sat, 9 Feb 2002 10:46:10 +0000 (GMT) From: Hugh Dickins To: alad@hss.hns.com cc: Andrew Morton , Andrea Arcangeli , Rik van Riel , "David S. Miller" , Benjamin LaHaise , Marcelo Tosatti , Gerd Knorr , linux-kernel@vger.kernel.org Subject: Re: [PATCH] __free_pages_ok oops In-Reply-To: <65256B5B.00314689.00@sandesh.hss.hns.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 9 Feb 2002 alad@hss.hns.com wrote: > > Is it possible to modify your patch from: > > if (in_interrupt()) > BUG(); > > to > > if (unlikely(in_interrupt()) > BUG(); Unlikely! But seriously, that function is so full of checks for the improbable, that it would seem a bit odd for me to add one just for this instance: unless you've noticed that spectacularly bad code is generated here? I think I'd prefer to blend in with the surroundings for now, and leave it for, say, the ACME Janitorial Services to come along and put BUG_ON()s throughout. Hugh - 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/