All of lore.kernel.org
 help / color / mirror / Atom feed
* Question regarding Xen scheduler
@ 2014-10-08 13:05 Zytaruk, Kelly
  2014-10-08 13:57 ` Andrew Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Zytaruk, Kelly @ 2014-10-08 13:05 UTC (permalink / raw)
  To: xen-devel@lists.xen.org

I would like to ask a question as to how the Xen scheduler handles certain situations.  
>From everything that I have read I understand that the scheduler treats Dom0 just like any other DomU in regards to scheduling.

My question is in regards to interrupt handlers, critical sections and kernel code.  Is the Xen scheduler aware of whether the Dom0 is executing in kernel code versus user mode code?  Can Dom0 kernel mode code be interrupted by the Xen scheduler and then a DomU run for a while before returning back to Dom0 kernel mode code?

What about interrupt handling routines either in Dom0 or DomU.  Can a Task switch to another DomU / Dom0 occur if in the middle of an interrupt handler?

What if I am doing something time critical or sequence critical that can't be interrupted?  Is there a way to tell the Xen scheduler that "I am in a critical section and can't be interrupted by another Dom" so that Xen won't task switch until I am done?

Other than reading the source code is there a good reference that I can read for Xen internal details and architecture?  

Thanks,
Kelly

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-10-27  9:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-08 13:05 Question regarding Xen scheduler Zytaruk, Kelly
2014-10-08 13:57 ` Andrew Cooper
2014-10-08 14:03   ` Razvan Cojocaru
2014-10-08 15:05     ` Zytaruk, Kelly
2014-10-08 14:03   ` Zytaruk, Kelly
2014-10-10  8:12   ` Jan Beulich
2014-10-24 14:55     ` Dario Faggioli
2014-10-24 20:26       ` Zytaruk, Kelly
2014-10-27  9:18         ` Jan Beulich

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.