[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1424172011.5749.26.camel@tkhai>
Date: Tue, 17 Feb 2015 14:20:11 +0300
From: Kirill Tkhai <ktkhai@...allels.com>
To: Peter Zijlstra <peterz@...radead.org>
CC: <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...hat.com>,
"Josh Poimboeuf" <jpoimboe@...hat.com>
Subject: Re: [PATCH 1/2] sched: Move __task_rq_{, un}lock() to
kernel/sched/sched.h
В Вт, 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.
--
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