Linux: Volatile Superstition

Posted by Sander_Marechal on Aug 18, 2007 5:38 AM EDT
KernelTrap
Mail this story
Print this story

"People who think'volatile' really matters are just fooling themselves," Linus Torvalds quipped during a lengthy discussion on the Linux Kernel mailing list. The thread began with a series of patches to"makeatomic_read() behave consistently across all architectures" which included"removing thevolatile keyword from allatomic_t andatomic64_t definitions that currently have it, and instead explicitly [casting] the variable asvolatile inatomic_read()."Earlier in the discussion Linus had suggested that while it didn't actually fix any bugs it did help hide bugs and make them less likely to be triggered.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Kernel, Linux, PHP

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.