Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2585295rwd; Fri, 26 May 2023 08:24:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5dZNPGN/dtkhw9AYBvD5dS+FIN8Wa8S9eCF2c3SEFy37Vpo5Wp6iQauEN6Q6gPqmDAbiMx X-Received: by 2002:a05:6a20:8f24:b0:ff:8d85:9f24 with SMTP id b36-20020a056a208f2400b000ff8d859f24mr2737772pzk.50.1685114682755; Fri, 26 May 2023 08:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685114682; cv=none; d=google.com; s=arc-20160816; b=AICZ/9MrUwO+Xclo6SHiEoLo8cErBrR+EWTsGLGghBEp+/ntHAWlnoYmpjlCNlarDQ ulraMNwkU1LNPf0PLSPsDg1XeHzMUJOchfkkDmyN35V6c5YbfFW79mDyk/eluyTnCXGD eb2NrU9E3OFB4r4hj3rE123XCCc32HIOevkqG0sDA2dMB03m809O17IaJXt4cVT3PfRC 8tkF1Q91SP8p17kT3sM7MooFtEtKlAjVf406A51+3BXb42Z1y6fyfqxjc+Z9wyvQTYPA AEACdjzFzowi4s+3T+AfAEMizWl45ZKZZb1rpRUmxVU17RGui7VbYubd5hPh0+8h/7++ XEig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+56fY/5+2HGaZ2hqcCU8ZKhJQzE36DT9siXObgPb4sI=; b=vP/L6Oat69uAiRifdzHbwpIJG1/l1m2fCci3dh/lJNeFKiPmpB+/LKfGVNDzFrHHxg 3e/dlTNyVkGua5kwa219Fe6qZuAkTBgaf6tpSnP5XD592pJGfioUx8X7eSfpaqSk0UyE tV58leUQAajHXeqGVZuq2Hp8+W3fClBLU6nCiQyMuhB9fZjNyJcvuqhu2iKOS3P0dtsk Zxy/CEhr2u9fpKiBjFiIEaYWym92/Pnkf8QUYFGTiPON73giXYdlvKsJN2sNgpFl5BO0 oKlyrP/n6VoGpJORtbOCZUl1Kslu7RWr1wZ8+eJSW6qNA2T5Uwut0STipk5AmnjpfSzy vfFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bitbyteword.org header.s=google header.b=SEtT0oQS; 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 bv4-20020a632e04000000b00536b4c4b695si3891183pgb.136.2023.05.26.08.24.28; Fri, 26 May 2023 08:24:42 -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=@bitbyteword.org header.s=google header.b=SEtT0oQS; 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 S243906AbjEZOy3 (ORCPT + 99 others); Fri, 26 May 2023 10:54:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243953AbjEZOyW (ORCPT ); Fri, 26 May 2023 10:54:22 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 881CEA4 for ; Fri, 26 May 2023 07:54:20 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-3980c92d8d6so587687b6e.0 for ; Fri, 26 May 2023 07:54:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bitbyteword.org; s=google; t=1685112860; x=1687704860; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+56fY/5+2HGaZ2hqcCU8ZKhJQzE36DT9siXObgPb4sI=; b=SEtT0oQS+/fYOqtyGxZV+9T8fQAcpAAz8D+5UIIbdwLy/e03Eyw650js8GGTl99QJ7 S0QPylmP8Wawzc7usyDjLPFQnn5/VjVEAh6PBarGE2G7wYHQKXKws8jQAcS/4IGZXdw+ 6aIly0yimW2hgXTW9xL2SrEzt6xKhitlAIhCfg2pOl3fH2tKoIJhUuaDqvookoNEMUvK WidId6TRRPEjDugBLtT5ErJyIKExi96NJb28feeEJrPBGitxjFvnqvACWjXHxndQjx/q ojOqiAwdZS8FoyvDjIrwE9g1dmCNZmD/FzGFo+3iIaUmZhwmgUbQc5sM6Z2zyHdGl5lx mzeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685112860; x=1687704860; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+56fY/5+2HGaZ2hqcCU8ZKhJQzE36DT9siXObgPb4sI=; b=L55xDg9Sqa1IpS+4QVBDn8B76BoJ7zJVY+0sHeTvtiCTDeVA+EBGxsTHuU9udSIcHY fL2HiYBgeWiRKZ+BXaTzzRxvLVB1ffRv5kPdZUXdPJ87NGWClbkxjqcrWGtmyqCOP5/d o+iRmsRiV/dp07i2GMhzomq33eF74uPHiGeBTZ/BAmkv3UejpFaoNT7JrD/jIRwuBPx6 UGt+vwvZLHupcAtRaKNsYrfbouDMVA67vmF+dBuU/hyMlmNipWfHGqjMSxM6xfa3qFpk ETJB92u/OOm4xKW/tgCAty8AC1BgxV1du3IMpTM/4ANGrH8RhYuJEo7texq+v/0V2m4X oaKQ== X-Gm-Message-State: AC+VfDwb+pQJFykWIM29AhgoNYi0Tcp0sasIYv908P4e6s+jN68X+iWk s1ClEIkxt4jxawVEGPpfGil6Fmtg0kQ9mFEd7o8tTg== X-Received: by 2002:a05:6808:7c2:b0:398:10ad:e83e with SMTP id f2-20020a05680807c200b0039810ade83emr1068039oij.1.1685112859881; Fri, 26 May 2023 07:54:19 -0700 (PDT) MIME-Version: 1.0 References: <20230515025716.316888-1-vineeth@bitbyteword.org> <20230515025716.316888-3-vineeth@bitbyteword.org> <20230515100616.33ba5dd9@luca64> <20230516093729.0771938c@luca64> <20230519115621.2b3f75e2@luca64> <20230519121804.6c85a3ed@luca64> <20230520115857.3838a7ea@nowhere> <20230523225831.60d75b38@nowhere> In-Reply-To: From: Vineeth Remanan Pillai Date: Fri, 26 May 2023 10:54:09 -0400 Message-ID: Subject: Re: [PATCH v3 2/5] sched/deadline: Fix reclaim inaccuracy with SMP To: luca abeni Cc: Juri Lelli , Daniel Bristot de Oliveira , Peter Zijlstra , Ingo Molnar , Vincent Guittot , Steven Rostedt , Joel Fernandes , Dietmar Eggemann , Ben Segall , Mel Gorman , Valentin Schneider , Jonathan Corbet , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 Hi Luca, On Tue, May 23, 2023 at 10:11=E2=80=AFPM Vineeth Remanan Pillai wrote: > > Hi Luca, > > [...] > > Will send it out tomorrow after a bit more testing. > Sorry for the delay. I was trying to fix the inaccuracy when normal and SCHED_FLAG_RECLAIM tasks are present. Its a bit complicated than I initially thought as Umax_reclaim and Uextra needs to be computed at the root domain level and this would mean more locking. I have a patch ready but I think I need to do more testing to understand the performance implications and it is better to batch it as a separate series. So, I am just sending out the GRUB equation fix which is tested well and I am confident about. Will send out rest of the fixes later as a separate series. Thanks, Vineeth