From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756339AbbCFGbm (ORCPT ); Fri, 6 Mar 2015 01:31:42 -0500 Received: from mga14.intel.com ([192.55.52.115]:50867 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756310AbbCFGbj (ORCPT ); Fri, 6 Mar 2015 01:31:39 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,351,1422950400"; d="scan'208";a="687795481" Date: Fri, 6 Mar 2015 14:31:36 +0800 From: Fengguang Wu To: Vladimir Davydov Cc: Tejun Heo , LKP , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [cgroup] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1439 warn_pre_alternatives() Message-ID: <20150306063136.GA8296@wfg-t540p.sh.intel.com> References: <20150306055758.GA28187@wfg-t540p.sh.intel.com> <20150306060937.GC4762@esperanza> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150306060937.GC4762@esperanza> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vladimir, On Fri, Mar 06, 2015 at 09:09:37AM +0300, Vladimir Davydov wrote: > Hi, > > This bug should have been fixed by "[PATCH -next] cpuset: initialize > cpuset a bit early": > > http://www.spinics.net/lists/cgroups/msg12599.html OK, sorry for the late report! I only searched for the full commit id for possible duplicates, should check the patch subject, too. Thanks, Fengguang > On Fri, Mar 06, 2015 at 01:57:58PM +0800, Fengguang Wu wrote: > > [ 0.021989] ------------[ cut here ]------------ > > [ 0.021989] ------------[ cut here ]------------ > > [ 0.022816] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1439 warn_pre_alternatives+0x25/0x2e() > > [ 0.022816] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1439 warn_pre_alternatives+0x25/0x2e() > > [ 0.024000] You're using static_cpu_has before alternatives have run! > > [ 0.024000] You're using static_cpu_has before alternatives have run! > > [ 0.024000] Modules linked in: > > [ 0.024000] Modules linked in: > > > > [ 0.024000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.0.0-rc1-00004-g295458e #455 > > [ 0.024000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.0.0-rc1-00004-g295458e #455 > > [ 0.024000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014 > > [ 0.024000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.7.5-20140531_083030-gandalf 04/01/2014 > > [ 0.024000] 0000000000000009 > > [ 0.024000] 0000000000000009 ffffffff81e03cc8 ffffffff81e03cc8 ffffffff81674d02 ffffffff81674d02 ffffffff810ca88e ffffffff810ca88e > > > > [ 0.024000] ffffffff81e03d18 > > [ 0.024000] ffffffff81e03d18 ffffffff81e03d08 ffffffff81e03d08 ffffffff81073d6f ffffffff81073d6f 0000000000000000 0000000000000000 > > > > [ 0.024000] ffffffff81018f79 > > [ 0.024000] ffffffff81018f79 ffffffff81e03e38 ffffffff81e03e38 0000000000000000 0000000000000000 0000000000000002 0000000000000002 > > > > [ 0.024000] Call Trace: > > [ 0.024000] Call Trace: > > [ 0.024000] [] dump_stack+0xa0/0xd5 > > [ 0.024000] [] dump_stack+0xa0/0xd5 > > [ 0.024000] [] ? console_unlock+0x496/0x4ef > > [ 0.024000] [] ? console_unlock+0x496/0x4ef > > [ 0.024000] [] warn_slowpath_common+0xc8/0xf7 > > [ 0.024000] [] warn_slowpath_common+0xc8/0xf7 > > [ 0.024000] [] ? warn_pre_alternatives+0x25/0x2e > > [ 0.024000] [] ? warn_pre_alternatives+0x25/0x2e > > [ 0.024000] [] warn_slowpath_fmt+0x4f/0x58 > > [ 0.024000] [] warn_slowpath_fmt+0x4f/0x58 > > [ 0.024000] [] ? native_iret+0x7/0x7 > > [ 0.024000] [] ? native_iret+0x7/0x7 > > [ 0.024000] [] warn_pre_alternatives+0x25/0x2e > > [ 0.024000] [] warn_pre_alternatives+0x25/0x2e > > [ 0.024000] [] __do_page_fault+0x2b4/0x7c2 > > [ 0.024000] [] __do_page_fault+0x2b4/0x7c2 > > [ 0.024000] [] do_page_fault+0x3e/0x4a > > [ 0.024000] [] do_page_fault+0x3e/0x4a > > [ 0.024000] [] do_async_page_fault+0x3a/0xb9 > > [ 0.024000] [] do_async_page_fault+0x3a/0xb9 > > [ 0.024000] [] async_page_fault+0x28/0x30 > > [ 0.024000] [] async_page_fault+0x28/0x30 > > [ 0.024000] [] ? cpumask_copy+0x2c/0x2f > > [ 0.024000] [] ? cpumask_copy+0x2c/0x2f > > [ 0.024000] [] ? cpuset_bind+0x5b/0xc4 > > [ 0.024000] [] ? cpuset_bind+0x5b/0xc4 > > [ 0.024000] [] cgroup_init+0x2fa/0x3d3 > > [ 0.024000] [] cgroup_init+0x2fa/0x3d3 > > [ 0.024000] [] start_kernel+0x6ed/0x755 > > [ 0.024000] [] start_kernel+0x6ed/0x755 > > [ 0.024000] [] ? early_idt_handlers+0x120/0x120 > > [ 0.024000] [] ? early_idt_handlers+0x120/0x120 > > [ 0.024000] [] x86_64_start_reservations+0x46/0x4f > > [ 0.024000] [] x86_64_start_reservations+0x46/0x4f > > [ 0.024000] [] x86_64_start_kernel+0x1b0/0x1c6 > > [ 0.024000] [] x86_64_start_kernel+0x1b0/0x1c6 > > [ 0.024000] ---[ end trace 37d9a871c47a31bc ]--- > > [ 0.024000] ---[ end trace 37d9a871c47a31bc ]---