WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [RFC] implement "trap-process-return"-like behavior with

To: Wei Liu <liuw@xxxxxxxxx>
Subject: [Xen-devel] Re: [RFC] implement "trap-process-return"-like behavior with grant ring + evtchn
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Thu, 23 Jun 2011 09:57:08 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>, Stefano
Delivery-date: Thu, 23 Jun 2011 01:58:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimHLHcPeRwRy+gWbQs6n6GejyF67w@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <BANLkTi=eKOzHTTCBNKnyCiUcfkKj246fNw@xxxxxxxxxxxxxx> <1308814922.6920.192.camel@xxxxxxxxxxxxxxxxxxxxxx> <BANLkTimHLHcPeRwRy+gWbQs6n6GejyF67w@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2011-06-23 at 09:40 +0100, Wei Liu wrote:
> On Thu, Jun 23, 2011 at 3:42 PM, Ian Campbell
> <Ian.Campbell@xxxxxxxxxxxxx> wrote:
> > If you cannot sleep in the context these activities are happening in
> > then I think you can use the evtchn poll hypercall to block until the
> > evtchn is triggered
> 
> I looked through do_event_channel_op and didn't see a polling
> operation. Which hypercall are you referring to?

Oh, I forgot -- it's a schedop, see SCHEDOP_poll in
xen/include/public/sched.h.

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel