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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 30 Jan 2015, James Hogan wrote:

> >  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'?
> 
> It would be the fact netconsole (or whatever other console is in use) is
> built as a kernel module, memory for which is allocated from the vmalloc
> area.

 Ah, I see, thanks for enlightening me.  But in that case wouldn't it be 
possible to postpone console output from `printk' until it is safe to 
access the device?  In a manner similar to how for example we handle calls 
to `printk' made from the hardirq context.  That would make things less 
fragile.

  Maciej
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]