mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shan Hai <haishan.bai@gmail.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org, mingo@elte.hu, tglx@linutronix.de
Subject: Re: [PATCH 1/1] sched/rt: code cleanup, remove a redundant function call
Date: Wed, 30 Nov 2011 10:35:49 +0800	[thread overview]
Message-ID: <20111130023548.GA31187@ubuntu.corp.ad.wrs.com> (raw)
In-Reply-To: <1322572622.2921.231.camel@twins>

On Tue, Nov 29, 2011 at 02:17:02PM +0100, Peter Zijlstra wrote:
> 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.
>

Got it, thanks.

Cheers
Shan Hai
 
> Anyway, fixed that up and applied it. Thanks!

  reply	other threads:[~2011-11-30  2:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29  3:03 [PATCH 0/1] " Shan Hai
2011-11-29  3:03 ` [PATCH 1/1] " Shan Hai
2011-11-29  6:53   ` Kamalesh Babulal
2011-11-29 13:17   ` Peter Zijlstra
2011-11-30  2:35     ` Shan Hai [this message]
2011-12-06  9:52   ` [tip:sched/core] sched/rt: Code " tip-bot for Shan Hai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111130023548.GA31187@ubuntu.corp.ad.wrs.com \
    --to=haishan.bai@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®