Fix populate-on-demand stub.
PATCH 1/1 Fix populate-on-demand stub.
p2m_pod_decrease_reservation() should return 0 if it didn't do anything.
A return value of 1 is meant to inform decrease_reservation() that everything has been taken care of by the PoD code and it doesn't need to call guest_remove_page().
I'm sending this blind, as I don't have the setup to compile it. But I expect it to work anyway. :-)
-George
Applied.
Although the patch itself was missed, it was so trivial that I was able to applied it.
thanks,
Quoted 18 lines · George Dunlap
p2m_pod_decrease_reservation()should return 0 if it didn't do anything.A return value of 1 is meant to inform
decrease_reservation()that everything has been taken care of by the PoD code and it doesn't need to callguest_remove_page().Signed-off-by George Dunlap <[email protected]>I'm sending this blind, as I don't have the setup to compile it. But I expect it to work anyway. :-)
-George
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 1 line
yamahata