Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1430919rwi; Thu, 20 Oct 2022 12:21:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5qZqnxkYozGh8e9VGzCCZSvt9dj31/Izcf57BsOikbgEnA7xTvbBk8z/vsMDl2B1mfd08e X-Received: by 2002:a17:907:6d18:b0:78e:259d:c391 with SMTP id sa24-20020a1709076d1800b0078e259dc391mr12361559ejc.615.1666293711295; Thu, 20 Oct 2022 12:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666293711; cv=none; d=google.com; s=arc-20160816; b=msfU2ngvjxrPcDY0vdSwADIZk1YColrdJU5CTNt0DNyLOws4/kITParmk3Rp0Cz79G hrJbGDy3Qj1deuLeYLaE/mmiU7aX0wVoIILYW7Y1YCdVml0o4LZBRaqNSLUI15ZtJgA4 MQ6VOLhimMPK5FaDHQeOkQ2sO6tuasizhKWU8PlnaaGxvSkAA2fHLDv3O7QqUlDwG0mu IQW/pjN1QUry0TWtHWhn/7D/qjyMQaNl9l4TfuRCDnx8qTzrB+kTvZ6aspeolumKkJbL cXYXWbqOfb4g5NMUv7GECe5a9MXekb1C893ZrD6/Xhy3VkQUz+mKvLKm6965fuBMCq9J RW7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=YAXDkl5OHacYtnMU6aGNdSp9H5dDI+zvMIbdfENsliM=; b=FHd7UbdGIqT/Bly1MXOngt8h3iWih4oMiS3eGi0Oy8WYPFBZsWJIHzXQkZsDKksovR vhlY6B105c/rle0I6OldnNfQSMj+lp7SfFfhDVTaPetc/PqfqHbg8edFiA15cBD6iuvN jpi8WN2b1o987KkEsumwHn501cy4Noi0HQu3J3e8OkreTmMhe7zbtc/hpG/bTf6cZJ38 nrd6eqIxuuRXVqELG7vA8RG5rXfPeU915jAV8K2zcP+RkSua6gROltOhyKe7wGcZ7FHN WpH2JsahjxWqsoke7qJ7FdjyZQlks5QlYJTpBstOMxs2lqFyaMiWbigV/IAIeS6aRiq7 AQ/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=rlYy4fmt; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gn41-20020a1709070d2900b0077cfdda438csi18627060ejc.35.2022.10.20.12.21.21; Thu, 20 Oct 2022 12:21:51 -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=@google.com header.s=20210112 header.b=rlYy4fmt; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229890AbiJTSoL (ORCPT + 99 others); Thu, 20 Oct 2022 14:44:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbiJTSoJ (ORCPT ); Thu, 20 Oct 2022 14:44:09 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21C1F20882E for ; Thu, 20 Oct 2022 11:44:08 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id l22so879599edj.5 for ; Thu, 20 Oct 2022 11:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YAXDkl5OHacYtnMU6aGNdSp9H5dDI+zvMIbdfENsliM=; b=rlYy4fmtLo89IDWwDGER07KU5thlGrVVG812rEBXzPLpS5/T+u5s4cKMiYG6mTMqbQ tA4xjRxoMwCTt/KTHkfrF/fGdlkyXjAANAsdrGu6zZoxCjWuYq3JFp80VmZF+gm4OG7R gVit8sq4JJ35CZpcap30Vy75/b8e7maJzrHjVdqX6Afet39FY5+ys84qd8T7aLwX6Evf PSAVSDhTKfUYcJGG7qPckTkU8/QCBAaZEsieWu0waM9ruHcxI731GBECWteofd6aDXPP T5RopbyVNp7showNJ5pBUswOmKNsIbnyD6T9soLZ6pChbsu6KtD5tNT4C0AIuaBg00Nv cUEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=YAXDkl5OHacYtnMU6aGNdSp9H5dDI+zvMIbdfENsliM=; b=BLMle+KVE+CBwRNwxGrydpcZ2NcnN6+t4hWO1hlCaDoZfj0haoSLCBjxasgIzQ9qvD O8bGDLteGA2myt2QCqNa6tV2divpgHOVM71K9gw/MRtt5kHQkkpoo2TbyZqKco4JunmC KhxRnE/8kYntEeLTASvDXjjNkfyWwt4sGo6rPeAFYlw5kxwJL4kgrXeADbPXR2ycJTXM rik43mTIitREFH9GGeqAditp4RSRbPNz8iL7ozfCTqqiNmQp255dUigw1lj6XKn89Fek hsXvpSpqIJZjuvM6py9zD8lKbQtE4OX+6aZmf9VfNI0X9ByrUZ9YSij9oUbMIuhjibQR hAhw== X-Gm-Message-State: ACrzQf1ZPhETDkkuNssSTx2PlwSxG+ktloTOOUumKmi3kNX4WAb7gF6R 8Edqra8KGM43ljvxaGfeJuDT9cCKa7AFiJWzUpwB1g== X-Received: by 2002:aa7:dcc5:0:b0:45c:7613:65f6 with SMTP id w5-20020aa7dcc5000000b0045c761365f6mr13975208edu.142.1666291446527; Thu, 20 Oct 2022 11:44:06 -0700 (PDT) MIME-Version: 1.0 References: <20221003214501.2050087-1-connoro@google.com> <20221003214501.2050087-6-connoro@google.com> In-Reply-To: From: "Connor O'Brien" Date: Thu, 20 Oct 2022 11:43:54 -0700 Message-ID: Subject: Re: [RFC PATCH 05/11] sched: Split scheduler execution context To: Valentin Schneider Cc: linux-kernel@vger.kernel.org, kernel-team@android.com, John Stultz , Joel Fernandes , Qais Yousef , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Will Deacon , Waiman Long , Boqun Feng , "Paul E . McKenney" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Wed, Oct 19, 2022 at 10:17 AM Valentin Schneider wrote: > > On 03/10/22 21:44, Connor O'Brien wrote: > > @@ -1303,7 +1303,7 @@ static u64 grub_reclaim(u64 delta, struct rq *rq, struct sched_dl_entity *dl_se) > > */ > > static void update_curr_dl(struct rq *rq) > > { > > - struct task_struct *curr = rq->curr; > > + struct task_struct *curr = rq->proxy; > > I found a note pointing out that Juri has a patch to unify the > update_curr*() functions as part of the deadline servers thing; I think it > could be picked as a standalone to at least unify the curr = rq->proxy > trickery - this will also (hopefully) remove redundancy for whatever we do > to expose sane runtime values to userspace. > > Last iteration I could find is: > > https://lore.kernel.org/all/20200807095051.385985-2-juri.lelli@redhat.com/ That makes sense, thanks for the pointer to this patch.