Skip to contentSkip to conversation

Fix populate-on-demand stub.

PATCH In review George Dunlap 2 participants 2 messages Jan 30, 2009 – Feb 2, 2009

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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 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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
yamahata