[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v7 2/2] xen/arm: support gzip compressed kernels



On Wed, 2015-09-23 at 19:31 +0100, 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;

You have access to DIV_ROUND_UP here.

The rest looks good to me.

I'd have preferred to avoid exporting dt_unreserved_regions, but nevermind.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.