Messages in this thread | | | From | (bill davidsen) | Subject | Re: [uClinux-dev] Kernel 2.6 size increase - get_current()? | Date | 25 Jul 2003 18:25:29 GMT |
| |
In article <20030724120441.GC16168@beast>, David McCullough <davidm@snapgear.com> wrote:
| So should the trend be away from inlining, especially larger functions ? | | I know on m68k some of the really simple inlines are actually smaller as | an inline than as a function call. But they have to be very simple, or | only used once.
Actually, I would think that the compiler would make the decision in a perfect world. (no smiley) Clearly some programmers think the compiler isn't aggressive about this, and that may be the root problem. Certainly if the compiler makes the choice then -Os should avoid the inline. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. - 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/
| |