All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Preeti Murthy <preeti.lkml@gmail.com>
Cc: mingo@redhat.com, Peter Zijlstra <peterz@infradead.org>,
	linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org
Subject: Re: [PATCH 4/7] sched: remove unused parameter in nohz_balancer_kick function
Date: Tue, 31 Dec 2013 16:02:14 +0100	[thread overview]
Message-ID: <52C2DC76.4020209@linaro.org> (raw)
In-Reply-To: <CAM4v1pP1=NaKcqki4yh=7gpyRJp8PD4UkQfXwFtd=LTnn7s5Pg@mail.gmail.com>

On 12/31/2013 12:17 PM, Preeti Murthy wrote:
> Hi Daniel,
>
> This patch looks correct to me.
> Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com

Thanks Preeti for the review.

   -- Daniel

> <mailto:preeti@linux.vnet.ibm.com>>
>
>
> On Mon, Dec 30, 2013 at 7:14 PM, Daniel Lezcano
> <daniel.lezcano@linaro.org <mailto:daniel.lezcano@linaro.org>> wrote:
>
>     The cpu parameter is no longer needed in nohz_balancer_kick, let's
>     remove
>     the parameter.
>
>     Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org
>     <mailto:daniel.lezcano@linaro.org>>
>     ---
>       kernel/sched/fair.c |    6 ++----
>       1 file changed, 2 insertions(+), 4 deletions(-)
>
>     diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
>     index 1f7ed1a..c647c45 100644
>     --- a/kernel/sched/fair.c
>     +++ b/kernel/sched/fair.c
>     @@ -6517,7 +6517,7 @@ static inline int find_new_ilb(void)
>        * nohz_load_balancer CPU (if there is one) otherwise fallback to
>     any idle
>        * CPU (if there is one).
>        */
>     -static void nohz_balancer_kick(int cpu)
>     +static void nohz_balancer_kick(void)
>       {
>              int ilb_cpu;
>
>     @@ -6871,15 +6871,13 @@ static inline int on_null_domain(struct rq *rq)
>        */
>       void trigger_load_balance(struct rq *rq)
>       {
>     -       int cpu = rq->cpu;
>     -
>              /* Don't need to rebalance while attached to NULL domain */
>              if (time_after_eq(jiffies, rq->next_balance) &&
>                  likely(!on_null_domain(rq)))
>                      raise_softirq(SCHED_SOFTIRQ);
>       #ifdef CONFIG_NO_HZ_COMMON
>              if (nohz_kick_needed(rq) && likely(!on_null_domain(rq)))
>     -               nohz_balancer_kick(cpu);
>     +               nohz_balancer_kick();
>       #endif
>       }
>
>     --
>     1.7.9.5
>
>     --
>     To unsubscribe from this list: send the line "unsubscribe
>     linux-kernel" in
>     the body of a message to majordomo@vger.kernel.org
>     <mailto:majordomo@vger.kernel.org>
>     More majordomo info at http://vger.kernel.org/majordomo-info.html
>     Please read the FAQ at http://www.tux.org/lkml/
>
>


-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


  parent reply	other threads:[~2013-12-31 15:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-30 13:44 [PATCH 0/7] sched: cleanup trigger_load_balance Daniel Lezcano
2013-12-30 13:44 ` [PATCH 1/7] sched: reduce nohz_kick_needed parameters Daniel Lezcano
2013-12-30 13:44 ` [PATCH 2/7] sched: pass struct rq to on_null_domain function Daniel Lezcano
2013-12-30 13:44 ` [PATCH 3/7] sched: remove unused parameter for find_new_ilb Daniel Lezcano
2013-12-30 13:44 ` [PATCH 4/7] sched: remove unused parameter in nohz_balancer_kick function Daniel Lezcano
     [not found]   ` <CAM4v1pP1=NaKcqki4yh=7gpyRJp8PD4UkQfXwFtd=LTnn7s5Pg@mail.gmail.com>
2013-12-31 15:02     ` Daniel Lezcano [this message]
2013-12-30 13:44 ` [PATCH 5/7] sched: pass struct rq to rebalance_domains function Daniel Lezcano
2013-12-30 13:44 ` [PATCH 6/7] sched: pass struct rq to nohz_idle_balance function Daniel Lezcano
2013-12-30 13:44 ` [PATCH 7/7] sched: factor out on_null_domain check in trigger_load_balance function Daniel Lezcano
2013-12-31 16:28 ` [PATCH 0/7] sched: cleanup trigger_load_balance Peter Zijlstra
2013-12-31 17:19   ` Daniel Lezcano
2014-01-06 11:03     ` Peter Zijlstra
2014-01-06 11:25       ` Daniel Lezcano
2014-01-06 11:31         ` Peter Zijlstra

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=52C2DC76.4020209@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=preeti.lkml@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.