Re: [PATCH] sched: Use task_rq_unlock on __sched_setscheduler

From: Peter Zijlstra
Date: Mon Jul 09 2012 - 07:47:39 EST


On Sat, 2012-07-07 at 16:49 +0900, Namhyung Kim wrote:
> From: Namhyung Kim <namhyung.kim@xxxxxxx>
>
> It seems there's no specific reason to open-code it. I guess the
> commit 0122ec5b02f76 ("sched: Add p->pi_lock to task_rq_lock()")
> simply missed it. Let's be consistent with others.

Looks that way, thanks!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/