Re: [PATCH] x86 (64): make calibrate_APIC_clock() smp-safe

From: Martin Wilck
Date: Thu Jul 24 2008 - 07:58:45 EST


Cyrill Gorcunov wrote:

Hi, but what if SMI flood happens? We could stuck here forever, don't we?

- Cyrill -


Yes, if the SMI flood never ends. But you wouldn't want to work on such a system anyway (with the current kernel code, your APIC timer would most probably be miscalibrated, which can have the weirdest effects).

Anyway, we can add a maximum iteration count to the patch so that there is no risk of getting stuck.

Martin

--
Martin Wilck
PRIMERGY System Software Engineer
FSC IP ESP DEV 6

Fujitsu Siemens Computers GmbH
Heinz-Nixdorf-Ring 1
33106 Paderborn
Germany

Tel: ++49 5251 8 15113
Fax: ++49 5251 8 20209
Email: mailto:martin.wilck@xxxxxxxxxxxxxxxxxxx
Internet: http://www.fujitsu-siemens.com
Company Details: http://www.fujitsu-siemens.com/imprint.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/