Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp428980rdb; Fri, 6 Oct 2023 07:40:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IENge1RAtUytvnrhU5aNmrHg5ABxa3CSEDYrXhscVc/njEWydXwCAlZyMvHSqf6wcqiv5nM X-Received: by 2002:a17:902:d4c9:b0:1c7:8345:f377 with SMTP id o9-20020a170902d4c900b001c78345f377mr9684650plg.29.1696603219370; Fri, 06 Oct 2023 07:40:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696603219; cv=none; d=google.com; s=arc-20160816; b=dYiANGlRYeXhO/AYo+Z6vcp/StXjg0CkL1hjSwZpR9OrrKqRieZBo6PSQafnfcwSe2 RcLUEN5VjO4TuJlL+HLfsavPwa67DZPioYweHWE53MS4ixzcKDUf+qtpvh8ExeGLoZvq pLhNhNuPWx09PUuorTS8RDB0b+V8smwKUc5MmK6DrHQxFwJvPmtxoxwxbN/8Mt6jmLVn 4f3CdobCwyFtewbdfXB3dafJ4VQ5i/tY92bkglrCl8/oU9EcmrmnwqO5Arr5esOcOFqI qZKfyPq8qiGvlLUwfcNaMj9f3vb+cPyzcus0sIWH5WdP/zNve67yW1c/8zt6w9Ha5aAL C/5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:user-agent:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=uyKkMAv2SNoQN2bEpLkkMg1n46ANMAgMXEQYZ+D3pLc=; fh=1hb5F/yv8MhpiHYYoJRVbhnTtxsygM44K8C767pjqI4=; b=bw2oTGHP8WL0x2n8yybClAUlV9JcV1S7RldFLYtAkSNb8dSodRK1TS6sSy6mRGJFDJ w1FCQR6nwTHfRNkMsYhr8JkWpep4ZkqhtFSJGxdnli/d/T1yBrUaNtK9BSzGFwAiSB88 WatvdOhNUukOzn4NFM2UkhNx25la6V7Gd7LeolDsIiVaX4lI0CPinKBpRWzHQ9+Ikqy5 sRuS+NyXKVJacsIy4Al2sar8UIQH5PdztSuJQao3zd4YdNBGbbcKrCStH7cd7iwwLctd 24cERW5SIrj85WqTQc1TiE5XRTKyl5UgigdS884WHf8iktYignF6qwkyrzUhDEpaBPGt ARfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b="Z5k/qWRz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r17-20020a170902c61100b001c5fd2a242asi3615582plr.363.2023.10.06.07.40.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 07:40:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b="Z5k/qWRz"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 136E682E53F0; Fri, 6 Oct 2023 07:40:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230158AbjJFOkO (ORCPT + 99 others); Fri, 6 Oct 2023 10:40:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232554AbjJFOkL (ORCPT ); Fri, 6 Oct 2023 10:40:11 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41053CF; Fri, 6 Oct 2023 07:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1696603153; x=1697207953; i=efault@gmx.de; bh=6ocLe5mCpj5JliJZmmhdjcr12lLq+uiT5TG/FZLfMO4=; h=X-UI-Sender-Class:Subject:From:To:Cc:Date:In-Reply-To:References; b=Z5k/qWRzGM5sOWULHpHiQjfqVtnhENB+PBzY/c9yx9b3si9bzWJNIdLCXdBuJuTl8xq7vVLwkGK RMJ1bt/4Tv4YrUAHfgA5sPy8sq7l7qCeAYKJkIdU3FtlPzrt95zYymCO54FsNap4CCFL5AT2RdLHy XBkEHI9ISTqag7yh67FzUJId1wDkMcNKrFz60rg9I73jwnWGz2ucMgLHToqb8m0TUQzEXv+AtdWkE jPTC0Xc2ttTxxPcN57vbTpm2r3YLXnnak+Rxh12dcd84Wu7hCSpN8rybJ5ZAUsP2SQZjT0w+omnRA ZcJDxKIhLcUMw+ctNKEzzzAXxN4b76ShJvfA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from homer.fritz.box ([185.191.217.82]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M72oB-1qxGpi1FWh-008Wwn; Fri, 06 Oct 2023 16:39:13 +0200 Message-ID: Subject: Re: [PATCH] sched/fair: fix pick_eevdf to always find the correct se From: Mike Galbraith To: Peter Zijlstra Cc: Marek Szyprowski , Biju Das , "bsegall@google.com" , "bristot@redhat.com" , "chris.hyser@oracle.com" , "corbet@lwn.net" , "dietmar.eggemann@arm.com" , "gregkh@linuxfoundation.org" , "joel@joelfernandes.org" , "joshdon@google.com" , "juri.lelli@redhat.com" , "kprateek.nayak@amd.com" , "linux-kernel@vger.kernel.org" , "mingo@kernel.org" , "patrick.bellasi@matbug.net" , Pavel Machek , "pjt@google.com" , "qperret@google.com" , "qyousef@layalina.io" , "rostedt@goodmis.org" , "tglx@linutronix.de" , "tim.c.chen@linux.intel.com" , "timj@gnu.org" , "vincent.guittot@linaro.org" , "youssefesmat@chromium.org" , "yu.c.chen@intel.com" , "mgorman@suse.de" , "linux-renesas-soc@vger.kernel.org" Date: Fri, 06 Oct 2023 16:39:09 +0200 In-Reply-To: <20231006140042.GG36277@noisy.programming.kicks-ass.net> References: <20231005150258.GA36277@noisy.programming.kicks-ass.net> <553e2ee4-ab3a-4635-a74f-0ba4cc03f3f9@samsung.com> <867f5121d7d010cacf938c293f862b0cea560ec2.camel@gmx.de> <20231006140042.GG36277@noisy.programming.kicks-ass.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:ca1uBg7Wi+TN1pRX0GlOPnh7bWQolkjBVxxjpAPAi+VGC0DNzS4 mIgEv+WCHzb6okNBF6pFOohK58WcULpma49+ZYKifEP8UwMDcWOtnX63lmxQ3QEFpKChDiz oMJXMgVxu1tfgqRXCV9j0ZEJRBfIe2hL0p7ziY7LNGievsqtELlOYqXf32NBnB2FtRYAPcV Ypnyt8x1gHr5ko9TqApkg== UI-OutboundReport: notjunk:1;M01:P0:lOAnfQNL7L4=;97F/blw5sAmXcOy4IQxvmmsUqt/ R6ZfCTYXl/Gkc0NqF2dUNEavmBaEAK0C8SwxdjirUnPRySPqU5mKyw1YCrBKMbyBPgHFAqbpu Pb1Ti94zdsaX4jEH5e6PD0w1ovst+q5qRAzslSmTyH3S+7NdSwz5NukjOMO3H1d8tTCLUFi+c bvEK311b7QNWga0Xqayom8lxCX3pAfTE1AW598IMUYF8h8bfVUqRuaqx+eodiCwOHGk5qH7nL c9afeQR/Iav+QH8d/rTYQZaA5Ob1Rg3wmvG1Kn17pS/9vE60q6jzQihv6PYQjFWz0Un6GdlQ6 VyG8qzRnYYZ4DwmquO+604bdJRF5nbEWP1FNx4T+W7zntEYsna8tP85d0HUxRANRlW+EW2lm0 c9XipsnCGoZ48p1P09t+UGIha0LZhm8v2QcNH8uRg5zb7PJa+XGgyoauFSto8E68dvfdSYu1b EE8dYrn8Zsr3KacFGHAAHQehBvqmsO4ur1MIG49TswI45jmMIBkFJCV2L5TNGvHV37nNHK7/A M87BOuKbAWlApOKSl38uRlND/0vCnCMrDTJ2la7AMfRF2mKuMqM8geim4V+uE97AewVXO801X QX8w/nk2o1sMppNL/IFM/jAq1EFRoibrplyOBUGPawiIIRSSHHmypclw15ov5WN+Z69LW1kJ3 LGDYPSjYuuAM67U2tG+qcD+C382EaYZ3csiwWWZQTR3k4V5LQkiN6Ml4mYG71s6Gg08lFRUM1 bfjFJlYbjQZtEO9amILvDPwSMpCIEOT2KchrJOnvfPJ0EhcgcJ9VrIkHEWUj9rGX4jC9N9FVc ylDfjFhIuib3D4FwO2HuTAoS06HT1rBXqJV3VKH0g6zBcCfSbTfyk9spcAHA9nOaUpWN7xvZe 5n5Oon2SsjyMUISdJYOtAA+NJl0MXpKZ6jJ8YqMjpvIovWarnSdUZzyAZ73QvTchNUb9F8AP3 06TEKnwDec0LZDDcFNAysLAUDHg= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 07:40:18 -0700 (PDT) On Fri, 2023-10-06 at 16:00 +0200, Peter Zijlstra wrote: > On Fri, Oct 06, 2023 at 12:31:28PM +0200, Mike Galbraith wrote: > > On Fri, 2023-10-06 at 10:35 +0200, Marek Szyprowski wrote: > > > > > > > > > Just to note, I've run into this issue on the QEmu's 'arm64/virt' > > > platform, not on the Samsung specific hardware.=C2=A0 > > > > It doesn't appear to be arch specific, all I have to do is enable > > autogroup, raspberry or x86_64 desktop box, the occasional failure > > tripping over task groups, leaving both best and best_left with > > identical but not what we're looking for ->min_deadline. > > OK, autogroups enabled and booted, /debug/sched/debug shows autogroups > are indeed in existence. > > I've ran hackbench and a kernel build, but no whoopsie yet :-( > > I suppose I'll kick some benchmarks and go make a cup 'o tea or > something. Hm, just booting gets me a handful, and generic desktop activity produces a fairly regular supply. This is virgin 6.6.0.ga9e6eb3-tip. [ 340.473123] EEVDF scheduling fail, picking leftmost [ 340.473132] EEVDF scheduling fail, picking leftmost [ 343.656549] EEVDF scheduling fail, picking leftmost [ 343.656557] EEVDF scheduling fail, picking leftmost [ 343.690463] EEVDF scheduling fail, picking leftmost [ 343.690472] EEVDF scheduling fail, picking leftmost [ 426.224039] EEVDF scheduling fail, picking leftmost [ 426.224080] EEVDF scheduling fail, picking leftmost [ 426.224084] EEVDF scheduling fail, picking leftmost [ 426.363323] EEVDF scheduling fail, picking leftmost [ 426.759244] EEVDF scheduling fail, picking leftmost [ 426.759256] EEVDF scheduling fail, picking leftmost [ 441.872524] EEVDF scheduling fail, picking leftmost [ 441.872556] EEVDF scheduling fail, picking leftmost