From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juri Lelli Subject: Re: [PATCH v2 0/6] sched/deadline: cpuset: Rework DEADLINE bandwidth restoration Date: Thu, 4 May 2023 10:17:41 +0200 Message-ID: References: <20230503072228.115707-1-juri.lelli@redhat.com> <20230504062525.GF1734100@hirez.programming.kicks-ass.net> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683188269; 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=Crz7SVqLScSwCZtKT1O0mIOH4ecEo3dE2+AhPDuZk1M=; b=A5OpTG9qfRRJBZbEvQE9vw//p98yQcMROL0UDDloQzVeE30peqIumY63Ui7CcLhaSE8bw4 ChevWVwALne7n9w/V4/lhmLtlp4hZDxZAZOYP0bA8qC1wW1SuSy9pQKIM4k0IaIP46Z92E 93t39G4asQLHmhiR51Zmg9wTMgyX+ZU= Content-Disposition: inline In-Reply-To: <20230504062525.GF1734100-Nxj+rRp3nVydTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org> List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Peter Zijlstra Cc: Ingo Molnar , Qais Yousef , Waiman Long , Tejun Heo , Zefan Li , Johannes Weiner , Hao Luo , Dietmar Eggemann , Steven Rostedt , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, luca.abeni-5rdYK369eBLQB0XuIGIEkQ@public.gmane.org, claudio-YOzL5CV4y4YG1A2ADO40+w@public.gmane.org, tommaso.cucinotta-5rdYK369eBLQB0XuIGIEkQ@public.gmane.org, bristot-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, mathieu.poirier-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Vincent Guittot , Wei Wang , Rick Yiu , Quentin Perret , Heiko Carstens , Vasily Gorbik , Alexander Gordeev 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. :) Thanks!