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

[Xen-devel] Re: [PATCH 2/6] Change the boot allocator function to support memory add



On 28/06/2009 14:59, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

>> I think the PGC_ flags could be extended to do this, yes.
>> Maybe I will look
>> into that.
> 
> Thanks. We try to do this way in the beginning , but in the end gives up
> because currently too many direct operation to count_info without any macro
> wrapper, and I'm not confident to take over ALL of them.

This should already have been dealt with when PGC_offlining/broken/offlined
were added. Thus I think it should be straightforward to make the change.
Also this flag would only be set for pages which belong to the page
allocator. Noone else would ever set the flag since they do not own the bit.
So I think the patch is straightforward to construct.

Actually it'd be nice to get rid of the allocator bitmap altogether, since
hardly anyone uses it. That will just require some care in bringing up the
frametable and its mappings, which the main allocator is dependent on.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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