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

[Xen-devel] [PATCH 1 of 4] xen 4.0: tools: libxc: Detect superpages on domain restore


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Fri, 13 Jul 2012 11:28:14 +0200
  • Cc: george.dunlap@xxxxxxxxxxxxx
  • Delivery-date: Fri, 13 Jul 2012 09:36:30 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Content-Type:MIME-Version:Subject: X-Mercurial-Node:Message-Id:In-Reply-To:Date:From:To:Cc; b=eHwnmjcTqoFqSA2aCcwxio3RbpJDf97gUAjCSAM5dgThy6fQ5Q2v5Ypj pT4mD9AGBr2f7w+nSeTwKRya7n54zdwkOd27Wq3OmEgQITRtz/zVDpiAI IUANhrhDYK5oKLsIu3YNYjGq8BQqBTQ1LbOVd0v+tP5lZ9uHPlhj0WBeX rkk0k0yrl4hUXTNkaGJjIe44TVfQKod20NyPLuk64GVGU1eQ14upIPzl7 L628HD9zfHEashrOiA+kLu/Psi5ZQ;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

When receiving pages, look for contiguous 2-meg aligned regions and
attempt to allocate a superpage for that region, falling back to
4k pages if the allocation fails.

(Minor conflict fixed up. -iwj)

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Signed-off-by: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>


1 file changed, 106 insertions(+), 16 deletions(-)
tools/libxc/xc_domain_restore.c |  122 +++++++++++++++++++++++++++++++++------


Attachment: xen-4.0-testing.hg-4.patch
Description: Text Data

_______________________________________________
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®.