Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3682808rdh; Thu, 28 Sep 2023 21:51:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHASV4Q++8IZBQl5MJMB7tbDtRgeNs8oT7xkEtUQlJiSJ6ukRBOt9fn7jwZvrdLW+EQSpHe X-Received: by 2002:a9d:7c83:0:b0:6b9:b0f6:eab8 with SMTP id q3-20020a9d7c83000000b006b9b0f6eab8mr3533616otn.5.1695963100129; Thu, 28 Sep 2023 21:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695963100; cv=none; d=google.com; s=arc-20160816; b=JDYMZWFGTF9z8fID4Gpd7TdlpNVD4mP/VINnfR08VQdp9xyGMli+w+9m3ZfKYygant OW9LPuekJ+xSy7E+RzVW3pbSNYpSN9ZhCE1uBjT5gz1YAWL1mv1NREA3g2bWeAv8lfum cDPKU/BM2PhV39HtxEPCsI1dhP/vrPJJP0Fpn/7FDONgrhfahlAIGpJt8TEaT3RUMrtJ 7Tt1e0X4LKY1wB8CL1owSJCsPlCp0e9flsf8V2QoaCGuFwbmF1uszy9xDP3IgTWu2AF5 uEPsPc6F0UDvD1LB0f/5PzXmLLFJlxGJl0qFxMDjQvGDTB4JogvQiC4/XPNzRwAe6rH3 oVWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=e0/p0hrV7HMXh+PeTO1O/PGw077nI1vZCXtYcGdxaoE=; fh=L/mPWNdN7Cl4xYSh1UzoNHu/IBkcjYqeG5J2MKeIMdo=; b=QeSON8hQ4bxtdo6Oh2kWEn6qcf3sJ3NAzUZJyObgcObuAzhp5SuX2Inegrh1qdKdOF vJs9XHSHsRyVNT9IcE397QCgPsM8I9k9F+tjH/c/jc4i6JqOdkFBSKAUOLgwxy2hQ/aQ ibLhoBwg04WNvvcBUt0O+ZlMD19Yq8xW5lO1gwla3IgvG0IN2EeGsiE+3XvRiep/1Xx/ 8PKO4MR6eX3IdLnIDbt2wfqst4xvl+5mXiPLcBERQCEpQZewkRdjCJe6yYg4lEuw7/9U X2NY7EeLhfEe7hUvgbZligJo2WrwJS6XWvHuvk9frjnGZ/MmOO2QP2Dttj38goJMtd9e eoDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D7tKgRpH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id p20-20020a639514000000b00563fe2c1163si8920349pgd.168.2023.09.28.21.51.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 21:51:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D7tKgRpH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9D1398084971; Thu, 28 Sep 2023 14:22:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231925AbjI1VVv (ORCPT + 99 others); Thu, 28 Sep 2023 17:21:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230251AbjI1VVt (ORCPT ); Thu, 28 Sep 2023 17:21:49 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 895C8F3; Thu, 28 Sep 2023 14:21:48 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-406556f9bf9so6987405e9.2; Thu, 28 Sep 2023 14:21:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695936107; x=1696540907; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=e0/p0hrV7HMXh+PeTO1O/PGw077nI1vZCXtYcGdxaoE=; b=D7tKgRpH5Sm916uWbgpNkeADi6tQ8Se/WD86+YHPYXPCve+ZfsvGS4tJ8LU8Mt802g MqqMDUwq/Ej9lwtLlnvzX8i+Ovws1aJaf/AG/x5A3My9gisQQhDkBXxCjk0j3f7FB6bR 05llhAQmbbEX5F+1o+pVN0BH8nDyyuG4A2Wp1AJ5PubHItKuHabMEnWXA3An7J55yMzO h5UO0gXGQwkRpPgsjXV8WWxPIpYasV1Zyfs6ofruOm4vb3Yu2atULGrpkaRzVzROzYZr 99T+SVsmfLj6ZbT8bjERdMlctlSnKSylbTP4P9x4lvMYSkhls1iY5xVUZv863eYPH4R/ MtNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695936107; x=1696540907; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e0/p0hrV7HMXh+PeTO1O/PGw077nI1vZCXtYcGdxaoE=; b=fM+Qme5AEsXhBkvG/YixB14cySFOEjnSaK8g2u06hMkC4cnNFz3wGPt86R3seXIVpa yFH/LUBJe2kxXPtSR+Ti71fr21Qn0L8+ipFBlre1EOXG8TndG82Uc1iU7zaMh1+WLMEu BZF87ddm138jB+FvS9tkrt1QsaiCBFFwJ269yoKbijQRzMDTe7byaCblTyNX58MDongv 05DjIAohRs1loqDOKDRQlJfc2U00Zp1ulE9jZSCDNTG7A3VWLynMv4NJsCbqMLWDzvDl +e8KDTbfbf3QxGj8lHYIGTQYWWmOidgtA1pcSV7nEnLcVZpQBddv/cS9RyTSKDoQQmSp smMw== X-Gm-Message-State: AOJu0YzbX6ZbQTxpDpDSczqt64z/Ayt0L6t6vFhkms5/EJ3+bcsDALGl J/I7AdMZ4EJxXxcW3HTkf8U= X-Received: by 2002:adf:ce91:0:b0:31f:f8c1:f43c with SMTP id r17-20020adfce91000000b0031ff8c1f43cmr2242808wrn.41.1695936106826; Thu, 28 Sep 2023 14:21:46 -0700 (PDT) Received: from gmail.com (1F2EF49C.nat.pool.telekom.hu. [31.46.244.156]) by smtp.gmail.com with ESMTPSA id bx9-20020a0564020b4900b0053404772535sm6282978edb.81.2023.09.28.14.21.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 14:21:43 -0700 (PDT) Sender: Ingo Molnar Date: Thu, 28 Sep 2023 23:21:42 +0200 From: Ingo Molnar To: Valentin Schneider Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org, Sebastian Andrzej Siewior , x86@kernel.org Subject: Re: [tip: sched/core] sched/rt: Make rt_rq->pushable_tasks updates drive rto_mask Message-ID: References: <20230811112044.3302588-1-vschneid@redhat.com> <169563211069.27769.17070510461354463740.tip-bot2@tip-bot2> <20230925101127.GB31921@noisy.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Thu, 28 Sep 2023 14:22:01 -0700 (PDT) * Valentin Schneider wrote: > > sched/deadline.c has something very similar, does that need updating > > too? > > Hm I think so yes: > - push_dl_task() is an obvious noop if the pushable tree is empty > - pull_dl_task() can be kicked if !rq->dl.overloaded, which similarly to rt > is driven by nr_migratory but could be boiled down to having pushable > tasks (due to the nr_cpus_allowed > 1 constraint). > > Lemme poke at it. For reference, the matching DL change now lives in tip:sched/core as: 177f608a4c82 ("sched/deadline: Make dl_rq->pushable_dl_tasks update drive dl_rq->overloaded") Thanks, Ingo