Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752816Ab1BVRJG (ORCPT ); Tue, 22 Feb 2011 12:09:06 -0500 Received: from claw.goop.org ([74.207.240.146]:55796 "EHLO claw.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752602Ab1BVRJE (ORCPT ); Tue, 22 Feb 2011 12:09:04 -0500 Message-ID: <4D63EDA6.2070302@goop.org> Date: Tue, 22 Feb 2011 09:08:54 -0800 From: Jeremy Fitzhardinge User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7 MIME-Version: 1.0 To: Andrea Arcangeli CC: Jan Beulich , Ian Campbell , Andi Kleen , Hugh Dickins , the arch/x86 maintainers , Thomas Gleixner , Andrew Morton , "Xen-devel@lists.xensource.com" , Konrad Rzeszutek Wilk , Johannes Weiner , Larry Woodman , Rik van Riel , Linux Kernel Mailing List , "H. Peter Anvin" Subject: Re: [PATCH] fix pgd_lock deadlock References: <20110215195450.GO5935@random.random> <20110216183304.GD5935@random.random> <20110217101941.GH2380@redhat.com> <20110221143023.GF13092@random.random> <20110221145350.GH25382@redhat.com> <4D6378760200007800033104@vpn.id2.novell.com> <20110222134956.GU13092@random.random> <4D63D4CD020000780003320A@vpn.id2.novell.com> <20110222143421.GX13092@random.random> In-Reply-To: <20110222143421.GX13092@random.random> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 922 Lines: 22 On 02/22/2011 06:34 AM, Andrea Arcangeli wrote: > On Tue, Feb 22, 2011 at 02:22:53PM +0000, Jan Beulich wrote: >> If everyone's okay with putting a couple of "if (xen_pv_domain())" >> into mm/fault.c - sure. I would have thought that this wouldn't be >> liked, hence the suggestion to make this depend on seeing the >> backlink be non-NULL. > I prefer the if (xen_pv_domain) so it also gets optimized away > at build time when CONFIG_XEN=n. I think it's also more self > explanatory to read. Eh, very not keen about that. I'd only consider it as a last resort. In practice CONFIG_XEN is always enabled in distros, so the conditional would always be done at runtime. J -- 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/