Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1857517lqp; Mon, 15 Apr 2024 22:37:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWae/6Y6P4S1QIMiTKpArv4eSONfxcZaPWnnDn5jRq1NY8K0XPsrSJnk7Wy7GLyOvOm4aIM5qgzyPBl65NynLv/WZmJ7jVc0lb14xDpaQ== X-Google-Smtp-Source: AGHT+IGInn1FRuUnzmREZeIklUCsOTYsRfVVW6EcohMowg9UvERIQDgCYTAutj/nUb/t4TB9f3iZ X-Received: by 2002:a05:620a:4f0:b0:78d:6c05:b4a8 with SMTP id b16-20020a05620a04f000b0078d6c05b4a8mr13107382qkh.21.1713245850898; Mon, 15 Apr 2024 22:37:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713245850; cv=pass; d=google.com; s=arc-20160816; b=cSU5hLu/KPjFTNPZLLGwgDGgL1w1dPGzBJaO1gGYDUQ0qAbx/hV3C3syYUtPVzFolU 84vOgj6EMewfxyd3ENpetUDhjFg2O5F59kef1IvxuDmzb01K55Ra23AzepCwwm3SN6ak uHHw31h/6WLjYjpGLlQ3ykh8E+3LDvjFrzwkzTRDHKqLYQim2hDsEauIsSwe+6xVMe02 x2CZh751+kNEUkOZGfoeYelfDEOsaxYR56+Z9kkGeaf0q/Gb31YnkDSXTeWffxeBrIoc FGxN5kN1H1+ImncU/DdqGabHUcIXyu/MMb2gB2Tr8AaqCe6gs7dErJVGgJcDsTKQEQm+ uTvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:user-agent :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=CEXOWJpsSsEGIcTUdU5bLURuQkwTb8AcWqo6bjs1E7Q=; fh=3scWawraSdZdTt+4IS2Yz/SnbY9LKeoJDpAYVZbdCg8=; b=sLD7boIXncCsTJ+iqg1AtxaUoPAOZAPRr9Ugnm5Cd7YxowSnRh15gGPXWw0eiB+5CU SiQIpTk6sojuoLTAxqibyuwruUsMvfGUcfAw2mOjVa3EPs67UFz4zyBseSqS8WhUo90T kzuOBELNoPG8sdnZ3HDAqaCvDhHjubdIwR2Y+WxQAhsVoGemZhNuhMNvYI/BlhiDa/2V sYPLzUTtKGnbNodzs0tzvBv+mQMsIPY5u5MMFHzZaca7j2/ptnpWxdqx/ilXxz/bMR1P yjsJqrvd6iBpLf6qOgR9j459Yx9T+OVJ/7gnit8s41WmjK+dGqFUc9Flr/pOyVlxhJa+ mWHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=DWXb6Au5; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-146273-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146273-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id vq26-20020a05620a559a00b0078d690bbb45si11681860qkn.110.2024.04.15.22.37.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 22:37:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146273-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=DWXb6Au5; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-146273-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146273-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8B03A1C211BA for ; Tue, 16 Apr 2024 05:37:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4196C3A268; Tue, 16 Apr 2024 05:37:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.de header.i=efault@gmx.de header.b="DWXb6Au5" Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3703211720 for ; Tue, 16 Apr 2024 05:37:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.17.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713245841; cv=none; b=gba0KRMci2y9aod8UtsyyDqCKnKpE9cGKAqsCuSK6C9q6BIEx9gwXYqCpyQD4+gpq/rZZUsC7kA98lDBuY+MWTi9C4WLHcgff7GP1QH4KX13pynIAWnwM7W5K76AfULniqc7jzvVPuzWlgwcle/Hk0DZb6W+nvhWRzRLTiMqPw4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713245841; c=relaxed/simple; bh=+n+QybA0XLkfuoxEtHl8wvGl8+Nk/g5jc7wA0BJKxTY=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=UyE6yJmNg/ZUyM5XyNDseTdUFl+3ohok7vERNGGrcE08RW5H6ISEpx/d1fC7wWQCdroxiHPTkkwbBQjnulj6fJbyd3bdlgHOAxOdFfv9GA5oT3HTxr+SHJr3KdJAgx9Mvyi3+gWaQBdD1lZMkoHs3tvF8ZOk2Pvme7j6Z8B9HMc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de; spf=pass smtp.mailfrom=gmx.de; dkim=pass (2048-bit key) header.d=gmx.de header.i=efault@gmx.de header.b=DWXb6Au5; arc=none smtp.client-ip=212.227.17.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1713245791; x=1713850591; i=efault@gmx.de; bh=CEXOWJpsSsEGIcTUdU5bLURuQkwTb8AcWqo6bjs1E7Q=; h=X-UI-Sender-Class:Message-ID:Subject:From:To:Cc:Date:In-Reply-To: References:Content-Type:MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=DWXb6Au5timcXxHM8Qdk8jGsbuHlT2zcBYx2y19Gf8wtI1yVjx/YodeGJ3SvRO20 nVwWOUvtW5SBixvN7wjgTxggYz/kDc7E/BWMrvnylKZDQU+rtz5oINtwyxBy94lKK Uaz+0s7XkU1R7YEQI4BVop0RHD6NQAcRre4l1Sh1NsKYYAKNJ/uNNZCxfA+ZnBcTg VhESL01fdMJVfipQslmh8SDecGZHd2/wmblIctGwiZ996Yks02EROxCbVnOJyYtjZ j7G0hWIKhADebRWk39Fz67hN1RkqJTka1rVSr/WDpm7yRXdqPJ3nb2GDZ/zZRaM78 tl/oV4MQZdGs4ciJ1w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from homer.fritz.box ([185.146.50.137]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MvbBu-1slwzZ107S-00sc9o; Tue, 16 Apr 2024 07:36:31 +0200 Message-ID: <747627a1414f1f33d0c237f555494149d6937800.camel@gmx.de> Subject: Re: [RFC][PATCH 08/10] sched/fair: Implement delayed dequeue From: Mike Galbraith To: K Prateek Nayak , Peter Zijlstra , mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, linux-kernel@vger.kernel.org Cc: wuyun.abel@bytedance.com, tglx@linutronix.de, Chen Yu , Oliver Sang Date: Tue, 16 Apr 2024 07:36:28 +0200 In-Reply-To: <14330cf4-8d9e-1e55-7717-653b800e5cee@amd.com> References: <20240405102754.435410987@infradead.org> <20240405110010.631664251@infradead.org> <557be85d-e1c1-0835-eebd-f76e32456179@amd.com> <14330cf4-8d9e-1e55-7717-653b800e5cee@amd.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:fvIYdFOTSr/E03xQtbqaniaVGdLmo2j2pN1KJTggfh55E+NGnfI RVLxf+P14PwYTjPIFJ9YGVM5tRarWsfhmdwpgTrB+rj4YN9r5hhz9B4ox2gFyiwg5XXWJev I9J+GA34bT1pM0m/OA0/h+/BxcmTy/sDRehPIcIQ3sHJnzPY4WyeD1u5+KAdE1ct7GnKjYd Hs5GobxxLJLs3DVwULrhQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:E/9xtIhvhSs=;gryy5R/HUi6p3nG2W6Pwpbne7RV zXEfGXxWPzGWD8hA9DyYkdqAZSEpALqKkxnE+tFNgwrL2nNkdGLifd9Lh7vt+45LoZO8xc0ip RpCoobuyoYfTRvo12Or9zMx6s9haQYM2aBYwqN6deki0AcFNfKR0VSEsidL9G6u0FVL7xpCHC nTyiRHRGiBUB+WdYpuEJlWkxEbSd5KrCY0O5CG2BiCYuJA4VYVqE42013zaaASHRvZTr9q5MO 0GBIyyr+RPVFUCpjByzsOyQuJOTqaA27OFerxiH0roPLAP1G+OzCHQQq7OKz5GM3X5NeYbjjk 7tzbsCttPJvOtIUsH4RgdWwMONy7g3EmFt03V+MINlwiBb/XYGYvzQUph5/20EZqS0rwiOobC Et6h20hD+09o1vz55R3xUmTP3TDvo8cm1+bQe9RT7VJgaEqsSOesKgPrLvTqWyn59+MBR/mUe c26GqcR4AHwVqvMM+FYid1Nd+9uaQjZga8beHQ7Pyy225CV91rs0lqkNMmjmX3A1MiLAMYIwu ZC5da2i2R8Rs1i3VZyPuTx3zyL4I3Oj06pw+noP0J+tB6V/o9Zw2+xZvlIAZfoAbELPKur+RK GKfLDkE0o2RlmhmiSuNp153Q0SbKYFqMOdrwJPx06tHnmC3Kzikjfhswv9ulTN1v+/yaatk5B VBW/UxvVMd8V0QA56qBocYvhGxsYgbjMyinSoHtlZUf9jrdVYTmJngrBMjIxPbhdFqSJRycMV L/nQSV+eSxuXChl8pkgfFm5B71kY/R3/iyu4v1GvVafEwaW+PaFchvWz9hA5nc7IXEuaJFcce haKiQVZECuTknUW8UKw53YyBrY+VMhpHJFI7PJECoWZSs= On Tue, 2024-04-16 at 08:48 +0530, K Prateek Nayak wrote: > > Wondering if you are running into the issue where pick_eevdf() returns > NULL despite there being runnable CFS task on the runqueue. Can you try > running with the following patch from Chenyu - > https://lore.kernel.org/lkml/20240226082349.302363-1-yu.c.chen@intel.com= / I hadn't tried it in master branch, but had in my 6.1-eevdf tree which contains the previous delay dequeue version, because I found that it too would explode, which surprised me having run it quite a bit woe free. Patch helped 6.1-eevdf not at all. I just tried it in master to be sure, and while the death throes were not identical, this one began with SCHED_WARN_ON() in put_prev_entity(), box still went belly up. BTW/FWIW, turning on AUTOGROUP seemingly rendered box immune (unless booted with noautogroup 'course), and that immunity even held when I launched all players in the same cgroup (hmm). -Mike