Re: [PATCH] sched: Make dl_task_time() use task_rq_lock()

2015-02-17 Thread Peter Zijlstra
On Tue, Feb 17, 2015 at 01:31:39PM +0100, Peter Zijlstra wrote: > On Tue, Feb 17, 2015 at 02:33:58PM +0300, Kirill Tkhai wrote: > > > So, we move task_rq_lock() to sched.h, and dl_task_timer() uses it? > > Yep, like this. I've also modified your earlier patch to dl_task_time() > back to its origi

[PATCH] sched: Make dl_task_time() use task_rq_lock()

2015-02-17 Thread Peter Zijlstra
On Tue, Feb 17, 2015 at 02:33:58PM +0300, Kirill Tkhai wrote: > So, we move task_rq_lock() to sched.h, and dl_task_timer() uses it? Yep, like this. I've also modified your earlier patch to dl_task_time() back to its original form. --- Subject: sched: Make dl_task_time() use task_rq_lock() From: