From: Andres Lagar-Cavilla <andres@lagarcavilla.org>
To: xen-devel@lists.xen.org
Cc: andres@gridcentric.ca, tim@xen.org, adin@gridcentric.ca
Subject: [PATCH] x86/mem_event: Fix foregin domain flag in grab_slot
Date: Thu, 12 Apr 2012 10:06:42 -0400 [thread overview]
Message-ID: <c74fe64aafebebb025b5.1334239602@xdev.gridcentric.ca> (raw)
xen/arch/x86/mm/mem_event.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
diff -r 84c3a14dc28a -r c74fe64aafeb xen/arch/x86/mm/mem_event.c
--- a/xen/arch/x86/mm/mem_event.c
+++ b/xen/arch/x86/mm/mem_event.c
@@ -415,7 +415,7 @@ int __mem_event_claim_slot(struct domain
if ( (current->domain == d) && allow_sleep )
return mem_event_wait_slot(med);
else
- return mem_event_grab_slot(med, 1);
+ return mem_event_grab_slot(med, (current->domain != d));
}
/* Registered with Xen-bound event channel for incoming notifications. */
next reply other threads:[~2012-04-12 14:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-12 14:06 Andres Lagar-Cavilla [this message]
2012-04-18 12:40 ` [PATCH] x86/mem_event: Fix foregin domain flag in grab_slot Tim Deegan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c74fe64aafebebb025b5.1334239602@xdev.gridcentric.ca \
--to=andres@lagarcavilla.org \
--cc=adin@gridcentric.ca \
--cc=andres@gridcentric.ca \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).