Hi, On Wed 23-12-15 10:54:49, Sergey Senozhatsky wrote: > slowly looking through the patches.
Back from Christmas vacation... > How about setting 'sync_print' to 'true' in... > bust_spinlocks() /* only set to true */ > or > console_verbose() /* um... may be... */ > or > having a separate one-liner for that > > void console_panic_mode(void) > { > sync_print = true; > } > > and call it early in panic(), before we send out IPI_STOP. I like using console_verbose() for setting sync_print to true. That will likely be more reliable than using oops in progress. After all console_verbose() is used like console_panic_mode() anyway and in quite a few places so it is a reasonable match. Honza -- Jan Kara <j...@suse.com> SUSE Labs, CR -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/