Peter Zijlstra 8539c5151a sched/fair, cpumask: Export for_each_cpu_wrap()
[ Upstream commit c743f0a5c50f2fcbc628526279cfa24f3dabe182 ]

More users for for_each_cpu_wrap() have appeared. Promote the construct
to generic cpumask interface.

The implementation is slightly modified to reduce arguments.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Lauro Ramos Venancio <lvenanci@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: lwang@redhat.com
Link: http://lkml.kernel.org/r/20170414122005.o35me2h5nowqkxbv@hirez.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
[dj: include only what's added to the cpumask interface, 4.4 doesn't
     have them in the scheduler]
Signed-off-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-05-27 16:40:27 +02:00
..
2014-10-09 11:35:48 +03:00
2019-12-21 10:35:22 +01:00
2015-07-27 14:06:24 +02:00
2015-11-23 09:44:58 +01:00
2015-05-28 11:31:52 +09:30
2019-04-27 09:33:59 +02:00
2014-04-30 19:49:37 +01:00
2019-12-05 15:27:03 +01:00
2014-08-06 18:01:25 -07:00
2016-09-24 10:07:43 +02:00
2016-03-03 15:07:24 -08:00
2015-02-12 18:54:15 -08:00
2014-06-25 17:45:43 -07:00
2015-09-08 14:35:59 -07:00
2015-02-12 18:54:16 -08:00
2019-02-08 11:25:31 +01:00
2015-03-23 22:12:08 -04:00
2015-06-25 17:00:40 -07:00
2019-04-27 09:33:54 +02:00
2018-12-17 21:55:16 +01:00
2013-04-29 18:28:42 -07:00