From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v3] xen: arm: Support <32MB frametables Date: Wed, 26 Aug 2015 17:44:57 -0700 Message-ID: <55DE5D89.9010308@citrix.com> References: <1440192637-15007-1-git-send-email-chris.brand@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1440192637-15007-1-git-send-email-chris.brand@broadcom.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chris Brand , xen-devel@lists.xen.org Cc: Stefano Stabellini , Ian Campbell List-Id: xen-devel@lists.xenproject.org Hi Chris, On 21/08/2015 14:30, Chris Brand wrote: > setup_frametable_mappings() rounds frametable_size up to a multiple > of 32MB. This is wasteful on systems with less than 4GB of RAM, > although it does allow the "contig" bit to be set in the PTEs. > > Where the frametable is less than 32MB in size, instead round up > to a multiple of 2MB, not setting the "contig" bit in the PTEs. > > Signed-off-by: Chris Brand Reviewed-by: Julien Grall Regards, -- Julien Grall