Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1349562rwr; Fri, 5 May 2023 12:42:30 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZmtuWrQ6WF6gHOkiTcox3kQf71NDqvz7sR94ud5nhi4PxmEdfsTjCbbaleSoLhghk7Agr X-Received: by 2002:a05:6a00:24ce:b0:643:9943:4f8c with SMTP id d14-20020a056a0024ce00b0064399434f8cmr3599607pfv.24.1683315750168; Fri, 05 May 2023 12:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683315750; cv=none; d=google.com; s=arc-20160816; b=EFciivqChW8PoEBCgyBJ83ibWXyMCI33WpwDLzrdj/sM+x7KKQOt0InfZ403WbP7eo UeIzbqaxjcLOWANcRn90TgKMRNywaMsAJ2TnZRekryiKa1nS49SshCe6hQ29gQSefzWl L1a6N8xUtpCPyCSqo5t11iFZBXymXMhd8hE6LBXiDrWQn8NmiFhPwsmvPPe1PbAn6lzI Zfqr9Nz4E9kRbxDMJqgVdoHrgkja9CI7NeQRnjTohg1+UsC5+kl7YsmevMvTu2QJtAzA e8IKc3Yvw8yqSWMOs9QrCsWNsav02x7wU+be6WrJG5FqMwnmv8aUBNwAgtWdjxiqXI66 Cvfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=sVSEn0zAZchU0XRfzSqIlgEVmcktBBmYwcVkhQoE8m0=; b=l2qpktZPm9MOIiNgWiE2hiKchkWeLqxdnjR9zd628CaLV3XUDalLhBigbJ0op5v5uk oMCsgTwjTxK1jZ+q++mi6oz0ckaIHagv9ng6ClN8ETCNNqrnYv8leHi36QujiOtNQ/zq rEEXOPFtTwVIqIMVdTVuQcKIWuGhl6qLLzjFxKK0SiN2WYQoeD+BNZprpf8yLKcHRo81 CBOvq7gm+P0nGDXhKrcLlx2b9yilRbecWkkw2yD/r4R47+wezrCW8CwRXm8veekk0Lh1 nBdtEPsnJJKyX6O+Nk3YSqVxNYlpNQWOfwhSbmpF+iyO4PpcCvDTIkJLTteP32ukz4IJ IAsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=NYCDjIhb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 18-20020a621712000000b006435b9bd9f0si2710309pfx.45.2023.05.05.12.42.18; Fri, 05 May 2023 12:42:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=NYCDjIhb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233494AbjEETbk (ORCPT + 99 others); Fri, 5 May 2023 15:31:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233527AbjEETbL (ORCPT ); Fri, 5 May 2023 15:31:11 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 512D55FE2; Fri, 5 May 2023 12:31:04 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-64389a44895so1888967b3a.1; Fri, 05 May 2023 12:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683315064; x=1685907064; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=sVSEn0zAZchU0XRfzSqIlgEVmcktBBmYwcVkhQoE8m0=; b=NYCDjIhbaqBiOSrZ/jgxJYM++MvXfz+PziXmSOtlKBWR+5G4THFS2J6lKMYUL1ZtQp /+n4GUaL/F1C/Hv7nTbtNqmpV5z7VXvQWx9UHrXUzwrHiw35fgnlVMsX4I0PBAgfwjUG 2ooHt7ZJh9wgSGvg/SHA6DtoJe/kiJ3Goxylyyfi6fMcMRmKbUeOvYZthBVzGkBWoj9k uJVgHOEUm/rNXBynMU5Y//6lgXN9sg3cgtVtBR10M3kAWppabMcp+hGVLYpdWeVHjVxM ZN1GgSLgrsNe6E6j4l34bTX+odwC3ez7lEInB6MbvS/FpUYjCDfl5Hx8sxVirIb5x3N4 kDbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683315064; x=1685907064; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sVSEn0zAZchU0XRfzSqIlgEVmcktBBmYwcVkhQoE8m0=; b=BSV+aYjbMY+aZSPnYP/WXfNr7KMqVR6eIvx7PdnfpUVxG5MSBB8+yud2qzcIR3x0m1 uyqUZRurayZHB7MPQMflUTte6dpqihtui5kETLiuzbLQw/8QuMqXxWxTzJyc9SJCI4yq sQwGq9xgOTFimc/3w/0JvYbvs5huQTHvJQEk9aRVqItT/VsWeul4Y4yhxIzMqqStbF+/ CWY43WFb2aISHhoQhKyDUGudtNAlcYb1XMUCdpFJ6AAIDAHY4bUdpD+5igDUIHTKIotI XWlqb8U1gIqtPlLkcaACJd5QiTyKZhMjDWkZghU1tzsA/4gqn3WOGX/UTJK/cNw+77Tz egqQ== X-Gm-Message-State: AC+VfDzxlxPTzIcNg4Kw4nQh/uRrnRdVwcP36gXOAd24L/T0s0cj4Lck fYHIZIE8HQ2s8mIV2igfgEw= X-Received: by 2002:a05:6a20:6a22:b0:f2:bb3f:3b3e with SMTP id p34-20020a056a206a2200b000f2bb3f3b3emr3501654pzk.38.1683315063529; Fri, 05 May 2023 12:31:03 -0700 (PDT) Received: from localhost (2603-800c-1a02-1bae-a7fa-157f-969a-4cde.res6.spectrum.com. [2603:800c:1a02:1bae:a7fa:157f:969a:4cde]) by smtp.gmail.com with ESMTPSA id n1-20020a63ee41000000b0050f7208b4bcsm1976619pgk.89.2023.05.05.12.31.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 12:31:03 -0700 (PDT) Sender: Tejun Heo Date: Fri, 5 May 2023 09:31:01 -1000 From: Tejun Heo To: Juri Lelli Cc: Peter Zijlstra , Ingo Molnar , Qais Yousef , Waiman Long , Zefan Li , Johannes Weiner , Hao Luo , Dietmar Eggemann , Steven Rostedt , linux-kernel@vger.kernel.org, luca.abeni@santannapisa.it, claudio@evidence.eu.com, tommaso.cucinotta@santannapisa.it, bristot@redhat.com, mathieu.poirier@linaro.org, cgroups@vger.kernel.org, Vincent Guittot , Wei Wang , Rick Yiu , Quentin Perret , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Sudeep Holla Subject: Re: [PATCH v2 0/6] sched/deadline: cpuset: Rework DEADLINE bandwidth restoration Message-ID: References: <20230503072228.115707-1-juri.lelli@redhat.com> <20230504062525.GF1734100@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 04, 2023 at 10:17:41AM +0200, Juri Lelli wrote: > On 04/05/23 08:25, Peter Zijlstra wrote: > > On Wed, May 03, 2023 at 09:22:22AM +0200, Juri Lelli wrote: > > > > > Dietmar Eggemann (2): > > > sched/deadline: Create DL BW alloc, free & check overflow interface > > > cgroup/cpuset: Free DL BW in case can_attach() fails > > > > > > Juri Lelli (4): > > > cgroup/cpuset: Rename functions dealing with DEADLINE accounting > > > sched/cpuset: Bring back cpuset_mutex > > > sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets > > > cgroup/cpuset: Iterate only if DEADLINE tasks are present > > > > > > include/linux/cpuset.h | 12 +- > > > include/linux/sched.h | 4 +- > > > kernel/cgroup/cgroup.c | 4 + > > > kernel/cgroup/cpuset.c | 242 ++++++++++++++++++++++++++-------------- > > > kernel/sched/core.c | 41 +++---- > > > kernel/sched/deadline.c | 67 ++++++++--- > > > kernel/sched/sched.h | 2 +- > > > 7 files changed, 244 insertions(+), 128 deletions(-) > > > > Aside from a few niggles, these look fine to me. Who were you expecting > > to merge these, tj or me? > > Thanks for reviewing! > > Not entirely sure, it's kind of split, but maybe the cgroup changes are > predominant (cpuset_mutex is probably contributing the most). So, maybe > tj? Assuming this looks good to him as well of course. :) Yeah, they all look sane to me and both Waiman and Peter seem okay with them. If you post an updated version with the minor suggestions applied, I'll route the series through the cgroup tree. Thanks. -- tejun