On Fri, Nov 21, 2014 at 02:56:00PM -0500, David Miller wrote: > I would suggest looking into the possibility that we allocate the memory > using the count of valid cpus, rather than the largest cpu number. > > That's a common error that runs into problems with discontiguous > cpu numbering like Sparc sometimes has. Yes, that does look like the case. Do you have a good trick on how to allocate a map for the highest possible cpu number without first iterating the cpu map? I couldn't find something that looks like a highest_possible_cpu() helper. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html