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] Sched_op hypercall small questions

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Sched_op hypercall small questions
From: Daniel Castro <evil.dani@xxxxxxxxx>
Date: Tue, 20 Sep 2011 14:21:30 +0900
Delivery-date: Mon, 19 Sep 2011 22:22:17 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=W2xxREJ9bedhXIAJSlvtt3gLsUixp0AXrIRL/f64ZPY=; b=KTW886J/y/yQnjPfOlDAj+jeKEBLKYue0VW3nd20eJklES9QmEqDItlmxYvx2A1hA4 jZCyTs0U2coayk3tyhMAHGL1hkNJfnxiwVsGNTITL7XGpTUIMvReAm8CyE7NZx/wHVKW UqFFc/RkJLVZkwgpA1P5GPVnA0DdpduBulGU8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Greetings all.

Some small question regarding schedule poll operation hypercall.

1. struct sched_poll poll.timeout is measured in what unit of time?
Secs, ms? ns?

2. After issuing the hypercall_sched_op(SCHEDOP_poll, &poll); if no
timeout is used in poll struct how long will I yield the CPU?

3. If I issue the hypercall and the event never comes is it possible
to to yield the CPU for ever?

Thanks you very much for answering these questions.

Daniel Castro
-- 
+-=====---------------------------+
| +---------------------------------+ | This space intentionally blank
for notetaking.
| |   | Daniel Castro,                |
| |   | Consultant/Programmer.|
| |   | U Andes                         |
+-------------------------------------+

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