Re: [Xen-devel] [PATCH v1 2/3] sched_credit2.c : runqueue_per_core code

2015-03-13 Thread Jan Beulich
On 12.03.15 at 18:07, dario.faggi...@citrix.com wrote: On Thu, 2015-03-12 at 16:21 +, Jan Beulich wrote: On 12.03.15 at 15:57, uma.sharma...@gmail.com wrote: @@ -1940,10 +1946,14 @@ static void init_pcpu(const struct scheduler *ops, int cpu) /* Figure out which runqueue to

Re: [Xen-devel] [PATCH v1 2/3] sched_credit2.c : runqueue_per_core code

2015-03-13 Thread George Dunlap
On 03/12/2015 02:57 PM, Uma Sharma wrote: This patch do the following things: -Insertion of runqueue_per_core code -Boot paarmeter creation to select runqueue Signed-off-by : Uma Sharma uma.sharma...@gmail.com --- xen/common/sched_credit2.c | 39 --- 1

[Xen-devel] [PATCH v1 2/3] sched_credit2.c : runqueue_per_core code

2015-03-12 Thread Uma Sharma
This patch do the following things: -Insertion of runqueue_per_core code -Boot paarmeter creation to select runqueue Signed-off-by : Uma Sharma uma.sharma...@gmail.com --- xen/common/sched_credit2.c | 39 --- 1 file changed, 32 insertions(+), 7 deletions(-)

Re: [Xen-devel] [PATCH v1 2/3] sched_credit2.c : runqueue_per_core code

2015-03-12 Thread Dario Faggioli
On Thu, 2015-03-12 at 16:21 +, Jan Beulich wrote: On 12.03.15 at 15:57, uma.sharma...@gmail.com wrote: @@ -1940,10 +1946,14 @@ static void init_pcpu(const struct scheduler *ops, int cpu) /* Figure out which runqueue to put it in */ /* NB: cpu 0 doesn't get a STARTING

Re: [Xen-devel] [PATCH v1 2/3] sched_credit2.c : runqueue_per_core code

2015-03-12 Thread Jan Beulich
On 12.03.15 at 15:57, uma.sharma...@gmail.com wrote: @@ -161,10 +161,16 @@ */ #define __CSFLAG_runq_migrate_request 3 #define CSFLAG_runq_migrate_request (1__CSFLAG_runq_migrate_request) - +/* CREDIT2_OPT_RUNQUEUE: Used to define the runqueue used + */ +#define

Re: [Xen-devel] [PATCH v1 2/3] sched_credit2.c : runqueue_per_core code

2015-03-12 Thread Dario Faggioli
On Thu, 2015-03-12 at 16:21 +, Jan Beulich wrote: On 12.03.15 at 15:57, uma.sharma...@gmail.com wrote: @@ -1940,10 +1946,14 @@ static void init_pcpu(const struct scheduler *ops, int cpu) /* Figure out which runqueue to put it in */ /* NB: cpu 0 doesn't get a STARTING