From: Tim Deegan <tim@xen.org>
To: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Cc: andres@gridcentric.ca, adin@gridcentric.ca, xen-devel@lists.xen.org
Subject: Re: [PATCH] x86/mem_event: Fix foregin domain flag in grab_slot
Date: Wed, 18 Apr 2012 13:40:11 +0100 [thread overview]
Message-ID: <20120418124011.GC7013@ocelot.phlegethon.org> (raw)
In-Reply-To: <c74fe64aafebebb025b5.1334239602@xdev.gridcentric.ca>
At 10:06 -0400 on 12 Apr (1334225202), Andres Lagar-Cavilla wrote:
> 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. */
Applied, thanks.
Tim.
prev parent reply other threads:[~2012-04-18 12:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-12 14:06 [PATCH] x86/mem_event: Fix foregin domain flag in grab_slot Andres Lagar-Cavilla
2012-04-18 12:40 ` Tim Deegan [this message]
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=20120418124011.GC7013@ocelot.phlegethon.org \
--to=tim@xen.org \
--cc=adin@gridcentric.ca \
--cc=andres@gridcentric.ca \
--cc=andres@lagarcavilla.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.