Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2584908rwd; Fri, 26 May 2023 08:24:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4mpazYG19UP8RmmG67wEv0fyKRQ/UoaGIDp6Uw4UKllAwOmQ5Na5WP92VepJLMJg/050YZ X-Received: by 2002:a17:903:22cd:b0:1aa:cf25:41d0 with SMTP id y13-20020a17090322cd00b001aacf2541d0mr3514036plg.33.1685114662940; Fri, 26 May 2023 08:24:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685114662; cv=pass; d=google.com; s=arc-20160816; b=tsTSdHKzlqDZx/oWeP8O1x2YRMG/Q0SWjvceQ/pclsG919vx/8lSWw5poXNuwz2ve2 aCwa180h010oo2wlV7L3sAWL4qyCI/81NL6A+iFXkUZ1ZSUwNMOOo7XzEVgaF/kGZ/6O mVT1+xbQ8NOqAPCpgNZcwVHR0kjMPKfWzCK+H/YDHqfxauqrAD/ul3ugT0Lk8pjYT7M4 yPNT/MF1OfhK5g6YuL/Tr/DL6Fw6+ofNTl9ePy+Znv8nE2cOBhhLDqPccs0JOOBwfKQ9 uPcefI4wtMYKz2n5GfNbO/BHjYLrHb6mtuBOaZeHj/zsTZu4bKYzHUa2wLWNW7+Oij78 Z6+g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=CiI/HWKXnaOx8H9kMjTBdFgt8b76HgkLrN6/Tc82JK8=; b=H6JfhOBoAArHi6VNGOMNiVRx1tLIuxkORPw0iQsQ0kJOYBu4kcSXmDMoAntt+I0nqO IpNManK0FLw5LSCGVWbt65O8bpaxV4mkVEfG7Pvqwl2PyUccUOVEkUan9GDPp148bWUE 1wKOZsrNB0v1xmGdFE2wHeFhSduF0DPHK5Ci0WK0DjymEN03Owbz2lXdM45g7Ql8xm/a 2x7rrknZa5HTUK1FjwjIKHEUUOHmqC7v0ZiVaPGhykhfGxY+Mqb38LC+V2NhGwQGEKzg +DhvEZo8GhoXL6WulsdajUPK8PfEGfVYj1ui5taZ6hxscg1DAZIFpB133wq6tssQoxAn 5MjA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@santannapisa.it header.s=selector1 header.b=WSS3iyIX; arc=pass (i=1 spf=pass spfdomain=santannapisa.it dkim=pass dkdomain=santannapisa.it dmarc=pass fromdomain=santannapisa.it); 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=santannapisa.it Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n15-20020a170902d2cf00b001a9f42553dasi4664414plc.614.2023.05.26.08.24.08; Fri, 26 May 2023 08:24:22 -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=@santannapisa.it header.s=selector1 header.b=WSS3iyIX; arc=pass (i=1 spf=pass spfdomain=santannapisa.it dkim=pass dkdomain=santannapisa.it dmarc=pass fromdomain=santannapisa.it); 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=santannapisa.it Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243971AbjEZPS7 (ORCPT + 99 others); Fri, 26 May 2023 11:18:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243956AbjEZPS5 (ORCPT ); Fri, 26 May 2023 11:18:57 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061.outbound.protection.outlook.com [40.107.21.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76700189; Fri, 26 May 2023 08:18:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YhikdtjRZq2QPR3uo4nPh4vuQM0Th8jvosdx8OcdyVCx0YNzNQHQr7jrs2zn6+UgvvI4O9JF30a7G9GwClmXOGDPdxgAS55gM2v+qxDrln3EhiN+rd0JtFhDf7KbUX2kHKSjfD09XpsP+AQDbdlNKk3Yq5cIIdPAdSMkgWRga8xJ7gLfHMHZWiRQWCkyNvaZro+3vleYSHXb6ootVoM4NnVMsuPQvMb496O7NY2VjBwDteSyjgocZ8qaaBBEhqQOedmZoJk2AoYzXCKyYTjiUOOty3nnHVZ2n6Emq4Ubkue8ZbPw04G7UKGnJxsxZD5RblBP559mSssZAV/ixyEahA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CiI/HWKXnaOx8H9kMjTBdFgt8b76HgkLrN6/Tc82JK8=; b=A72MuD1OrQ//qCQXMPRlxOptthh43/8qDJrm8yU7bN9XhHV/2amehSEyHYkI2nn8prb7RdWlQLzex6UgI50j3hWOQJYP2QKxxMg7GfY3VZ3E5Zg8uiftg1RCcVyPoKn1Xwl425cwC98yPS6GNaO2KZVfz41QsqUij+poyyx8gk4zFKC1o0CFiMQXJVk17CkUYt1INbtQWTifa5fHjtGqPTXKcVK3oauC3hxR4phIgqMCpYtNYR20iOkRdoMKAliYxV2g7x3gPiCRAdM8Hsgr7GGg1fYY1J7ytG8iSZe8DSaYJraDdRUG9jX4QKDzcUXb2tf28mowkFsjOki007z5fw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=santannapisa.it; dmarc=pass action=none header.from=santannapisa.it; dkim=pass header.d=santannapisa.it; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=santannapisa.it; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CiI/HWKXnaOx8H9kMjTBdFgt8b76HgkLrN6/Tc82JK8=; b=WSS3iyIXqM36uBOL2OYySEvnbtjMXKnK4D/ceuNkptwYUDFReczQ1DXbi8iYRJyLCGhtoZgpnF0aMOWERheBh5WTB3+Gn42GwKqyX/zu7w38KNlO0MuosCe3UsbKSaXrHW/2XfT8DN7n7oJIxun4e2hiuh+vz3pbrD6pio9nE3k= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=santannapisa.it; Received: from VI1PR03MB2880.eurprd03.prod.outlook.com (2603:10a6:802:2d::21) by DU2PR03MB7863.eurprd03.prod.outlook.com (2603:10a6:10:2d2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.18; Fri, 26 May 2023 15:18:47 +0000 Received: from VI1PR03MB2880.eurprd03.prod.outlook.com ([fe80::8925:5293:e478:c934]) by VI1PR03MB2880.eurprd03.prod.outlook.com ([fe80::8925:5293:e478:c934%6]) with mapi id 15.20.6433.016; Fri, 26 May 2023 15:18:47 +0000 Date: Fri, 26 May 2023 17:18:45 +0200 From: luca abeni To: Vineeth Remanan Pillai 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 Subject: Re: [PATCH v3 2/5] sched/deadline: Fix reclaim inaccuracy with SMP Message-ID: <20230526171845.698656a5@nowhere> In-Reply-To: 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> Organization: Scuola Superiore Sant'Anna X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ClientProxiedBy: ZR0P278CA0008.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:16::18) To VI1PR03MB2880.eurprd03.prod.outlook.com (2603:10a6:802:2d::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR03MB2880:EE_|DU2PR03MB7863:EE_ X-MS-Office365-Filtering-Correlation-Id: d0b2105c-4226-413c-32b6-08db5dfc80bf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gd71YbXu+XK/BcM0XQvpVxgOVPwCq6mOZPYTD8/jnQGIdgpfiay1Kh9I0DoQQw9+9H5u6DZI+vWpTL6fjpFTctahbvqUOSTss00ku/1wfklHs18F61BhLs3A5SoC7wuwCaW6pdi6Dbb+xetXBoMmYZuCv0Ma4QGfm5sQWqr8y0hfQZlhqX2VkUW/IMbVBlcI+yq81WguC1do72mGQbss/NdL2xkai3WORzitXONLh78b9bsRhtQJ1+Kgjz360c+lmodk8UVUvUHVraLeYRWtTZ7c+81gmmSlSb8W7iJ3PCK/kDDu1kUoTzQIAXM6B78QT6zDhoW07s5zLIyGr7bQGF5mfi5aUTzdGjxiG/5MpzJe4spemLIPtt1XCFM7AA21wOyV4P0UQmpPkwFBh1XaiNYxlJ5OlpNRgT2p1Onzr22eFrUZq4vvoP02NFhbrbujLf/ZIveBpU4cMwFftk5CGxYCZJfrucKxqUOW4nE4GI3XaqqEc9nnGu7TmQ07cbNLSmTx1KKrksrzYGM5pv9eWiIo16Zd4OuclRmu3e52JXLNCjoxzJCBSnb45aFIMjOB X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR03MB2880.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(7916004)(136003)(376002)(396003)(346002)(366004)(39850400004)(451199021)(38100700002)(7416002)(33716001)(8676002)(8936002)(5660300002)(478600001)(54906003)(41320700001)(6486002)(316002)(786003)(41300700001)(36916002)(83380400001)(6916009)(4326008)(66946007)(66476007)(66556008)(2906002)(4744005)(186003)(86362001)(26005)(1076003)(9686003)(6506007)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?D3eYBKJXRUq+Bue1ncpugsP5jYD9l4jspLlcUDTdAJfrO9uHNOOlHVIM4/U7?= =?us-ascii?Q?RUSJM/OENKADVzyG5OaQJ90RXMLQb+wvLv1WJYBtKnnOBz//y9RJEhDS5Bnh?= =?us-ascii?Q?juTLTgMtQBIy2aJe0M8iBNsmILikd47zOiLmbq6p6xVBs+m8dYFRi7O1Qb8O?= =?us-ascii?Q?Xj27s8jP2zoPlRrK+PHXWT0hP6p6A/I5vFtecwIBh5HLs9qpbBaI4mOHsigD?= =?us-ascii?Q?jAyppl3uJUjuhnWteEh9fdq0YUVrbOv/N8/rVE1iZdzKyVGhfhH+6lOi3Lda?= =?us-ascii?Q?bAj2coe5AYv31V8sqxoMUmVNm4zh+6cU86B65vKKshurfH13haAXjF6JiQsE?= =?us-ascii?Q?FCcnhCGi93GaSLpJhdbYQwF8OvABDOJpkrfunNhb7KvYu0dCzDgz/y38c8Nf?= =?us-ascii?Q?ex6ysXSrZWjIijl0GL0UrxIbkegbGVSn0o+u+2tDkChtUkg6HP8G8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RE5Lg2HWMTS2T0aG+TOPsPsLPLoGVibmQWTdLXrgkID2?= =?us-ascii?Q?nge2LgBPENarLVrCBfwh9I1hNH/hlhh9oT/AbsM/X7Bul+9iQ2yoUPZf1t76?= =?us-ascii?Q?VzCUejQKoBsiQu7gCASxcAZMrkPJmHZ1Z/m3tXXbS7qty7Xa96h5mVt4NtLu?= =?us-ascii?Q?cZmmyF2g+vedSF9kZ/B8BbnrPeSqHcR9KMJ3iRC3ggSxRg9JQOnVhnpIhoes?= =?us-ascii?Q?hw+TKsFDT4NB+w8P6F9Pnw2IKM7gTwlp5Yfv9sYvsNaP+/5BvFCTaW8J0Zqu?= =?us-ascii?Q?sA=3D=3D?= X-OriginatorOrg: santannapisa.it X-MS-Exchange-CrossTenant-Network-Message-Id: d0b2105c-4226-413c-32b6-08db5dfc80bf X-MS-Exchange-CrossTenant-AuthSource: VI1PR03MB2880.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2023 15:18:47.7850 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d97360e3-138d-4b5f-956f-a646c364a01e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LyIMAJ75yZ3f8+GqBiW3izhg0V9Ih2zuLsLqW/wx77L5lanvBRhjrCsWNQllNmlg504C7m145cOh5LE/YzgmGfh+Kr9epJOVz2qBzatNFSA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR03MB7863 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, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 On Fri, 26 May 2023 10:54:09 -0400 Vineeth Remanan Pillai wrote: [...] > 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. Looks good to me. And... Thanks again for taking care of this issue! Luca