Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2641063pxu; Mon, 7 Dec 2020 11:31:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZD4+nw77RJar4Begj3FyBUUxmNeA8wVAWoLdo0aZbjiB3SXcHiujDJz0RLg0LEv8NPXop X-Received: by 2002:a17:906:c097:: with SMTP id f23mr20954025ejz.136.1607369460587; Mon, 07 Dec 2020 11:31:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607369460; cv=none; d=google.com; s=arc-20160816; b=dNwY+mIdWIQ9lxV0EEhVckw31sA+qjFx9K3f7aauKAQ4XoDZ1Moma8ZcQecEIVx/7t 7ie3WapnKNcbSZAdXaLE1jz0oV3aR1xbYflZIREVNqxX3NEYTNEa5ERgHEbZN4g9Phlq w+x6y8KvLnefPx7PKRDbwY+yRXBEokaeRM9E3fQR72wQfaPKZtXmrduMPzs0GTfE2wNx n0ul2E+J815E4UqDaSUVKBcA9ZKL6Oxi5Xioim/eKMELslPc5BFWZdAfjGJoGmXEFZNu zbR+YMh3gwaNBqlnjLQaCiMlIiitEjtNQNqmftbTBCDUXNG/hbGLutIHj/3eGgeJF5MB L3NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:in-reply-to:subject :cc:to:from:user-agent:references; bh=SreESm4IfIUOoQYTfJ0X8D3+zCAeMbmmAQ4+nVVU6UA=; b=GT+0ISzJbnF5TdcsT6orPiKK0ihIVrimFUPOcN5xr24lqQghXi/zNwNuOsxphP9mGK OD2DuAjiJYCzkLFS5+9h+48guRib901iUcHxFw3qnKBD3atlzYPYLRh9DhsUtmOT1ZwA YJFWu0epH/CX0e4V8SELE4GhUFwg/5Wm6LyI5tw7vGBMtIikjJYeIN7YJ87FZxzagGLO Zwtoo7GuM/2xHsSFRwSGyIy9pEF5VVsWIsjdqSW2xPv4JxozDcwHWB6ldZrgGbIVsJZV PG4CXPcbpVj+Drc6V6jEoNdGyz7s/Ng3fanYzcJ1KMD/Hv79LagwEBKk/GDQ61Nr5xf3 BcXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mj22si3597771ejb.215.2020.12.07.11.30.36; Mon, 07 Dec 2020 11:31:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726278AbgLGT2t (ORCPT + 99 others); Mon, 7 Dec 2020 14:28:49 -0500 Received: from foss.arm.com ([217.140.110.172]:60096 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725822AbgLGT2t (ORCPT ); Mon, 7 Dec 2020 14:28:49 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0B61E31B; Mon, 7 Dec 2020 11:28:04 -0800 (PST) Received: from e113632-lin (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CC46E3F66B; Mon, 7 Dec 2020 11:28:01 -0800 (PST) References: <20201023101158.088940906@infradead.org> <20201023102347.067278757@infradead.org> User-agent: mu4e 0.9.17; emacs 26.3 From: Valentin Schneider To: Qian Cai Cc: Peter Zijlstra , tglx@linutronix.de, mingo@kernel.org, linux-kernel@vger.kernel.org, bigeasy@linutronix.de, qais.yousef@arm.com, swood@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vincent.donnefort@arm.com, tj@kernel.org, ouwen210@hotmail.com Subject: Re: [PATCH v4 11/19] sched/core: Make migrate disable and CPU hotplug cooperative In-reply-to: Date: Mon, 07 Dec 2020 19:27:56 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/12/20 21:19, Qian Cai wrote: > On Tue, 2020-11-17 at 19:28 +0000, Valentin Schneider wrote: >> We did have some breakage in that area, but all the holes I was aware of >> have been plugged. What would help here is to see which tasks are still >> queued on that outgoing CPU, and their recent activity. >> >> Something like >> - ftrace_dump_on_oops on your kernel cmdline >> - trace-cmd start -e 'sched:*' >> >> >> ought to do it. Then you can paste the (tail of the) ftrace dump. >> >> I also had this laying around, which may or may not be of some help: > > Okay, your patch did not help, since it can still be reproduced using this, > > https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/hotplug/cpu_hotplug/functional/cpuhotplug04.sh > > # while :; do cpuhotplug04.sh -l 1; done > Ok, can reproduce this on a TX2 on next-20201207. I didn't use your config, I oldconfig'd my distro config and only modified it to CONFIG_PREEMPT_NONE. Interestingly the BUG happens on CPU127 here too... I'll start digging.