Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2672137rwd; Fri, 16 Jun 2023 06:53:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Lh3PwmGRX/7C60O1aGdyqbcGiJphFeLYC9Ric39PRYk4ybiOFC4+wUcSxyRuzqHIEhpgy X-Received: by 2002:aca:1206:0:b0:398:2b60:dbf4 with SMTP id 6-20020aca1206000000b003982b60dbf4mr2343707ois.19.1686923597185; Fri, 16 Jun 2023 06:53:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686923597; cv=none; d=google.com; s=arc-20160816; b=Nc2ohzGBuPT8lfn0KwHa372jUfpLP5TrmgnXDFLRy+i9aHm4xTLzEhuyq+PGqu9WB/ xPF5HBGMOuxOGDRwH8b+ZC7heIDreo+zORycqlpbOsCiKfsb2FpUqiXA5dDz0V1dBIM/ dYy+2Kr36QXxSgdtslPfSdyMGLx2CHDe+yFZHuOBk6+Ym/NsZZ1oB34C31jptY92rDJC YepZcOzUPv4ztEOnS1CFz0uph4XBgejEiUwTvVQVRe2B/ungUrdKaZ98c+vlGsu8KC+0 DpLNlb934q+W4uWVzqghHn4VkpLNVjFVSU0XAUCNxZliKo/c5BSfbVNaNGicT/5hMwde fuaQ== 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=IAe1OrIyWEFnwZDTe546YOQM4N0IfwEjPVANZHzJGYU=; b=FCatciI5Itd2nrf2ML53uo6z/0U7A7AY05YfvI9gNCwq0VJ58JKrECKhIvKwpg4Cet SPHSQbb6CBAMMbQqu6ERqtiAXCOtWyU9hGR+6txu5uGEQDdTUXAhMwfv3bAnrctIkm+9 LvnnfYvGSdUgP6vbKOxFPAjBqNvlEPtWsNu1v/4zjaQVdGEkQu/g6vmHfy1rHn/KeUyp +LdwQzMxyo2BwHqa56OrmWVquFT0cm0CJJPYTS0OL0PUMKnvJriDtsiwzMnkX4RcvN9/ 1GcY4H6KP+pZYkrIx1rvU7RqxYwQB5vqce+/J2R53EQpalreR8tkraENnBD3H6enntpf vn5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=WzO4zfX6; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id az9-20020a056a02004900b00543ae670bbesi11525207pgb.794.2023.06.16.06.53.03; Fri, 16 Jun 2023 06:53:17 -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=@infradead.org header.s=desiato.20200630 header.b=WzO4zfX6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233955AbjFPNdf (ORCPT + 99 others); Fri, 16 Jun 2023 09:33:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230209AbjFPNde (ORCPT ); Fri, 16 Jun 2023 09:33:34 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B9241BC3 for ; Fri, 16 Jun 2023 06:33:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=IAe1OrIyWEFnwZDTe546YOQM4N0IfwEjPVANZHzJGYU=; b=WzO4zfX6tEeZvwIhrppvLVDDF5 YlLY7Nwjd4cn4hexblx7QDMyEsB0TFby0xiIF6IEjODJ8LX734ZKPqXuwD0fuGR1lOagPaN5Jpwx0 UwjGswzi0g0iKZfJWKiKWUupfgdbpJjtiF4438qpH7m1C1FTfxJWvafVAgz3tkh2GIFsOIw2LPsUF yCLeZbW+ZvlZ2gYim5LxIe4XUgImyg88aup12tyTVhxTSdH9k5yopZtPnpaQTrQtyNvn0l5nlfoKe l8cpv3UZwU2yMz/R3ubVX2IE7jB9g2ikaxQGridfDizPhI6DauO1HMXymWR0ef6ikNogKXZAkjsjc XLH2YGuw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qA9Zs-00CvZx-0K; Fri, 16 Jun 2023 13:33:24 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 81C703002A9; Fri, 16 Jun 2023 15:33:23 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 65998265FBB8F; Fri, 16 Jun 2023 15:33:23 +0200 (CEST) Date: Fri, 16 Jun 2023 15:33:23 +0200 From: Peter Zijlstra To: Josh Don Cc: Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , linux-kernel@vger.kernel.org Subject: Re: [PATCH] sched: fix throttle accounting with nested bandwidth limits Message-ID: <20230616133323.GH4253@hirez.programming.kicks-ass.net> References: <20230615201252.1009678-1-joshdon@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230615201252.1009678-1-joshdon@google.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Thu, Jun 15, 2023 at 01:12:52PM -0700, Josh Don wrote: > This fixes two issues: > - throttled_clock should only be set on the group that is actually > getting throttled > - self-throttled time should only be accounted on entry/exit to > throttled state when we have nested limits > > Fixes: 88cb2868250c ("sched: add throttled time stat for throttled children") > Fixes: 3ab150d011da ("sched: don't account throttle time for empty groups") > Signed-off-by: Josh Don Hurmph, those are not the sha1 I have in tip/sched/core. Also, should I rebase and just pull those patches so we can try again?