Re: [-mmotm] BUG: scheduling while atomic: swapper

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dmitry Adamushko <dmitry.adamushko@...>
Cc: Ryan Hope <rmh3093@...>, LKML <linux-kernel@...>, Vegard Nossum <vegard.nossum@...>
Date: Tuesday, August 26, 2008 - 4:24 am

On Tue, 26 Aug 2008 10:11:24 +0200 "Dmitry Adamushko" <dmitry.adamushko@gmail.com> wrote:


mmotm is linux-next plus -mm stuff


Yes, an unbalanced get_cpu() would explain it.

However that patch is already in current -mm.  Ryan, can you please
check to see if it's in the version you tested?  The "fixed" version
looks like this:

static int __init microcode_intel_module_init(void)
{
	struct cpuinfo_x86 *c = &cpu_data(get_cpu());

	if (c->x86_vendor == X86_VENDOR_INTEL)
		return microcode_init(&microcode_intel_ops, THIS_MODULE);
	else
		return -ENODEV;
}

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[-mmotm] BUG: scheduling while atomic: swapper, Ryan Hope, (Mon Aug 25, 10:09 pm)
Re: [-mmotm] BUG: scheduling while atomic: swapper, Dmitry Adamushko, (Tue Aug 26, 4:11 am)
Re: [-mmotm] BUG: scheduling while atomic: swapper, Andrew Morton, (Tue Aug 26, 4:24 am)
Re: [-mmotm] BUG: scheduling while atomic: swapper, Andrew Morton, (Tue Aug 26, 2:37 am)
Re: [-mmotm] BUG: scheduling while atomic: swapper, Vegard Nossum, (Tue Aug 26, 3:01 am)