Re: [PATCH 2/4] x86,xen: introducex86_init.mapping.pagetable_reserve

From: Konrad Rzeszutek Wilk
Date: Wed Apr 13 2011 - 14:04:15 EST

On Tue, Apr 12, 2011 at 10:40:57AM -0700, Yinghai Lu wrote:
> On 04/12/2011 04:19 AM, stefano.stabellini@xxxxxxxxxxxxx wrote:
> >From: Stefano Stabellini<stefano.stabellini@xxxxxxxxxxxxx>
> >
> >Introduce a new x86_init hook called pagetable_reserve that during the
> >initial memory mapping is used to reserve a range of memory addresses for
> >kernel pagetable usage.
> >
> >On native it just calls memblock_x86_reserve_range while on xen it also
> >takes care of setting the spare memory previously allocated
> >for kernel pagetable pages from RO to RW, so that it can be used for
> >other purposes.
> >
> >Signed-off-by: Stefano Stabellini<stefano.stabellini@xxxxxxxxxxxxx>
> >Cc: Yinghai Lu<yinghai@xxxxxxxxxx>
> >Cc: H. Peter Anvin<hpa@xxxxxxxxx>
> >Cc: Ingo Molnar<mingo@xxxxxxx>
> Acked-by: Yinghai Lu <yinghai@xxxxxxxxxx>


I stuck this and some of the other in this thread on 'stable/bug-fixes-rc3'
(git:// But before
I send them to Linus to pull I need your OK? Would it be OK if I stuck
your Ack on the patch?

Or you could take this patch (the one I stuck in my tree has the description
a bit modified so I recommend that one).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at