Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4024018rwr; Mon, 8 May 2023 01:27:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4mQ0hv3grwBg6sRini0Ml6LbdazTV5/Ua9t1XjRu6W81v+CvRl2D+mxxA8Q3CZI8swjrdx X-Received: by 2002:a17:902:b94c:b0:1a9:8769:36b7 with SMTP id h12-20020a170902b94c00b001a9876936b7mr9891284pls.5.1683534439313; Mon, 08 May 2023 01:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683534439; cv=none; d=google.com; s=arc-20160816; b=awTWv0M81Ed4+xhwKS7bDkvqPMJUnrTD+V3EZ9q9XggevHpZHsBypW7l0olBUj1a/K uc3Wp8Ry/X3lMt9GHc3nDm8pd0og0mB0lCbOyHyjsGuPp1hUiDTXheavLBGRLJtErHNa Cu0gvAxsFBPi8Jpd7fo3abOh3XFmyhXC3wECTyCLkHj2DVfWCw8fioeBdVbXd/l351is YusO9TBVoREGFdOEEsGM2jTpqKVMSy4OJF9aX54XVQRa1vWhQUMEe0EFihBwrux9zNSK gn2GjK4hfu5hM2wtDa8aJ3ef7NBtCdR1/HuWfKUVtv5ld8RAFKSQF2j1b4GrEEi0nG6D b3lQ== 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:dkim-signature; bh=+MFXAjFUnD3DQtiGulvH5viQWsTkaor8wEAJr5G/4CI=; b=qPnRydnsmE0Y15StqK6OuA7y2/ggzm+61pXZ9pLsF8pz3v/AYx2tv1mSOkvtzYkjZG t0pkb5M8DZHu72M80MSuqactjyeOQniXVVmt1leQob/bifGvYZlJCFV7+m0agUl62Br5 Bhp+jQiEMiItnH5dOjLiNPreZuV+5U3LgRKDoszM5Ud+E9avyqb3Acr2m/2rc8K/qXqh Zh8SJvFxUDi0sQsd0x9XsLyBOqTpmugGankXAzP2IeTEPA9eKhkMoeYB0o9Gfk/BU20X C02k76GCWTp7Xp8DlLO4Jaa5vqdJ124VN4z1WJRYyoG5/4RsS+8rolmXbaSbqed0NH1w xlOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=itW82Eut; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a17090322c100b001a974fc86casi7940135plg.592.2023.05.08.01.27.03; Mon, 08 May 2023 01:27:19 -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=@redhat.com header.s=mimecast20190719 header.b=itW82Eut; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231857AbjEHIEa (ORCPT + 99 others); Mon, 8 May 2023 04:04:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjEHIE2 (ORCPT ); Mon, 8 May 2023 04:04:28 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C9E49032 for ; Mon, 8 May 2023 01:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683532976; 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: in-reply-to:in-reply-to:references:references; bh=+MFXAjFUnD3DQtiGulvH5viQWsTkaor8wEAJr5G/4CI=; b=itW82EutQJUnTDfP5ltBGXdaLWHhXC7491+wduQJ1XIQHTRINmW5LDisQu2ccnYth//jPT Uj7s3NxQ7mphFTw7xxLfTW+InYZyc7Ai0GMsi4a2LY4xwjZwhyvfPWwYYAH7b5RWDFxqHl PJQn7mEEM5e6M0hey15XtO2+H6QWu5g= Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-610-7qoqv35wMJqqvlkIyKiA2Q-1; Mon, 08 May 2023 04:02:55 -0400 X-MC-Unique: 7qoqv35wMJqqvlkIyKiA2Q-1 Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-75782401b13so49844885a.3 for ; Mon, 08 May 2023 01:02:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683532975; x=1686124975; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+MFXAjFUnD3DQtiGulvH5viQWsTkaor8wEAJr5G/4CI=; b=HorW3cL0WayExOZt7JzOwods9E5zHdxLk/WMvrf+QYVKMmJy0wkloLtm5S5/qondPB be7m8mv8S/sob+TEnRl42E2uCW9fBQcT1XCoCulWyJk2YHuERVmRqCPeeS9gFHQgiG2+ jJ6nK8OS0l+Uuh7Ts6bdzDUywePdKS0AStlRrlAvkp2QIrL4VEfa6DuomQ5zLcKHtdxl iztoTB+IdQHU2z2IGOsom3FhcCpqQuZpqyEwTPZydo+LwoO1QjgOyZR9DFiCmcdPDc16 AJpohcAre9ks/f1wx/Yqua5ySXdRPIUr3JKgdwqcgXIboksy46RohJtwKO+bv72/D43k F/bA== X-Gm-Message-State: AC+VfDwupUzwFpjfn8gP9CLs5W+PMPbabn61fHgy/MK0VbQ4DEExGxxN KpkI7rm3mrjlMd6s7ScyagRUcJXytHvFAvuaQXazeHVUJ6b9BuVgn1QEL7z0m4wWnaP+ZVKUQ1+ dcbqlBNQRoanFp1CZkvtcC0qa X-Received: by 2002:a05:622a:148d:b0:3f0:daab:f24f with SMTP id t13-20020a05622a148d00b003f0daabf24fmr14276608qtx.68.1683532975217; Mon, 08 May 2023 01:02:55 -0700 (PDT) X-Received: by 2002:a05:622a:148d:b0:3f0:daab:f24f with SMTP id t13-20020a05622a148d00b003f0daabf24fmr14276585qtx.68.1683532974860; Mon, 08 May 2023 01:02:54 -0700 (PDT) Received: from localhost.localdomain ([176.206.13.250]) by smtp.gmail.com with ESMTPSA id c11-20020a05620a164b00b007468765b411sm2400053qko.45.2023.05.08.01.02.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 01:02:54 -0700 (PDT) Date: Mon, 8 May 2023 10:02:46 +0200 From: Juri Lelli To: Tejun Heo 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=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Hi, On 05/05/23 09:31, Tejun Heo wrote: > 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 for reviewing and eventually taking care of the series. v3 just posted (20230508075854.17215-1-juri.lelli@redhat.com). Best, Juri