Re: [Xen-devel] [PATCH v2 16/18] mini-os: map page allocator's bitmap to virtual kernel area for ballooning

2016-08-10 Thread Juergen Gross
On 10/08/16 22:45, Samuel Thibault wrote: > It looks a bit odd to be remapping something that was just allocated, > but I guess it makes portability easier. Remapping needs the page allocator to be active as page tables need to be allocated. :-) > > Juergen Gross, on Fri 05 Aug 2016 19:36:00

Re: [Xen-devel] [PATCH v2 16/18] mini-os: map page allocator's bitmap to virtual kernel area for ballooning

2016-08-10 Thread Samuel Thibault
It looks a bit odd to be remapping something that was just allocated, but I guess it makes portability easier. Juergen Gross, on Fri 05 Aug 2016 19:36:00 +0200, wrote: > diff --git a/balloon.c b/balloon.c > index 4c18c5c..75b87c8 100644 > --- a/balloon.c > +++ b/balloon.c > @@ -44,3 +44,20 @@

[Xen-devel] [PATCH v2 16/18] mini-os: map page allocator's bitmap to virtual kernel area for ballooning

2016-08-05 Thread Juergen Gross
In case of CONFIG_BALLOON the page allocator's bitmap needs some space to be able to grow. Remap it to kernel virtual area if the preallocated area isn't large enough. Signed-off-by: Juergen Gross --- balloon.c | 17 + include/balloon.h | 2 ++