|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86: fix improper return value from relin
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1269502809 0
# Node ID 12aebcebff2a32c4472767bfc1577cea797777de
# Parent 377433a77d7036b17751efc8183b73b73220bfea
x86: fix improper return value from relinquish_memory()
While apparently only a theoretical possibility (domain_kill() has a
BUG_ON() that wasn't reported to trigger so far), I still think it is
better to have the code cleaned up.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
xen/arch/x86/domain.c | 1 +
1 files changed, 1 insertion(+)
diff -r 377433a77d70 -r 12aebcebff2a xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c Wed Mar 24 11:06:48 2010 +0000
+++ b/xen/arch/x86/domain.c Thu Mar 25 07:40:09 2010 +0000
@@ -1808,6 +1808,7 @@ static int relinquish_memory(
break;
case -EAGAIN:
case -EINTR:
+ ret = -EAGAIN;
page_list_add(page, list);
set_bit(_PGT_pinned, &page->u.inuse.type_info);
put_page(page);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86: fix improper return value from relinquish_memory(),
Xen patchbot-unstable <=
|
|
|
|
|