How about something simple like:
if (SMALL_REGISTER_SET)
never_inline_functions_unless_the_user_asked_for_it();
which means that even with -O6 you would not inline functions
unless they were marked inline.
I think I'd rather tell people "don't compile the kernel with -O6"
than turn off -finline-functions for -O6 by default on any machine.
Later,
David S. Miller
davem@dm.cobaltmicro.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/