projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blk-mq: Use all available hardware queues
[deliverable/linux.git]
/
block
/
blk-mq-cpumap.c
diff --git
a/block/blk-mq-cpumap.c
b/block/blk-mq-cpumap.c
index 72e5ed691e37ae38eadf606bf0d017308c3e48bc..5f13f4d0bcceda747589a300170537eefb4810eb 100644
(file)
--- a/
block/blk-mq-cpumap.c
+++ b/
block/blk-mq-cpumap.c
@@
-17,7
+17,7
@@
static int cpu_to_queue_index(unsigned int nr_cpus, unsigned int nr_queues,
const int cpu)
{
- return cpu
/ ((nr_cpus + nr_queues - 1) / nr_queues)
;
+ return cpu
* nr_queues / nr_cpus
;
}
static int get_first_sibling(unsigned int cpu)
This page took
0.036969 seconds
and
5
git commands to generate.