> + ctrl->queue_count = 1; /* admin queue */; > + if (nr_io_queues > 0) > + ctrl->queue_count += nr_io_queues; > + else > + ctrl->queue_count += num_possible_cpus(); This should really be num_online_cpus(), I get way more than I need with num_possible_cpus()...