[lkml]   [1997]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: SMP

    On Mon, 12 May 1997, Richard B. Johnson wrote:

    > Question? When SMP is finally robust and stable, if there is a crash, shall
    > we expect two panics <grin>? Gotta halt both CPUs in panic. This might
    > be the reason why SMP crashes seem to be more prone to trashing file-systems.
    > The second CPU might be writing some bad stuff to the file-system before
    > it panics.

    from kernel/panic.c:

    #ifdef __SMP__
    smp_message_pass(MSG_ALL_BUT_SELF, MSG_STOP_CPU, 0, 0);

    this is supposed to stop the other CPU as fast as possible. (we might even
    want to make that an NMI interrupt)

    -- mingo

     \ /
      Last update: 2005-03-22 13:39    [W:0.017 / U:106.792 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site