[lkml]   [2006]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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)

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

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