[openib-general] OpenSM crash

Roland Dreier roland at topspin.com
Fri May 27 14:59:35 PDT 2005


    Roland> I find it hard to believe that OpenSM has sent 4 billion
    Roland> MADs -- that's more than 1000 MADs a second for a solid
    Roland> month.  It also looks very suspicious that the value is
    Roland> equal to ((unsigned int) -1).

    Hal> ^^^^^^^^^^^^^^^^^^ on a 32 bit machine.

This is really a very minor point but the following program

	#include <stdio.h>
	int main(int argc, char *argv[]) {
		printf("%u\n", ((unsigned int) -1)); return 0;
	}

prints 4294967295 on any 64-bit Linux machine I have access to...

 - R.



More information about the general mailing list