nvme - Fix minor cpu mapping issues
commit28a5c21ed5702029b443418125295f0ab6a461d3
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 6 Jun 2016 06:00:37 +0000 (5 23:00 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 6 Jun 2016 06:00:37 +0000 (5 23:00 -0700)
tree6cd8834d5c47cbd0a2d3fc633f15bd7b917a89bd
parent18d2384b5921bf30fe7665539efd40b40f7df232
nvme - Fix minor cpu mapping issues

* Fix some issues with the cpu mapping.  cpu 0 was not getting properly
  accounted for due to an array overflow bug.  And do a few other things.

* With these changes, extints are nicely distributed across all cpus on
  large concurrent workloads, and IPIs are minimal-to-none.
sys/dev/disk/nvme/nvme.c
sys/dev/disk/nvme/nvme_admin.c
sys/dev/disk/nvme/nvme_attach.c