diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2010-07-21 22:46:11 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-08-03 13:59:05 -0700 |
commit | 0502f94c62be79d1f4ae6f53ceaefde67ef3cea2 (patch) | |
tree | 93816ecd19b774b944a9d09ef6582a02d4b447ee /lib/locking-selftest-wsem.h | |
parent | bdf8edcb5732df554ef53096092e94d22ab5ffc9 (diff) |
IB/qib: Set cfgctxts to number of CPUs by default
Up to now, we have set the number of available user contexts based on
the number of hardware contexts which is set according to the number
of available CPUs. This was fine since most CPUs had a power of two
number of cores and the chip supported 4, 8, or 16 user contexts. Now
that some systems have 12 cores, the default isn't optimal and should
be set to 12 even though 16 hardware contexts need to be enabled.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions