Re: WARNING: at kernel/cpu/idle.c:96

From: Markus Trippelsdorf
Date: Thu May 02 2013 - 07:30:24 EST


On 2013.05.02 at 12:43 +0200, Thomas Gleixner wrote:
> On Tue, 30 Apr 2013, Markus Trippelsdorf wrote:
>
> > Just booted todays git tree and got the following warning:
> >
> > ------------[ cut here ]------------
> > WARNING: at kernel/cpu/idle.c:96 cpu_startup_entry+0x14d/0x160()
> > Hardware name: System Product Name
> > Pid: 0, comm: swapper/2 Not tainted 3.9.0-03462-gab86e97-dirty #424
> > Call Trace:
> > smpboot: Booting Node 0, Processors #1 #2
> > [<ffffffff8105b7c0>] ? warn_slowpath_common+0x60/0xa0
> > [<ffffffff8108c26d>] ? cpu_startup_entry+0x14d/0x160
> > ---[ end trace 40a24a5550891913 ]---
>
> Fix below.

Unfortunately the fix doesn't work:

------------[ cut here ]------------
WARNING: at kernel/cpu/idle.c:96 cpu_startup_entry+0x14d/0x160()
CPU: 2 PID: 0 Comm: swapper/2 Not tainted 3.9.0-07391-g20b4fb4-dirty #432
Hardware name: System manufacturer System Product Name/M4A78T-E, BIOS 3503 04/13/2011
ffffffff81528e8b ffffffff8105b791 ffff8802168b1fd8 ffff8802168b1fd8
ffff8802168b1fd8 ffff8802168b1fd8 ffff8802168b1fd8 ffffffff8108cc8d
0000000010001b76 0000000000000000 0000000000000000 0000000000000000
Call Trace:
[<ffffffff81528e8b>] ? dump_stack+0xc/0x15
[<ffffffff8105b791>] ? warn_slowpath_common+0x51/0x80
[<ffffffff8108cc8d>] ? cpu_startup_entry+0x14d/0x160
---[ end trace 35da8e4b222a0736 ]---

BTW another issue is that "perf top" shows the following on an otherwise idle
machine:

67.76% [kernel] [k] cpu_startup_entry
12.90% [kernel] [k] amd_e400_idle

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