Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752421Ab2HCABP (ORCPT ); Thu, 2 Aug 2012 20:01:15 -0400 Received: from ozlabs.org ([203.10.76.45]:48776 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751203Ab2HCABN (ORCPT ); Thu, 2 Aug 2012 20:01:13 -0400 Date: Fri, 3 Aug 2012 10:01:25 +1000 From: Paul Mackerras To: Marcelo Tosatti Cc: Xiao Guangrong , Avi Kivity , LKML , KVM Subject: Re: [PATCH 4/9] KVM: define kvm_bad_pfn statically Message-ID: <20120803000125.GB12559@bloggs.ozlabs.ibm.com> References: <5014F053.8020305@linux.vnet.ibm.com> <5014F0E1.4010909@linux.vnet.ibm.com> <20120802131527.GE25344@amt.cnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120802131527.GE25344@amt.cnet> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 539 Lines: 14 On Thu, Aug 02, 2012 at 10:15:27AM -0300, Marcelo Tosatti wrote: > Remind me what is the guarantee that -Exxx does not clash with > a valid pfn number? A pfn number is an address >> PAGE_SHIFT, so it will have the top 12 (at least) bits clear, whereas -Exxx will have the top bit set. Paul. -- 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/