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

[Xen-devel] [PATCH] Handle PoD case in hvm_hap_nested_page_fault()


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: George Dunlap <dunlapg@xxxxxxxxx>
  • Date: Wed, 6 Jan 2010 12:19:37 +0000
  • Delivery-date: Wed, 06 Jan 2010 04:19:57 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=VESkhVpUTiAi1l+flCwzYYen73P7ltdXHQ44WMj9/1mcUZ6IMaPpJC82nkeO/Dvrb0 Zn3fzeOFpHcv/KcEdjbJOOJwmokyvmKKsNAlYy+RzSYu9H0kZlh1ldIlxc4tOW9OUpOg kFV2TzVBY+yE73i0nXuC3ER3eQGD464/2ta38=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

The new combined nested page fault handling doesn't consider the case
where the gfn_to_mfn() translation caused the page to be transparently
populated.  Attached patch is one solution; a more robust solution
would be to take the access type (read or write) and check it against
the type returned by gfn_to_mfn() to handle spurious NPFs as well (if
such things ever happen).

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

Attachment: 20100106-handle-pod-populate.diff
Description: Text Data

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