Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blk-mq: use 'nr_cpu_ids' as highest CPU ID count for hwq <-> cpu map
We currently use num_possible_cpus(), but that breaks on sparc64 where the CPU ID space is discontig. Use nr_cpu_ids as the highest CPU ID instead, so we don't end up reading from invalid memory. Cc: [email protected] # 3.13+ Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information