lkml.org 
[lkml]   [2006]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [2.6.17-rc5-mm2] crash when doing second suspend: BUG in arch/i386/kernel/nmi.c:174
    On Tue, Jun 06, 2006 at 04:18:15PM +0200, Andi Kleen wrote:
    >
    > > Because he is using a i386 machine, the nmi watchdog is disabled by
    > > default.
    >
    > I changed that - it's now on by default on i386 too.
    >
    > -Andi

    I am trying to create a patch for this problem and it just dawned on me,
    how does one store the previous state in a suspend/resume path if the code
    hotplugs all the cpus first? CPU0 is easy because an explicit
    suspend/resume path is called, but it seems to be called last after all
    the other cpus have been removed. How do I save the state?

    Is there a recommened way of doing this? Or can I assume that
    __cpu_disable/enable is only called by the suspend/resume subsystem?

    Thanks.

    Cheers,
    Don

    -
    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: 2006-06-06 23:43    [W:0.022 / U:62.396 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site