aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorRik van Riel <riel@surriel.com>2018-09-25 23:58:41 -0400
committerPeter Zijlstra <peterz@infradead.org>2018-10-09 16:51:11 +0200
commit7d49b28a80b830c3ca876d33bedc58d62a78e16f (patch)
treec6a906d70f899bb2989f97cad1efdd93e9af2015 /block
parentsmp: use __cpumask_set_cpu in on_each_cpu_cond (diff)
downloadlinux-dev-7d49b28a80b830c3ca876d33bedc58d62a78e16f.tar.xz
linux-dev-7d49b28a80b830c3ca876d33bedc58d62a78e16f.zip
smp,cpumask: introduce on_each_cpu_cond_mask
Introduce a variant of on_each_cpu_cond that iterates only over the CPUs in a cpumask, in order to avoid making callbacks for every single CPU in the system when we only need to test a subset. Cc: npiggin@gmail.com Cc: mingo@kernel.org Cc: will.deacon@arm.com Cc: songliubraving@fb.com Cc: kernel-team@fb.com Cc: hpa@zytor.com Cc: luto@kernel.org Signed-off-by: Rik van Riel <riel@surriel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180926035844.1420-5-riel@surriel.com
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions