mtrrs sometimes smp-unsafe?

From: Terence Ripperda (tripperda@nvidia.com)
Date: Fri Apr 07 2000 - 19:30:27 EST


I'm tracking down a problem with an SMP lockup when setting a second
range of MTRRs on an Intel 840 chipset, with 2 P3s.

The first range of MTRRs is set up fine, but the second time through,
I hit an infinite loop in smp.c:~1746, in smp_call_function() (this is
with 2.2.14). The problem is that if send_IPI_allbutself() fails to
execute properly, the next few lines should eventually timeout.
smp_call_function() is actually called from set_mtrr_smp() in
mtrr.c:950. The problem is that jiffies are incremented via the timer
interrupt, but the MTRR code disables interrupts while trying to set
MTRRs across multiple cpus.

I don't think this is the cause of my problems, just noticed that the
timeout doesn't happen like it should. I'm also new to SMP problems, so
perhaps I'm just misinterpreting the code...

Thanks,
Terence Ripperda
Nvidia

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:19 EST