summaryrefslogtreecommitdiff
path: root/firmware/sun
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2014-03-24 10:46:25 -0600
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2014-04-10 17:03:15 -0400
commit42f614201e80ff4cfb8b285d7190149a8e1e6cec (patch)
tree03a71487b6015ccca44d00053b1643193926f04f /firmware/sun
parent6eb0d698efa9c2a35ec3ca958699717c603f85ee (diff)
NVMe: per-cpu io queues
The device's IO queues are associated with CPUs, so we can use a per-cpu variable to map the a qid to a cpu. This provides a convienient way to optimally assign queues to multiple cpus when the device supports fewer queues than the host has cpus. The previous implementation may have assigned these poorly in these situations. This patch addresses this by sharing queues among cpus that are "close" together and should have a lower lock contention penalty. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'firmware/sun')
0 files changed, 0 insertions, 0 deletions