Re: Why do some net drivers require __OPTIMIZE__?

Robert Love (rml@tech9.net)
06 Jan 2003 10:45:48 -0500


On Mon, 2003-01-06 at 10:04, Richard B. Johnson wrote:

> You need to optimize in order enable inline code generation. It is
> essential to use in-line code in many places because, if the compiler
> actually calls these functions they would have to be protected
> from reentry.

I do not think this is correct.

Concurrency concerns would not change wrt calling the function vs.
inlining it.

More likely some code, i.e. asm, just assumes inlining is taking place.

Robert Love

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