From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.45 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795980772; b=lzcLTRQMZb3H2NzFy+Y6P7wmUiBQT3Mf+uga8ZM2ab1zXlCwhIEDOvl+sva1uSGHub9S Hqr6H9Rxf0EdLcUPgCvz6pDzZozjtCite8+5mQ/wWEAG8DhBND13uFHDrv2d2sh9SddK+ Ko5q4rEPV10NUGhprjfQQx7LSD2eq8f+pLnAzQcFda+zYusvdWGMrcbLq1bE6jZEavXPa hFVYRLkUgHUJaLJ8dpY78jwIKxDH4doVUFyHGELuDLKxCtF4XilAKhpv31oFf/+tS+nmY pltwUPpzYd1yx0aKMMLrOwim98JnTu8GmIvcxecklVyCFkZnDRAQ9GLZUKvSX/v1TTA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795980772; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=UBC3CgaJeeb9etwBa8kk/M6zvnh8p/wNVLBxKe0KIgg=; b=QE3g7b7saBxmJxv02GYn9oqebSIGKrOsW4VxSpLaizDbT1IwAvlnqiRdc0D26f0kcyAx LgGBDmo5KJoOcvDY/WWQXgePgV7lsAWPsfc8/JRxTYcnyZ5fEk7zzZ//LKO/QyU/pF4CU vkcMiL92eTosGGZMCJnXr1F/l147T2Ro9a3tjLiOfT8DDJuS30Njt3ecUlhZYeG2Q4UEB 3YaDnzRBx7XFaOUTmZQgF/I7qnwk+ipPHjDq7QtVBJ5EWPdWQ7Gfelj6Wgwi1WQbGSbYl diA8bhCLMuDP95WkLSRwBkQB9c4IkliR2ypyuHD78yszqoJFWwfQZwhdpCHANnv0vpw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=xAmBPof+; arc=none smtp.remote-ip=209.85.221.45 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C04B4606A334 for ; Sun, 29 Nov 2026 19:32:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C04B4606A334 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=xAmBPof+ Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-4a5024b3c28so6038088f8f.0 for ; Sun, 29 Nov 2026 11:32:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795980770; x=1796585570; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=UBC3CgaJeeb9etwBa8kk/M6zvnh8p/wNVLBxKe0KIgg=; b=xAmBPof+VuRshrJUZTwQ3ghVX2XHn0b9liv+1tX9sqPHRGQP6KyeUeVXRnV9WsDSDS +lJ6hDdbgubAqenH6+IUNN/WgU5srqwtF/H1Uo/3TlNgDFvFOQTtkmp7VV4aSamII3Kh iWPlb1g1CVamVgQ1Px2i2Bq6aj1aKc8Yb0b9VhYbD8VxE4jRvq+EPQ18fx0K1jvZDgYQ T5wkaOTra8X6VLedpbwbdgGXjgOGmurcKJV0XguM5ccuiuIoxMyRsRC4QKbnWhutUk7b RYbiwJR72wIUR9fc4+ADHL0fNoAniO6VT5cKOy2LHmfCEeYhal4K9VIY8c5dV6oXRDN8 wBAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795980770; x=1796585570; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=UBC3CgaJeeb9etwBa8kk/M6zvnh8p/wNVLBxKe0KIgg=; b=srWQ3gjuRJiNU90E8V60KsxGUDQzgze/EOdEzsIz0RrUfbpEFyJ5aoGTr4FqdPQVnr Idu1o3snLiXizcOBPodoq13DrdZ9NUnFux/nnTBU7Wz2k9uFmiP6FP7bD3xwGpiREizM LrUp8vhZqs1sHWIoBxSyJQWrEpqlM3qajzs5HH1nWBy2mFw8+YkJmYSD/2/m7iCpK91J tZ28CpoSlGHlkrqktdketRyFWD5kFhwcofLfUw/dqDANwvuP3V3yAlaQVoLHFvQ3V069 7GSIyJh+57UcBtXXoHrvAbqp9y8mnqLqm6Gng53B8fJtJjkf4GvFTO3qIXFtyMD38K7B bSBA== X-Forwarded-Encrypted: i=1; AL+hErFrhYwLBHsFltRQRVr6j8Ygyf9u5gexKcYHtY+3uaQzo8DV2AdgCQlcqR0t+Z3zZc1neO6Oz02RFcwhYkg=@vger.kernel.org X-Gm-Message-State: APuU4Z+kIQulRj51jrbazDh1A0yYK5qnZLacgtRViKsmGnL+NV3jo0y4 eyMwQ2GFfkgvcu9mBJ4b9L+YAVHccuWyONr+h7rd4qDQHi3YGt0tRtQ/ X-Gm-Gg: AZFdTZeVWDccjlo/K88CrahpBMCNkwXaPpwwo+EUE9r6LvWmXsfQDc6VOo/nhEmJUtP svQfF4+sr0QS6qK+QYUQ5AjaJX5NVkNLJubMYoy6K6bXi2Flvxen+O5hEKcS1oj3csFFgIYa9Uh QozR69qAS2OSBFV8yRJkTUaqgcoe/IyZ6c6R/d0iA27WEE10c4NZ8Sp4d3Qxk8X2VRmLWk2JSy2 6OBkmlw/FnomNQKTup76ESSYeEXqnn2QjW3FYNU8eC2ESgTUf2maLVDTHFSJh2xcv2a8VfpW4Po SoXv4f1L0bRYOlWmlmcNdIL0w3S5LK3HZm25P05Qg+iTZbXZoB+xH3sz7AR/DdzUpGHan3O8i6T Zye3phowLXnTL3pLIWQ+ulr3vYvI0ovx+JwDVf1YWgSLFUuch6yjndqBJ/c5JfE7eHUsRnw3h9n Wt1O/F53gVMZ1XwCICIkEfnYocbFijZhriJGZ5l44HNCVxm/pa9CbOVxsHJku8+v/5L/AFQpDuw P9GM/QXN0/33eyiQxOnb0ULTivEkS3weBzY5tUHrhLhc7jeKvYQY7jkKgI/8s99zH4ZZGtRhYs3 fU1GGvNwelfQ7PBTXx8BhZWuFYAq9EwoTSk= X-Received: by 2002:a05:600c:37c6:b0:4a1:88df:8a2a with SMTP id 5b1f17b1804b1-4bb88812a84mr637118565e9.13.1795980770113; Sun, 29 Nov 2026 11:32:50 -0800 (PST) Received: from deb05.proceq.com ([213.160.61.66]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb853a9846sm1011344615e9.11.2026.11.29.11.32.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 11:32:49 -0800 (PST) From: Mehmet Fide To: Christian Loehle Cc: Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , K Prateek Nayak , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] sched/fair: Skip PELT on !CONFIG_SMP Date: Sun, 29 Nov 2026 20:32:48 +0100 Message-ID: <20261129193248.858301-1-mehmet.fide@gmail.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: References: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Christian, > We can still use them for DVFS, i.e. schedutil, can't we? Not with CONFIG_SMP=n: CPU_FREQ_GOV_SCHEDUTIL still depends on SMP, so such a kernel has no schedutil. If that dependency is dropped, the skip would have to follow schedutil instead of SMP. > Besides, the entire point of the commit was to get rid of the SMP ifdeffery > and this is introducing them in a worse way. I went by the cover letter of the series, which asked for UP improvements through "well-placed IS_ENABLED(CONFIG_SMP) kind of toggles". If seven of them in fair.c are too many for 7-22 % on the round trips of a UP board, is there a form you would accept? Mehmet