lkml.org 
[lkml]   [2006]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] i386: use C code for current_thread_info()


    On Sun, 11 Jun 2006, Chuck Ebbert wrote:
    >
    > Using C code for current_thread_info() lets the compiler optimize it.

    Ok, me likee. I just worry that this might break some older gcc version.
    Have you checked with gcc-3.2 or something?

    We've had that "current_stack_pointer" thing for a long while, but we only
    use it in the irq-stack path (where it's really very incidental: the whole
    use of the "previous_esp" thing is only for the oops tracing. Maybe there
    was some reason (like gcc generating bad code) for not using it earlier?

    (Admittedly, a more likely reason is probably just nobody looking at it,
    but it sounds like we should check it out anyway, just in case)

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

    \
     
     \ /
      Last update: 2009-11-18 23:46    [W:0.020 / U:62.480 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site