xenpaging: remove obsolete XENMEM_paging_op_resume
authorOlaf Hering <olaf@aepfle.de>
Thu, 1 Mar 2012 15:58:02 +0000 (15:58 +0000)
committerOlaf Hering <olaf@aepfle.de>
Thu, 1 Mar 2012 15:58:02 +0000 (15:58 +0000)
commit2131e4744b591ef304e4ee2dd0d3c6891ad659b9
tree4db2c4cda6a571bbd6e34a1b8f71c1d4b0180e99
parent546ba55410f7c772799b5f89c7027d8393b25b23
xenpaging: remove obsolete XENMEM_paging_op_resume

With changeset 24364:0964341efd65 an event channel based notification of
new responses in the ringbuffer is implemented. This makes the memevent
interface obsolete. Currently a call to p2m_mem_paging_resume() is
triggered twice by xenpaging, once per memevent and once per even
channel. In practice this double call does not lead to issues because
p2m_mem_paging_resume() processes only available events.

xenpaging used the event channel notification since the beginning, but
it was a no-op until changeset mentioned above. This change removes the
unneeded XENMEM_paging_op_resume functionality. Pagers are notified via
an event channel of new requests, and now they are required to notify
the hypervisor about their responses also with an event channel.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_mem_paging.c
tools/libxc/xenctrl.h
tools/xenpaging/xenpaging.c
xen/arch/x86/mm/mem_paging.c
xen/include/public/memory.h