Re: [ANNOUNCE] Merkey's Kernel Debugger

From: Peter Zijlstra
Date: Thu Aug 07 2008 - 11:17:52 EST


On Thu, 2008-08-07 at 06:45 -0600, jmerkey@xxxxxxxxxxxxxxxxxxxxx wrote:

> Also, whoever wrote "/Documentation/volatiles_are_evil" must not have
> worked with the busted-ass GNU compiler that optimizes away global
> variables and busts SMP dependent code. I am not going to remove the
> volatile declarations needed for SMP coordination in the debugger since
> the code breaks when removed. GCC will cause massive breakage of SMP code
> if you do not declare certain variables as volatile.

Even with proper barrier() usage?


--
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/