[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] whether xen scheduler supports preemption
On mar, 2013-06-25 at 22:29 +0800, åä wrote: > Hi, all > Hi, > I want to know whether xen scheduler supports preemption? > Yes, it definitely does. > If it supports, in the source code, which part decides it has the > preemption function? > All the important bits about Xen scheduling can be found, in the source code, in the following files: xen/common/schedule.c xen/common/sched_credit.c xen/common/sched_credit2.c xen/common/sched_sedf.c xen/common/sched_arinc653.c Look particularly carefully at schedule.c, which hosts the generic scheduling frameweork, common to all the scheduling algorithms we support, and to sched_credit.c, which is where the scheduling algorithm that is used by default is implemented. Regarding what you're saying about the "preemption function", I'm sorry, but I cannot parse that part of the sentence... What do you mean by "which part decides it has the preemption function"? 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 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |