[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Can Xen sleep or wake up a thread?



On mar, 2013-10-08 at 08:11 -0700, Xinxin Jin wrote:
> Hi everyone,
> 
> 
> I found in Xen, when synchronization between multiple threads is
> needed, Xen always uses busy wait or simple spin lock.
>
Mmm... What exactly is a 'thread' here? Are you talking about Xen
internals? If yes, I don't think there's much multithreading involved
there...

> In linux, the kernel can block a waiting thread and schedule other
> threads for execution. Why does Xen do not have this mechanism? 
>
Well, Linux, as a general purpose kernel, does indeed schedule a lot of
different stuff, yes, but I still don't see where you think Xen
could/should do something similar...

> I guess it is because the performance issue? A lot of appreciation for
> your answer !!
> 
Perhaps you can:
 - show some example of what you mean
 - describe what is the issue that you are seeing/trying to solve

Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.