From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E841C433F5 for ; Thu, 31 Mar 2022 15:49:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238947AbiCaPvh (ORCPT ); Thu, 31 Mar 2022 11:51:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238310AbiCaPvg (ORCPT ); Thu, 31 Mar 2022 11:51:36 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E1EFB5BE4B for ; Thu, 31 Mar 2022 08:49:48 -0700 (PDT) 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 A7051139F; Thu, 31 Mar 2022 08:49:48 -0700 (PDT) Received: from [192.168.178.6] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8ECA43F73B; Thu, 31 Mar 2022 08:49:47 -0700 (PDT) Message-ID: <887fd1ba-c83f-77e4-74a9-53eef1dacc49@arm.com> Date: Thu, 31 Mar 2022 17:49:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2] arch/arm64: Fix topology initialization for core scheduling Content-Language: en-US To: Phil Auld Cc: linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Mark Rutland , Peter Zijlstra , linux-arm-kernel@lists.infradead.org References: <20220330155611.30216-1-pauld@redhat.com> <66f29bee-e26c-b40e-c3af-79d5297565d8@arm.com> <20220331132103.GB17613@pauld.bos.csb> <20220331145343.GF17613@pauld.bos.csb> From: Dietmar Eggemann In-Reply-To: <20220331145343.GF17613@pauld.bos.csb> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31/03/2022 16:53, Phil Auld wrote: > On Thu, Mar 31, 2022 at 04:37:50PM +0200 Dietmar Eggemann wrote: >> On 31/03/2022 15:21, Phil Auld wrote: >>> On Thu, Mar 31, 2022 at 11:04:31AM +0200 Dietmar Eggemann wrote: >>>> On 30/03/2022 17:56, Phil Auld wrote: [...] >> Yeah, maybe, it wouldn't hurt I guess. IMHO mentioning stress-ng's prctl >> needs PR_SCHED_CORE support could also be handy since today's stress-ng >> packages don't seem to have this yet. >> > > My scripts clone it so I did not realize that was not in prepackaged versions > yet. But that said, that's really just a way to tickle the problem. Anyone > using core scheduling on such a system will hit this (at least the WARN part, > the actual crash was harder to create w/o all the threads and tasks stress-ng > uses). OK. I just saw that there is even a kselftest for this: 9f2699007493 - kselftest: Add test for core sched prctl interface (2021-05-12 Chris Hyser) But it doesn't trigger the issue. > I can send a v3 with a further commit message update. Sounds good.