From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 81BCD263F21; Thu, 13 Mar 2025 09:09:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741856992; cv=none; b=ZzqFfZU1q/QVnBQ6iQ9+0c4BHMwUrpVGYQaOic+n4BGKVIwWjFx3trH1VYSxrqYFPht/1YTcB0OdGCVQSOkfK1ZSKMIteIihoagGFpO72tk4navU5I+TVwFVZoUlB2L2i/aLl5Txtu+uB9pcnaaJWbBo10FDebqmwzSDYKAQ6T4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741856992; c=relaxed/simple; bh=PISbjvmZ2iSJq7UyQIYr5UmXSsSNQDC6otnvjIpHCtI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QpeXV6MtcxKp33GMnZcI8vWnmI37ZXsY3pLGU4ImVLgeW9Wx+nntl141qMpwsk1VTWFZ6TWx2nQZyWdz6+tSsi10KdVqHHd7soPNdftYI8qehPpCNukCN4ODMYTgxhPGRnxTd5ahEe6+SQuBTuvihnLypESo4D6CZfAM/uVgB90= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 D655C150C; Thu, 13 Mar 2025 02:09:55 -0700 (PDT) Received: from [192.168.178.45] (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 438523F694; Thu, 13 Mar 2025 02:09:42 -0700 (PDT) Message-ID: <433bb604-1490-4ac0-8e25-1b2f7464ef76@arm.com> Date: Thu, 13 Mar 2025 10:09:34 +0100 Precedence: bulk X-Mailing-List: cgroups@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 4/8] sched/deadline: Rebuild root domain accounting after every update To: Juri Lelli Cc: Waiman Long , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Vincent Guittot , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , Tejun Heo , Johannes Weiner , =?UTF-8?Q?Michal_Koutn=C3=BD?= , Qais Yousef , Sebastian Andrzej Siewior , Swapnil Sapkal , Shrikanth Hegde , Phil Auld , luca.abeni@santannapisa.it, tommaso.cucinotta@santannapisa.it, Jon Hunter References: <7fb20de6-46a6-4e87-932e-dfc915fff3dc@redhat.com> <724e00ea-eb27-46f1-acc3-465c04ffc84d@arm.com> <78bc0eda-7471-404d-a816-bd5f1a8d4b27@arm.com> From: Dietmar Eggemann Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12.03.25 17:51, Juri Lelli wrote: > On 12/03/25 17:29, Dietmar Eggemann wrote: >> On 12/03/2025 15:11, Juri Lelli wrote: >>> On 12/03/25 09:55, Waiman Long wrote: >>>> On 3/12/25 6:09 AM, Juri Lelli wrote: >>>>> On 12/03/25 10:53, Dietmar Eggemann wrote: >>>>>> On 11/03/2025 15:51, Waiman Long wrote: >> >> [...] >> >>>>> I unfortunately very much suspect !CPUSETS accounting is broken. But if >>>>> that is indeed the case, it has been broken for a while. :( >>>> Without CONFIG_CPUSETS, there will be one and only one global sched domain. >>>> Will this still be a problem? >>> >>> Still need to double check. But I have a feeling we don't restore >>> accounting correctly (at all?!) without CPUSETS. Orthogonal to this >>> issue though, as if we don't, we didn't so far. :/ >> >> As expected: >> >> Since dl_rebuild_rd_accounting() is empty with !CONFIG_CPUSETS, the same >> issue happens. > > Right, suspicion confirmed. :) > > But, as I was saying, I believe it has been broken for a while/forever. > Not only suspend/resume, the accounting itself. > > Would you be OK if we address the !CPUSETS case with a separate later > series? Yes, we can do that.