From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFXGK-0008Hy-7j for qemu-devel@nongnu.org; Tue, 21 Jun 2016 21:47:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFXGG-0003uF-AN for qemu-devel@nongnu.org; Tue, 21 Jun 2016 21:47:28 -0400 Sender: Richard Henderson References: <1466528974-12183-1-git-send-email-peter.maydell@linaro.org> <1466528974-12183-3-git-send-email-peter.maydell@linaro.org> From: Richard Henderson Message-ID: <1c367e80-dd4e-c6eb-a5db-1c91f4b66f2e@twiddle.net> Date: Tue, 21 Jun 2016 18:47:20 -0700 MIME-Version: 1.0 In-Reply-To: <1466528974-12183-3-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 2/6] exec.c: Remove static allocation of sub_section of sub_page List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Paolo Bonzini , Vijaya Kumar K , patches@linaro.org On 06/21/2016 10:09 AM, Peter Maydell wrote: > From: Vijaya Kumar K > > Allocate sub_section dynamically. Remove dependency > on TARGET_PAGE_SIZE to make run-time page size detection > for arm platforms. > > Signed-off-by: Vijaya Kumar K > Message-id: 1465808915-4887-3-git-send-email-vijayak@caviumnetworks.com > [PMM: use flexible array member rather than separate malloc > so we don't need an extra pointer deref when using it] > Signed-off-by: Peter Maydell > --- > exec.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Reviewed-by: Richard Henderson r~