[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] xen cpu scheduler internals
Hi, I know that scheduling is done via two main functions and their effective interaction: one 'schedule()' in schedule.c and another 'do_schedule(...)', which is specific for every scheduling policy. my question is that (although it may seem clear and very common for kernel developers, but not as mush for me): when a vcpu is selected to run on a specific cpu, what is the policy for choosing cpu (pcpu)? I see smp_processor_id() very frequent, and in my suppose, the current cpu is the cpu which is used for scheduling (i just think so). if i need to choose and find more than one cpu for running my tasks on, what should i do in scheduler context? Thanks and regards. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |