From: Julien Grall <julien.grall@citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
xen-devel@lists.xensource.com
Cc: Ian.Campbell@citrix.com
Subject: Re: [PATCH v6 2/2] xen/arm: support gzip compressed kernels
Date: Tue, 22 Sep 2015 10:08:39 +0100 [thread overview]
Message-ID: <56011A97.5050304@citrix.com> (raw)
In-Reply-To: <1442875893-21974-2-git-send-email-stefano.stabellini@eu.citrix.com>
On 21/09/2015 23:51, Stefano Stabellini wrote:
> + /*
> + * Need to free pages after output_size here because they won't be
> + * freed by discard_initial_modules
> + */
> + i = (output_size + PAGE_SIZE - 1) >> PAGE_SHIFT;
> + for ( ; i < (1 << kernel_order_out); i++ )
> + free_domheap_page(pages + i);
> +
> + vunmap(output);
> +
I forgot to mention that vunmap should be called before
free_domheap_pages to avoid mapping on unallocated pages.
Regards,
--
Julien Grall
next prev parent reply other threads:[~2015-09-22 9:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 22:50 [PATCH v6 0/2] support gzipped kernels on arm Stefano Stabellini
2015-09-21 22:51 ` [PATCH v6 1/2] xen: move perform_gunzip to common Stefano Stabellini
2015-09-21 22:51 ` [PATCH v6 2/2] xen/arm: support gzip compressed kernels Stefano Stabellini
2015-09-21 23:03 ` Julien Grall
2015-09-22 1:22 ` Stefano Stabellini
2015-09-22 1:35 ` Stefano Stabellini
2015-09-22 9:04 ` Julien Grall
2015-09-22 9:08 ` Julien Grall [this message]
2015-09-22 22:18 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56011A97.5050304@citrix.com \
--to=julien.grall@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.