From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755629AbcEXLr0 (ORCPT ); Tue, 24 May 2016 07:47:26 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:20144 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754811AbcEXLrZ (ORCPT ); Tue, 24 May 2016 07:47:25 -0400 X-IronPort-AV: E=Sophos;i="5.26,359,1459814400"; d="scan'208";a="363016994" Subject: Re: [Xen-devel] [PATCH] xen: use same main loop for counting and remapping pages To: Juergen Gross , , References: <1463582694-16128-1-git-send-email-jgross@suse.com> CC: , , From: David Vrabel Message-ID: <57443F45.7060308@citrix.com> Date: Tue, 24 May 2016 12:47:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <1463582694-16128-1-git-send-email-jgross@suse.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/05/16 15:44, Juergen Gross wrote: > Instead of having two functions for cycling through the E820 map in > order to count to be remapped pages and remap them later, just use one > function with a caller supplied sub-function called for each region to > be processed. This eliminates the possibility of a mismatch between > both loops which showed up in certain configurations. Applied to for-linus-4.7, thanks. David