From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 886B61632E5 for ; Wed, 13 Nov 2024 16:42:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731516151; cv=none; b=FunUKLcwyTL6+6gTQMfyz95ypTCUDSUJ9Si+n8iC+SYGfduA6XGfnFyAcASweogxqiegWckdN8/RqTNLYUSI4AHNKTOddk0Ep8Xz7hoj97fWjd4zbd6+tncoAaoyF0t8cIiAH2PUieuJqS8whCwhxPmXU3ZPUJswb0O8xwaM1Vc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731516151; c=relaxed/simple; bh=06AuL1t5SxzpsWna3tKpXpi4dmGvZ4g957HKiDaKnAs=; h=From:Message-ID:Date:MIME-Version:Subject:To:Cc:References: In-Reply-To:Content-Type; b=NjHNO4BKtHOL8IczbwjH0HBj2eODbGV02Qo7XLOPc90wM+FX7hy8uNbN4tDSgFqFGbQG+vOb+uQqssRFGLob3t101zqVfJRGUlW6Hu9lw3In6sGyY14Fr+N9QsEgeOJxGNr4Z/9cPczLsUpRwYD6qiGuylyOIgCQ/3Lfl67AQWw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=D4UlMaER; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="D4UlMaER" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1731516148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=06AuL1t5SxzpsWna3tKpXpi4dmGvZ4g957HKiDaKnAs=; b=D4UlMaERcAKkLYy5jTDIcSVyEKCGbs7vSp2tHH1sNU53r+WC/lQ8fGw+35+ytPslAHQkhA jun/FlSMMWhkQIUELayelf0/pdSW7c+QhefZ84sV+2DlVRGa/Y2FwpA9SyH5daCtqJLvp9 c7Tn2ZwhZk3Jx5IJqsqapZvSBrUm4JU= Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-512-aSIff_YCOGKWx80bitAyEw-1; Wed, 13 Nov 2024 11:42:27 -0500 X-MC-Unique: aSIff_YCOGKWx80bitAyEw-1 X-Mimecast-MFC-AGG-ID: aSIff_YCOGKWx80bitAyEw Received: by mail-il1-f197.google.com with SMTP id e9e14a558f8ab-3a71d035135so2318615ab.3 for ; Wed, 13 Nov 2024 08:42:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731516146; x=1732120946; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:user-agent:mime-version:date:message-id:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=06AuL1t5SxzpsWna3tKpXpi4dmGvZ4g957HKiDaKnAs=; b=DKOKbxdRARjAHPOgl//xdJ1tmEZMuFjNXRnh9ztXx/cQvSE+oOIHotU50n0BOQIggg PvUc4x2UgY+EXBJzgHp05knLhMxAisQAiVbjq/FgeCji14pG0tHXyS44d3zoRp3w83nm P2QS9MmMrWHjOhFm5m4EgbhgJwXSfRriI2Pisfs8G8HBnOMyupaason22AbeAWfw5pTG aJzARpRbr7h/AUdce7CFIgcTP4DNxgpXrgUWmCuX90hH7mHARXuBKlrw4Lek4o3/Lv0B HT4N9hFcYyuvpaLDCC9G+cRsRjchBpkcWHQ3EmJEyWWWA3mFMxKu5Mau8wi1nKxXiqix pLvA== X-Forwarded-Encrypted: i=1; AJvYcCV4VKQaM8Ht8WXw9V/6gyEyoFGtXbiKHT+7zFq8CLh6Nq9doMcWQUh/wwedqX9kHHRRAtNRGdXg@vger.kernel.org X-Gm-Message-State: AOJu0YxnDKmwR0cR2MU7h3EnF2/Jha7+UDrWhB8yVC54ZeGAMBTZsVWf nCMlosoaoThuU8c04uvDvGHEwW6ksQcd3CuvqMkeabXbQqRJm3xmfFeHR4pGG5TOnXNeSBaA7jt DvMclkcoXQT8Eukff8z0ANf17RWge3vv/qljRBh/TcyNSZFiEhtvgkPA= X-Received: by 2002:a05:6e02:1886:b0:3a4:e75c:c9d5 with SMTP id e9e14a558f8ab-3a6f18d894cmr192853825ab.0.1731516146241; Wed, 13 Nov 2024 08:42:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUbIKFahDMQG8rFZFHphfEkZG3wiNYQDEx1w6j+e2DRXkWnNHOwvRmePXoBiCQQRiblgvtUw== X-Received: by 2002:a05:6e02:1886:b0:3a4:e75c:c9d5 with SMTP id e9e14a558f8ab-3a6f18d894cmr192853505ab.0.1731516145943; Wed, 13 Nov 2024 08:42:25 -0800 (PST) Received: from ?IPV6:2601:188:ca00:a00:f844:fad5:7984:7bd7? ([2601:188:ca00:a00:f844:fad5:7984:7bd7]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4de787d7051sm2902209173.85.2024.11.13.08.42.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Nov 2024 08:42:25 -0800 (PST) From: Waiman Long X-Google-Original-From: Waiman Long Message-ID: Date: Wed, 13 Nov 2024 11:42:23 -0500 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 2/2] sched/deadline: Correctly account for allocated bandwidth during hotplug To: Juri Lelli , Waiman Long Cc: Tejun Heo , Johannes Weiner , Michal Koutny , Ingo Molnar , Peter Zijlstra , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , Qais Yousef , Sebastian Andrzej Siewior , "Joel Fernandes (Google)" , Suleiman Souhlal , Aashish Sharma , Shin Kawamura , Vineeth Remanan Pillai , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org References: <20241113125724.450249-1-juri.lelli@redhat.com> <20241113125724.450249-3-juri.lelli@redhat.com> <8e55c640-c931-4b9c-a501-c5b0a654a420@redhat.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/13/24 11:40 AM, Juri Lelli wrote: > On 13/11/24 11:06, Waiman Long wrote: > > ... > >> This part can still cause a failure in one of test cases in my cpuset >> partition test script. In this particular case, the CPU to be offlined is an >> isolated CPU with scheduling disabled. As a result, total_bw is 0 and the >> __dl_overflow() test failed. Is there a way to skip the __dl_overflow() test >> for isolated CPUs? Can we use a null total_bw as a proxy for that? > Can you please share the repro script? Would like to check locally what > is going on. Just run tools/testing/selftests/cgroup/test_cpuset_prs.sh. Cheers, Longman