Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp293202rdb; Thu, 21 Dec 2023 09:14:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFeplypHsnsTRkhfx/XwUe7Iw/UYlnbrnYZ6tCm74N5wa0bx08w4qIaOUsBIizRLIwGBAQs X-Received: by 2002:a05:6a20:be16:b0:193:f77f:6db5 with SMTP id ge22-20020a056a20be1600b00193f77f6db5mr2028pzb.9.1703178857474; Thu, 21 Dec 2023 09:14:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703178857; cv=none; d=google.com; s=arc-20160816; b=S3EKHceD6gZTIyULWerw7A2naDEd9dI89jP5V269h4rCBWAcb47485gr+xHoXjw7Y0 /g3GSVfCiUHfm0QLqTDjM6WF0XEVon8gck9g/TR+ynCr3TQaKiikw0Ig/A+g2/mfETMn QgDZM/xS2can6HxcW2s4Ue9vhONau8Zun+UVj6LcIwXOeSbsMy2GdVWhNQiDzYcgtJph Y26Egn+cM9Z2z9bPbUCgauj0eVcTCV+W+GgamXUVIAq7D4xGzx6gLurCTS+u1meEZ2J9 SO9PY7oSD+me7GdzonvOt5iEiSCxwJaVom+JfClCRrsKFU+vE7iIey4eKVzR/4TD13B+ OVrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=eh24iCbFxiwtrROZkpCebfSpqES7hwdYxSjrscwi2QY=; fh=BNf93qThzKvcNrUblroeKiFR5/RdNi9rwKlfD7f6Nmg=; b=LjPSWXEPwPP9/GFUW5HrIsYvKcmvx1XKQiX5mf5x9pzu3dSa4N655agsxU9cSmRrgB Ozy1lwb3acfNt+cDs1Fk+4UzPbhgx0MLykzE0RvPlUWIXoZY9odhvC4xldXl9QWcu7Eu C0G1mDvdWTq7SPwfTzerHftavZprvI/E6lx7A0dmgXT3HbtrGdczdOBZYMt2L4kq+qbr 6Ygrs5Zp3Md42nF7BaX9adK+6vAupGOUkT7HKDAbNPs15cBe0mZNr+eoksZTKM0FCeVT o0AQ3NFaAl6EAqr8KSxX13cYxA5klbckOcCPDDtRI8HeSrOZblFsLW9SyU7fuWXmjJDT 3qww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=xxg3Y9Yz; spf=pass (google.com: domain of linux-kernel+bounces-8823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8823-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j22-20020a056a00235600b006d2f64c805bsi1882715pfj.56.2023.12.21.09.14.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 09:14:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=xxg3Y9Yz; spf=pass (google.com: domain of linux-kernel+bounces-8823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8823-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CDD20B21FEE for ; Thu, 21 Dec 2023 17:14:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1EF9627F7; Thu, 21 Dec 2023 17:13:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="xxg3Y9Yz" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85C39627ED for ; Thu, 21 Dec 2023 17:13:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5534180f0e9so12496a12.1 for ; Thu, 21 Dec 2023 09:13:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1703178835; x=1703783635; darn=vger.kernel.org; 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=eh24iCbFxiwtrROZkpCebfSpqES7hwdYxSjrscwi2QY=; b=xxg3Y9YzUZjhL4Zru04FiOBP0/TuViVal4Og2BgTgueuGDg1d/vkqdXENqL/iSZmN0 zdbW1sEfBgV2xzCTz3hU5wyKWLnKSnPBERQlRZthosQCyJlDbenXMWqzwDegpnV8O7aM Fza7KLlnhtTS6Cr4GnidXWyWAvhwhwqG79COryz7XUfU+eFBShmNw5Yn0idyFDcZXcJy n/Ca4YS1rbNOB7FjDuQxVxfGcbgUXHTBVmHhjUc4Z9mo4acC8+7ZqCoykIIwDDMxQi8a Yslc4xQebZSrHi1VdV/09Ze3GOihIO6wW6Lgofvt4fwBILwZiokiKEvzypOw5wldqxJB cX+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703178835; x=1703783635; 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=eh24iCbFxiwtrROZkpCebfSpqES7hwdYxSjrscwi2QY=; b=OQydFEIWYW4M40wkAn0ZAaHYjyXhIYyNegcwCgSKn0EpsIK9KtGY9326kGr5GhQPuJ f1UOfrclPWd3QFfjQ+BhLoRoS8wcLg8k/d+Rt20MtD+Z1axVALpwN2DCbzAlqIJrsbN5 lbCaZ/gFb56MwfNuWAu9ZMtVq0hnIZpsC4FpOWwkvkrDPq4qhrgnY7siqdK9ZFyfs698 6ihAvqvZSu917H/qq/bML4iOpMX/LxVo9A8rgW0zVgVh7VAegjraaB2IrWe7EwYzHR2X VPvE9ufoNY0QAYOP/9IyGZFI+5i+IhXgJkR1A05g1BBx5pC25c8gxVXM31liz3GxQ5Ln KSNw== X-Gm-Message-State: AOJu0Yz5aDyce/u5h1ImeFYivlPMJSEsdPx5D2tN4EHlbcsyzmYjAZRA 99XFTOd3iLq4hp2XfTVVJC1xR8BUYCLvtCzl9xtfOBLaojY= X-Received: by 2002:a50:c08a:0:b0:554:1b1c:72c4 with SMTP id k10-20020a50c08a000000b005541b1c72c4mr116205edf.1.1703178834637; Thu, 21 Dec 2023 09:13:54 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231220001856.3710363-1-jstultz@google.com> <2b4bb9ce-fe92-47fe-9185-e29571502ae9@arm.com> In-Reply-To: <2b4bb9ce-fe92-47fe-9185-e29571502ae9@arm.com> From: John Stultz Date: Thu, 21 Dec 2023 09:13:42 -0800 Message-ID: Subject: Re: [PATCH v7 00/23] Proxy Execution: A generalized form of Priority Inheritance v7 To: Metin Kaya Cc: LKML , Joel Fernandes , Qais Yousef , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Valentin Schneider , Steven Rostedt , Ben Segall , Zimuzo Ezeozue , Youssef Esmat , Mel Gorman , Daniel Bristot de Oliveira , Will Deacon , Waiman Long , Boqun Feng , "Paul E. McKenney" , Xuewen Yan , K Prateek Nayak , Thomas Gleixner , kernel-team@android.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Dec 21, 2023 at 12:35=E2=80=AFAM Metin Kaya wr= ote: > On 20/12/2023 12:18 am, John Stultz wrote: > > > > As Connor outlined in a previous submission of this patch series, > > Nit: Better to have a reference to Connor's patch series (i.e., > https://lore.kernel.org/lkml/20221003214501.2050087-1-connoro@google.com/= ) > here? Yes, thank you for providing the link! > > * As discussed at OSPM[5], I like to split pick_next_task() up > > into two phases selecting and setting the next tasks, as > > currently pick_next_task() assumes the returned task will be > > run which results in various side-effects in sched class logic > > when it=E2=80=99s run. I tried to take a pass at this earlier, but > > it=E2=80=99s hairy and lower on the priority list for now. > > Do you think we should mention virtual runqueue idea and adding trace > points to measure task migration times? They are not "open issues", but > kind of to-do items in the agenda. > I appreciate you bringing those up. The virtual runqueue idea is still a bit handwavy, but the trace points are a good item for the TODO. Apologies for missing it, as you suggested it just the other day as I was prepping these patches, and I didn't go back to add it here in the cover letter. thanks -john