From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752173AbbCWIzd (ORCPT ); Mon, 23 Mar 2015 04:55:33 -0400 Received: from casper.infradead.org ([85.118.1.10]:54613 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752055AbbCWIzc (ORCPT ); Mon, 23 Mar 2015 04:55:32 -0400 Date: Mon, 23 Mar 2015 09:55:23 +0100 From: Peter Zijlstra To: Ingo Molnar Cc: Wanpeng Li , Juri Lelli , linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND v10] sched/deadline: support dl task migration during cpu hotplug Message-ID: <20150323085523.GB23123@twins.programming.kicks-ass.net> References: <1426231647-11966-1-git-send-email-wanpeng.li@linux.intel.com> <20150316150101.GA18521@gmail.com> <20150316230110.GA14994@kernel> <20150317080612.GA28235@gmail.com> <20150317075322.GA5431@kernel> <20150317081302.GA28462@gmail.com> <20150317075945.GA5646@kernel> <20150323072504.GA25184@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150323072504.GA25184@gmail.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 23, 2015 at 08:25:04AM +0100, Ingo Molnar wrote: > > >> >> >> + if (cpu >= nr_cpu_ids) { > > >> >> >> + if (dl_bandwidth_enabled()) { > > >> >> >> + /* > > >> >> >> + * Fail to find any suitable cpu. > > >> >> >> + * The task will never come back! > > >> >> >> + */ > > >> >> >> + WARN_ON(1); > > >> >> > > > >> >> > Can this condition happen to users with a non-buggy kernel? > I still haven't seen a satisfactory answer to this question. Please > don't resend patches without clearing questions raised during review. So I had a look on Friday, it _should_ not happen, but it does due to a second bug Juri is currently chasing down.