From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v8 2/2] xen/arm: support gzip compressed kernels Date: Thu, 1 Oct 2015 13:11:29 +0100 Message-ID: <1443701489.11707.33.camel@citrix.com> References: <1443542344-11824-2-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1443542344-11824-2-git-send-email-stefano.stabellini@eu.citrix.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: Stefano Stabellini , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, 2015-09-29 at 16:59 +0100, Stefano Stabellini wrote: > Free the memory used for the compressed kernel and update the relative > mod->start and mod->size parameters with the uncompressed ones. > > To decompress the kernel, allocate memory from dommheap, because freeing > the modules is done by calling init_heap_pages, which frees to domheap. > Map these pages using vmap, because they might not be in the linear 1:1 > map. > > Signed-off-by: Stefano Stabellini > CC: ian.campbell@citrix.com Acked this + applied both, thanks.