diff options
author | Heiko Carstens <[email protected]> | 2016-04-13 14:49:12 +0200 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2016-05-10 13:24:48 +0200 |
commit | 281eaa8cb67c27e56da1e7fd6b55c6cd3e8c4638 (patch) | |
tree | 45225e66680c3cc00e419757641852fa8867c6aa /arch/s390/kernel/cache.c | |
parent | 0c756914920fc13061222d12fbbe85990df64928 (diff) |
s390/cpuinfo: simplify locking and skip offline cpus early
Move the get_online_cpus() and put_online_cpus() to the start and stop
operation of the seqfile ops. This way there is no need to lock cpu
hotplug again and again for each single cpu.
This way we can also skip offline cpus early if we simply use
cpumask_next() within the next operation.
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'arch/s390/kernel/cache.c')
0 files changed, 0 insertions, 0 deletions