MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos

Windows' kernel once tried to deal with gamma rays

mercredi 21 novembre 2018, 02:26 , par OS News
Another great little story from The Old New Thing.

At one point, the following code was added to the part of the kernel that brings the system out of a low-power state:;; Invalidate the processor cache so that any stray gamma; rays (I'm serious) that may have flipped cache bits; while in S1 will be ignored.;; Honestly. The processor manufacturer asked for this.; I'm serious.;

I'm not sure what the thinking here is. I mean, if the cache might have been zapped by a stray
gamma ray, then couldn't RAM have been zapped by a stray gamma ray, too? Or is processor cache more susceptible to gamma rays than RAM? The person who wrote the comment seems to share my incredulity.

The invd was commented out a few weeks later, but the comment block remains in Windows' kernel code to this day. Amazing.
News copyright owned by their original publishers | Copyright © 2004 - 2020 Zicos / 440Network
Date Actuelle
sam. 31 oct. - 05:30 CET