git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
394ffa5
)
blk-mq: use 'nr_cpu_ids' as highest CPU ID count for hwq <-> cpu map
author
Jens Axboe
<axboe@fb.com>
Mon, 24 Nov 2014 22:02:42 +0000
(15:02 -0700)
committer
Jens Axboe
<axboe@fb.com>
Mon, 24 Nov 2014 22:02:42 +0000
(15:02 -0700)
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: stable@kernel.org # 3.13+
Signed-off-by: Jens Axboe <axboe@fb.com>
No differences found