Messages in this thread | | | Date | Mon, 1 Nov 2004 12:10:29 +0100 | From | Andi Kleen <> | Subject | Re: unit-at-a-time... |
| |
> 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.
Better fix would have been a few strategic "noinline"s. If you want noinline just say it explicitely.
Also I hope they were not all in the same callchain, if yes you would have only hidden the problem.
-Andi - 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/
| |