diff options
author | 2011-03-16 16:52:19 -0400 | |
---|---|---|
committer | 2011-11-04 15:53:01 -0400 | |
commit | 9ecdc946212f7cd592986b2c519b470404caa6b8 (patch) | |
tree | 5d953e07ff82f8a97b5d4d5c14b0eb6db401d1a2 /tools/perf/scripts/python | |
parent | NVMe: Remove the kthread from the wait queue (diff) | |
download | wireguard-linux-9ecdc946212f7cd592986b2c519b470404caa6b8.tar.xz wireguard-linux-9ecdc946212f7cd592986b2c519b470404caa6b8.zip |
NVMe: Simplify queue lookup
Fill in all the num_possible_cpus() entries with duplicate pointers.
This reduces the complexity of the frequently-called get_nvmeq(), as
well as avoiding a bug in it when there are fewer queues than CPUs.
Reported-by: Shane Michael Matthews <shane.matthews@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions