lkml.org 
[lkml]   [2018]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 3/5] sched/core: Streamlining calls to task_rq_unlock()
On Wed, 13 Jun 2018 14:17:09 +0200
Juri Lelli <juri.lelli@redhat.com> wrote:

> From: Mathieu Poirier <mathieu.poirier@linaro.org>
>
> Calls to task_rq_unlock() are done several times in function
> __sched_setscheduler(). This is fine when only the rq lock needs to be
> handled but not so much when other locks come into play.
>
> This patch streamlines the release of the rq lock so that only one
> location need to be modified when dealing with more than one lock.
>
> No change of functionality is introduced by this patch.
>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>

Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

-- Steve

\
 
 \ /
  Last update: 2018-06-14 15:43    [W:0.098 / U:4.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site