[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150424183255.GO23123@twins.programming.kicks-ass.net>
Date: Fri, 24 Apr 2015 20:32:55 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: pang.xunlei@....com.cn
Cc: Steven Rostedt <rostedt@...dmis.org>,
Juri Lelli <juri.lelli@...il.com>,
linux-kernel@...r.kernel.org, Xunlei Pang <pang.xunlei@...aro.org>
Subject: Re: Re: [PATCH v6 2/3] sched/rt: Fix wrong SMP scheduler behavior
for equal prio cases
On Thu, Apr 23, 2015 at 02:53:27PM +0800, pang.xunlei@....com.cn wrote:
> But for yield() or RR scheduling when running out of time slice,
> I think this would be still inappropriate, am I missing something?
Those two have explicit hooks you can use to do the right queueing with.
Look at yield_task_rt() and task_tick_rt() both end up doing
requeue_task_rt(), which is exactly what you want, no?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists