Messages in this thread |  | | Subject | Re: [PATCH 1/2] sched: Move __task_rq_{, un}lock() to kernel/sched/sched.h | From | Kirill Tkhai <> | Date | Tue, 17 Feb 2015 14:20:11 +0300 |
| |
В Вт, 17/02/2015 в 12:11 +0100, Peter Zijlstra пишет: > On Tue, Feb 17, 2015 at 01:46:51PM +0300, Kirill Tkhai wrote: > > > > Place it in sched.h, because dl_task_timer() needs it. > > Also remove lockdep check, which is not fit to this > > function. > > No, that lockdep check is valid for all current sites.
Sure, but dl_task_timer() do not lock pi_lock. I wanted to delete "again:" loop in it to simplify second patch.
We can do not touch __task_rq_lock(), and add smp_rmb() in "again:" loop in second patch instead of this.
|  |