lkml.org 
[lkml]   [2011]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] sched/rt: code cleanup, remove a redundant function call
From
Date
On Tue, 2011-11-29 at 11:03 +0800, Shan Hai wrote:
> The second time call to sched_rt_period is redundant, because the value of the
> rt_runtime was already read and it was protected by the rurt_runtime_lock.
>
> Signed-off-by: Shan Hai <haishan.bai@gmail.com>
> ---
> kernel/sched_rt.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Note that that file doesn't exist anymore, scheduler patches should be
posted against tip/master.

Anyway, fixed that up and applied it. Thanks!


\
 
 \ /
  Last update: 2011-11-29 14:19    [W:0.315 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site