I don't recall seeing an error where the obs and exp were equal. I saw plenty where they were not equal.

The code is pretty simple:
double observed = a[i];
double expected = (double) i;
if (observed != expected) {
printf ("failed at i=%u, k=%u (obs %.18g vs exp %.18g)\n",i, k,observed, expected);
};


Maybe it is just some unexpected handling on the != operator with doubles?

Are you seeing cases where obs!=exp? And difference if you run it on a uni-proc server vs. a smp server?

Regards, Peter

Bodo Stroesser wrote:
Carl wrote:

Hi,

Running the piece of code from the URL below is generating errors on
various UML kernels:

http://downloads.rimuhosting.com/memtest.c

Kernels tested are: 2.4.27, 2.4.27-bs1, 2.6.9-bb4.

Different UML host servers have been tried too, and only UMLs running on
SMP (dual Xeon) servers seem to have the problem (P4s with HT are fine).

Can anyone else reproduce the errors? Any ideas?

Thanks, Carl
Do you see messages like this one

    "failed at i=17240, k=85 (obs 17240 vs exp 17240)"

with obs and exp being equal?


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
User-mode-linux-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to