Re: [PATCH v2 2/2] MIPS: fix kernel lockup or crash after CPU offline/online

From: Maciej W. Rozycki
Date: Fri Jan 30 2015 - 04:25:25 EST


On Thu, 15 Jan 2015, Aaro Koskinen wrote:

> As printk() invocation can cause e.g. a TLB miss, printk() cannot be
> called before the exception handlers have been properly initialized.
> This can happen e.g. when netconsole has been loaded as a kernel module
> and the TLB table has been cleared when a CPU was offline.

Hmm, why can a call to `printk' cause a TLB miss, what's so special about
this function? Does it use kernel mapped addresses for any purpose such
as `vmalloc'?

Maciej
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/