Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964922AbWCQJwO (ORCPT ); Fri, 17 Mar 2006 04:52:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964925AbWCQJwO (ORCPT ); Fri, 17 Mar 2006 04:52:14 -0500 Received: from rhlx01.fht-esslingen.de ([129.143.116.10]:4993 "EHLO rhlx01.fht-esslingen.de") by vger.kernel.org with ESMTP id S964922AbWCQJwO (ORCPT ); Fri, 17 Mar 2006 04:52:14 -0500 Date: Fri, 17 Mar 2006 10:52:08 +0100 From: Andreas Mohr To: Ingo Molnar Cc: Con Kolivas , ck@vds.kolivas.org, linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [ck] Re: [PATCH] -mm: Small schedule() optimization Message-ID: <20060317095208.GA31745@rhlx01.fht-esslingen.de> References: <20060308175450.GA28763@rhlx01.fht-esslingen.de> <200603111200.27557.kernel@kolivas.org> <20060317091347.GD13387@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060317091347.GD13387@elte.hu> User-Agent: Mutt/1.4.2.1i X-Priority: none Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 644 Lines: 24 Hi, On Fri, Mar 17, 2006 at 10:13:47AM +0100, Ingo Molnar wrote: > > * Con Kolivas wrote: > > Probably better to just > > if (unlikely(in_atomic())) { > > if (!current->exit_state) { > > > > Ingo? > > yeah. There's not much point in nesting likely/unlikely. In fact we can > just merge the two conditions, as per updated patch below. ACK, thanks! > Ingo Andreas Mohr - 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/