lkml.org 
[lkml]   [2004]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Fw: [RFC] Strange code in cpu_idle()
    On Mon, 6 Dec 2004, Stephen Rothwell wrote:

    > On Mon, 6 Dec 2004 11:16:34 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
    > >
    > > > Thoughts?
    > >
    > > None, sorry :-)
    >
    > Actually, Rusty suggests stop_machine() ...

    Hmm i believe there is a window with CONFIG_PREEMPT whereupon we read the
    pm_idle pointer, get scheduled out to run the stopmachine thread and
    return with the stale pointer.

    Thanks,
    Zwane

    -
    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: 2005-03-22 14:08    [W:0.035 / U:29.600 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site