Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755357AbbHYIVJ (ORCPT ); Tue, 25 Aug 2015 04:21:09 -0400 Received: from blu004-omc1s20.hotmail.com ([65.55.116.31]:50231 "EHLO BLU004-OMC1S20.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755137AbbHYIVF (ORCPT ); Tue, 25 Aug 2015 04:21:05 -0400 X-TMN: [0gt6c6oVxbMhyM/dqgjc3Gq7fItNOTqJ] X-Originating-Email: [wanpeng.li@hotmail.com] Message-ID: Subject: Re: [lkp] [sched] 25834c73f9: WARNING: CPU: 0 PID: 13 at kernel/sched/core.c:1156 do_set_cpus_allowed+0x7e/0x80() To: kernel test robot , Peter Zijlstra References: <877fool013.fsf@yhuang-dev.intel.com> CC: lkp@01.org, LKML , Ingo Molnar From: Wanpeng Li Date: Tue, 25 Aug 2015 16:20:54 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <877fool013.fsf@yhuang-dev.intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Aug 2015 08:21:02.0451 (UTC) FILETIME=[FAD47C30:01D0DF0E] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4807 Lines: 81 On 8/22/15 7:00 AM, kernel test robot wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > commit 25834c73f93af7f0712c98ca4593691592e6b360 ("sched: Fix a race between __kthread_bind() and sched_setaffinity()") https://lkml.org/lkml/2015/8/25/117 Hopes this patch can fix it. Regards, Wanpeng Li > > > +------------------------------------------------------------------+------------+------------+ > | | 7855a35ac0 | 25834c73f9 | > +------------------------------------------------------------------+------------+------------+ > | boot_successes | 10 | 0 | > | boot_failures | 1 | 11 | > | Out_of_memory:Kill_process | 1 | 11 | > | Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 1 | 10 | > | backtrace:vfs_fstatat | 1 | 2 | > | backtrace:SyS_fstatat64 | 1 | 2 | > | WARNING:at_kernel/sched/core.c:#do_set_cpus_allowed() | 0 | 6 | > | backtrace:smpboot_thread_fn | 0 | 6 | > | backtrace:SYSC_socketcall | 0 | 4 | > | backtrace:SyS_socketcall | 0 | 4 | > | backtrace:tty_ldisc_setup | 0 | 1 | > | backtrace:tty_init_dev | 0 | 1 | > | backtrace:do_sys_open | 0 | 1 | > | backtrace:SyS_open | 0 | 1 | > +------------------------------------------------------------------+------------+------------+ > > [ 15.273708] ------------[ cut here ]------------ > [ 15.274097] WARNING: CPU: 0 PID: 13 at kernel/sched/core.c:1156 do_set_cpus_allowed+0x7e/0x80() > [ 15.274857] Modules linked in: > [ 15.275101] CPU: 0 PID: 13 Comm: migration/0 Not tainted 4.2.0-rc1-00049-g25834c7 #2 > [ 15.275674] 00000000 00000000 d21f1d24 c19228b2 00000000 d21f1d58 c1056a3b c1ba00e4 > [ 15.276084] 00000000 0000000d c1ba17d8 00000484 c10838be 00000484 c10838be d21e5000 > [ 15.276084] d2121900 d21e5158 d21f1d68 c1056b12 00000009 00000000 d21f1d7c c10838be > [ 15.276084] Call Trace: > [ 15.276084] [] dump_stack+0x4b/0x75 > [ 15.276084] [] warn_slowpath_common+0x8b/0xc0 > [ 15.276084] [] ? do_set_cpus_allowed+0x7e/0x80 > [ 15.276084] [] ? do_set_cpus_allowed+0x7e/0x80 > [ 15.276084] [] warn_slowpath_null+0x22/0x30 > [ 15.276084] [] do_set_cpus_allowed+0x7e/0x80 > [ 15.276084] [] cpuset_cpus_allowed_fallback+0x7c/0x170 > [ 15.276084] [] ? cpuset_cpus_allowed+0x180/0x180 > [ 15.276084] [] select_fallback_rq+0x221/0x280 > [ 15.276084] [] migration_call+0xe3/0x250 > [ 15.276084] [] notifier_call_chain+0x53/0x70 > [ 15.276084] [] __raw_notifier_call_chain+0x1e/0x30 > [ 15.276084] [] cpu_notify+0x28/0x50 > [ 15.276084] [] take_cpu_down+0x22/0x40 > [ 15.276084] [] multi_cpu_stop+0xd5/0x140 > [ 15.276084] [] ? __stop_cpus+0x80/0x80 > [ 15.276084] [] cpu_stopper_thread+0xbc/0x170 > [ 15.276084] [] ? preempt_count_sub+0x9/0x50 > [ 15.276084] [] ? _raw_spin_unlock_irq+0x37/0x50 > [ 15.276084] [] ? _raw_spin_unlock_irqrestore+0x55/0x70 > [ 15.276084] [] ? trace_hardirqs_on_caller+0x144/0x1e0 > [ 15.276084] [] ? cpu_stop_should_run+0x35/0x40 > [ 15.276084] [] ? preempt_count_sub+0x9/0x50 > [ 15.276084] [] ? _raw_spin_unlock_irqrestore+0x41/0x70 > [ 15.276084] [] smpboot_thread_fn+0x174/0x2f0 > [ 15.276084] [] ? sort_range+0x30/0x30 > [ 15.276084] [] kthread+0xc4/0xe0 > [ 15.276084] [] ret_from_kernel_thread+0x21/0x30 > [ 15.276084] [] ? kthread_create_on_node+0x180/0x180 > [ 15.276084] ---[ end trace 15f4c86d404693b0 ]--- > > Thanks, > Ying Huang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/