Re: [PATCH RESEND 1/2] sched/rt: Check to push the task when changing its affinity

2015-02-04 Thread Xunlei Pang
Hi Steve, On 4 February 2015 at 11:14, Steven Rostedt wrote: > On Wed, 4 Feb 2015 09:12:20 +0800 > Xunlei Pang wrote: > >> From: Xunlei Pang >> >> + */ >> + cpumask_copy(&p->cpus_allowed, new_mask); >> + p->nr_cpus_allowed = new_weight; >> + >> +

Re: [PATCH RESEND 1/2] sched/rt: Check to push the task when changing its affinity

2015-02-03 Thread Steven Rostedt
On Wed, 4 Feb 2015 09:12:20 +0800 Xunlei Pang wrote: > From: Xunlei Pang > > We may suffer from extra rt overload rq due to the affinity, > so when the affinity of any runnable rt task is changed, we > should check to trigger balancing, otherwise it will cause > some unnecessary delayed real-t

[PATCH RESEND 1/2] sched/rt: Check to push the task when changing its affinity

2015-02-03 Thread Xunlei Pang
From: Xunlei Pang We may suffer from extra rt overload rq due to the affinity, so when the affinity of any runnable rt task is changed, we should check to trigger balancing, otherwise it will cause some unnecessary delayed real-time response. Unfortunately, current RT global scheduler doesn't tri