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

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Fri, 13 Jul 2012 11:21:17 +0200
  • Cc: george.dunlap@xxxxxxxxxxxxx
  • Delivery-date: Fri, 13 Jul 2012 09:31:54 +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=K5bwHNntHTXywx235zjST5BcD6+1E8W1c3fQqu+apZk+lutu9avqJU7E O6pJYnEopLBFWyFIn7no64KUvMwdzXxHEetWLBl6TIaD72qeezCHG3gLQ vzzO1kfYHgqQ/IR1npPzXWrjtcGwS1Z7iK96IVd+k8rTn8TIekwxTIjJ/ M9AYmz0KgTA0dor3W+zQmccA4SYB0HQkP6Sel6bCR5lrR540F9rkaEEgQ Htcvo34f6kf8ba/bMBkxsCYVkNuX/;
  • 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>


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


Attachment: xen-4.1-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®.