[lkml]   [1998]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: A patch for linux 2.1.127
    And lo, David S. Miller saith unto me:
    > Date: Sun, 8 Nov 1998 23:21:39 -0800 (PST)
    > From: Linus Torvalds <>
    > How about something simple like:
    > 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.
    Why not just recommend "-O6 -fno-inline-functions" like we did with the
    strength reduction bug? (Insert the right switch to disable the
    aggressive inlining of -O6 but not disable explicitly requested
    inlining here...and in the compiler code, if it's not there already.)

    Maybe even add a "-OK" or "-OL" optimization level for code which has
    already been hand-optimized in these ways? Of course, we'd also want
    to just use -O6 for code that has not been so heavily optimized vis a
    vis inlining on Intel.


    "The avalanche has already started; |Linux: |"Zooty,
    it is too late for the pebbles to |KDE: | zoot
    vote." Kosh, "Believers", Babylon 5 |Keith: | zoot!" | | --Rebo

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:45    [W:0.060 / U:0.816 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site