]> xenbits.xensource.com Git - people/vhanquez/xen.git/commit
xenpaging: move nominate+evict into single function
authorOlaf Hering <olaf@aepfle.de>
Mon, 20 Feb 2012 20:18:44 +0000 (21:18 +0100)
committerOlaf Hering <olaf@aepfle.de>
Mon, 20 Feb 2012 20:18:44 +0000 (21:18 +0100)
commit2e5c42956442d4dcf5f6b50cf59bd25a75cf9e10
tree9d2bf19df0c473c8a290ee31248bae62afb89654
parent23938d720b935534ab60879a51756ec5567e7911
xenpaging: move nominate+evict into single function

Move all code to evict a single gfn into one function. This simplifies
error handling in caller. The function returns -1 on fatal error, 0 on
success and 1 if the gfn cant be paged.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/xenpaging/xenpaging.c