On Wed, 24 Jun 2015, Thomas Gleixner wrote:
On Tue, 23 Jun 2015, Vikas Shivappa wrote:
There is currently no cpumask helper function to pick a "random" cpu
from a mask which is also online.
cpumask_any_online_but() does that which is similar to cpumask_any_but()
but also returns a cpu that i
On Tue, 23 Jun 2015, Vikas Shivappa wrote:
> There is currently no cpumask helper function to pick a "random" cpu
> from a mask which is also online.
>
> cpumask_any_online_but() does that which is similar to cpumask_any_but()
> but also returns a cpu that is online.
>
> Signed-off-by: Vikas Shiv
There is currently no cpumask helper function to pick a "random" cpu
from a mask which is also online.
cpumask_any_online_but() does that which is similar to cpumask_any_but()
but also returns a cpu that is online.
Signed-off-by: Vikas Shivappa
---
include/linux/cpumask.h | 18 +
On Tue, 16 Jun 2015, Thomas Gleixner wrote:
On Mon, 15 Jun 2015, Vikas Shivappa wrote:
On Mon, 15 Jun 2015, Peter Zijlstra wrote:
On Fri, Jun 12, 2015 at 11:17:08AM -0700, Vikas Shivappa wrote:
+ cpumask_and(&tmp, cpu_online_mask, mask);
+ cpumask_clear_cpu(cpu, &tmp);
+ r
On Mon, 15 Jun 2015, Vikas Shivappa wrote:
> On Mon, 15 Jun 2015, Peter Zijlstra wrote:
> > On Fri, Jun 12, 2015 at 11:17:08AM -0700, Vikas Shivappa wrote:
> > > + cpumask_and(&tmp, cpu_online_mask, mask);
> > > + cpumask_clear_cpu(cpu, &tmp);
> > > + return cpumask_any(&tmp);
> > > +}
> >
> > You
On Mon, 15 Jun 2015, Peter Zijlstra wrote:
On Fri, Jun 12, 2015 at 11:17:08AM -0700, Vikas Shivappa wrote:
There is currently no cpumask helper function to pick a "random" cpu
from a mask which is also online.
cpumask_any_online_but() does that which is similar to cpumask_any_but()
but also
On Fri, Jun 12, 2015 at 11:17:08AM -0700, Vikas Shivappa wrote:
> There is currently no cpumask helper function to pick a "random" cpu
> from a mask which is also online.
>
> cpumask_any_online_but() does that which is similar to cpumask_any_but()
> but also returns a cpu that is online.
>
> Sign
There is currently no cpumask helper function to pick a "random" cpu
from a mask which is also online.
cpumask_any_online_but() does that which is similar to cpumask_any_but()
but also returns a cpu that is online.
Signed-off-by: Vikas Shivappa
---
include/linux/cpumask.h | 18 +
There is currently no cpumask helper function to pick a "random" cpu
from a mask which is also online.
cpumask_any_online_but() does that which is similar to cpumask_any_but()
but also returns a cpu that is online.
Signed-off-by: Vikas Shivappa
---
include/linux/cpumask.h | 18 +
There is currently no cpumask helper function to pick a "random" cpu
from a mask which is also online.
cpumask_any_online_but() does that which is similar to cpumask_any_but()
but also returns a cpu that is online.
Signed-off-by: Vikas Shivappa
---
include/linux/cpumask.h | 18 +
10 matches
Mail list logo