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

2016-04-03 Thread Lianwei Wang
On Sat, Apr 2, 2016 at 6:10 AM, Daniel Lezcano wrote: > On 04/02/2016 08:15 AM, Lianwei Wang wrote: >>> >>> >>> * Lianwei Wang 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

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

2016-04-02 Thread Daniel Lezcano
On 04/02/2016 08:15 AM, Lianwei Wang wrote: * Lianwei Wang 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 A

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

2016-04-01 Thread Lianwei Wang
> > * Lianwei Wang 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

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

2016-04-01 Thread Ingo Molnar
* Lianwei Wang 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 o

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

2016-03-31 Thread Lianwei Wang
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. S