Re: [PATCH] LKCD for 2.5.44 (6/8): dump trace/dump calls/dump_in_progress

From: Matt D. Robinson (yakker@aparity.com)
Date: Wed Oct 23 2002 - 12:40:35 EST


Yes -- I don't know how this didn't get picked up, this
was probably the result of the volatile->atomic_t->volatile
code changes.

The patch change should be:

 #ifdef CONFIG_SMP
    if (!dump_function_ptr) {
        smp_send_stop();
    }
 #endif

I'm copying the utils.patch file to the web site now:

        http://lkcd.sourceforge.net/download/latest/

--Matt

On Wed, 23 Oct 2002, Christoph Hellwig wrote:
|>On Wed, Oct 23, 2002 at 02:44:43AM -0700, Matt D. Robinson wrote:
|>> +#if !defined(CONFIG_CRASH_DUMP) && !defined(CONFIG_CRASH_DUMP_MODULE)
|>> #ifdef CONFIG_SMP
|>> smp_send_stop();
|>> #endif
|>> +#endif
|>
|>Again, is there a chance you could make this a runtime switch?
|>This would allow to poweroff dump-enabled kernel not configured for
|>dumping.
|>
|>-
|>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/
|>

-- 

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



This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:01:05 EST