![]() | |||||||||||
Messages in this thread |
On 01 Nov 2004 02:39:41 +0100, Andi Kleen wrote: >> Disabling unit-at-a-time for i386 is definitely correct. >> I've personally observed horrible runtime corruption bugs >> in early 2.6 kernels when they were compiled with gcc-3.4 >> without the -fno-unit-at-a-time fix. > >Maybe you got a buggy gcc version. The 2.6.5 based SLES9/i386 >kernel is shipping with -funit-at-a-time compiled with a 3.3-hammer >compiler and I am not aware of any reports of stack overflow >(and that kernel is extremly well tested) It happened when I added perfctr to a 2.6.5-based SuSE kernel, and compiled the whole thing with gcc-3.4.0 (or 3.4.1, don't remember). Perfctr normally adds a little stack usage to the context-switch path, but gcc-3.4 made it much worse. Disabling unit-at-a-time solved the problem. /Mikael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||
| Last update: 2005-03-22 14:07 [from the cache] ©2003-2008 | |||||||||||