Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1369876

Re: [PATCH RESEND] smp: make wake up idle cpus more generic

From Lianwei Wang <lianwei.wang@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH RESEND] smp: make wake up idle cpus more generic
Date 2016-04-02 08:20 +0200
Message-ID <rjn4C-83d-3@gated-at.bofh.it> (permalink)
References <rj0hH-8nZ-5@gated-at.bofh.it> <rj1ns-TH-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>
> * Lianwei Wang <lianwei.wang@gmail.com> wrote:
>
>> The wake_up_all_idle_cpus API always wake up all the online
>> cpus, but sometimes we only want to wake up a set of cpus.
>> Use a generic function to wake up a group of cpus that is
>> specified by the cpumask parameter. This generic API can
>> benefit to the cases that only need to wake up a set of
>> cpus.
>
> What is the new user of this new argument to the wake-up call?
>
> Thanks,
>
>         Ingo

The ARM big.LITTLE arch is one of the users to use the new wake up
call. Two clusters in these SoCs and each cluster has 2 or more CPUs.
For some cases, we only need to wake up the cpus on one cluster, not
all the cpus. The other cluster can keep in idle state to save power.
Another use case is that for the threads/irqs that bind to some cpus,
we also want to wake up the cpus that the threads/irqs bind to, and
the other cpus can stay in idle state. I'm updating the pm_qos code to
support binding the request to a set of cpus, and the
cpuidle_latency_notify call can pass the cpumask parameter to the new
wake-up call.

Maybe someone else can find new user to play with the generic wake-up
call in the future.

Thanks,
Lianwei

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RESEND] smp: make wake up idle cpus more generic Lianwei Wang <lianwei.wang@gmail.com> - 2016-04-01 08:00 +0200
  Re: [PATCH RESEND] smp: make wake up idle cpus more generic Ingo Molnar <mingo@kernel.org> - 2016-04-01 09:10 +0200
    Re: [PATCH RESEND] smp: make wake up idle cpus more generic Lianwei Wang <lianwei.wang@gmail.com> - 2016-04-02 08:20 +0200
      Re: [PATCH RESEND] smp: make wake up idle cpus more generic Daniel Lezcano <daniel.lezcano@linaro.org> - 2016-04-02 15:20 +0200
        Re: [PATCH RESEND] smp: make wake up idle cpus more generic Lianwei Wang <lianwei.wang@gmail.com> - 2016-04-03 09:20 +0200

csiph-web