Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp251084lqb; Tue, 28 May 2024 14:36:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUX5oyISMuAZP9TUO5KV8QD3JlOh19umtNd65KqNBlUy/WxXJU0+ITaxn8cFWbqlbWJMsFrhG6UPZluLijdC18qnfAOf9xtuRwa/d4BDg== X-Google-Smtp-Source: AGHT+IHhgNwHkTHFtDu1wPgTM9e53UA3kCAfS/KY4xF5hIO5BN47/OUPUE5kMkOGibDokOYp1ILl X-Received: by 2002:a17:90a:dc18:b0:2bd:d6cc:c305 with SMTP id 98e67ed59e1d1-2bf5f50b244mr10926344a91.49.1716932188415; Tue, 28 May 2024 14:36:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716932188; cv=pass; d=google.com; s=arc-20160816; b=Dh3u0GY+VUffZnUbqT7FxcZg4On2dcg++1N3FyY23n0IdnHeSiY2HL0J0HBQ6gsdJa 8cOpZaK77QVDDZIE1As4cvEj4uGoB1byXazOM6FDlZ2pqNyH/Rh1cJm1Ln9QRKFHkFiJ v5FvK0rJXB/iae3mVVKzUsL8y7MncE+1OgtMxc99qLfPVfgIbXRobqDOMprm6den0eYO juw80p/xwiXyJpqXRUgKegCvbTBgHzjj9cm3tphfhlHbFU9voFwoo5g5EBVkHHa+Hkp4 TVwq5gS+Ui++9mDcdPZX0PuS+CUr/B0zrLH1AlQ7r/AZ9/qu4ba/T/mpRPVoqyfz2Y5N UxZg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=H85665RpHSmm8YnMeG0iOy0Fh6cTP7WSYgj5rk9gesg=; fh=E6nMY2SCCK07HbGulrZp7JUfPuXw9pDP0AaUuxDtGK0=; b=wDiJ/AcIW8hleIHIrCy9cyYKI9gJrBlCv5B3N/hzPGquiOy27eerDwKmSUqEbJKvTP D9f9vzw7nVIR+k8mo1Qjs7aafyVaCBroCDPc+PO3q+X3NOLmCLo+jU6kyKV2CqTKk/qy YHe8Eev4z+OTu3zsE7nmdCCUNxKIKH9ZmJ1rA7HFdkJMvyQK87uUDI6XmTkJpqS8VAxw g/t+F9lw9niITJTLbzruQvowZO4L/aeL5vU4DRPocGx/wTHIV+UcxlLHtKBBKyrO0Lhu 9kcWSYkqf3Wx8voJ+dZsxdQlM0BjyNjNXGtAZIzkk37W1MXhGYqU39WAma97gVdiOGLA y6wA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=dZbQd+ij; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-192752-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192752-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bdd9edae20si10602768a91.38.2024.05.28.14.36.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 14:36:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192752-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=dZbQd+ij; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-192752-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192752-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 416CF2867E3 for ; Tue, 28 May 2024 16:27:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 965E0172BC1; Tue, 28 May 2024 16:27:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="dZbQd+ij" Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 852C416F91D for ; Tue, 28 May 2024 16:27:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.92.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716913667; cv=none; b=d9xAdHkldnVaN/2NON0RnEpo9XXNJV2stK0ucKetXyaXOREqh6gDeFj1cOy6yabaGVyNI4WouPeT8v+lrWq7V/JVoQn0vQ+6xZmTYYdm0juyq0KwxuRW5LUqeQVf7jqdi1jy2OqIbfJ3hV+VqPBab4zo8BOEgHowk8iKTR3/ZaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716913667; c=relaxed/simple; bh=vyWFi5wev+0Ypwx2V9LULhYDfKtfswp83P0XAsAbqXo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GJyPZd18eiIgSoD+5YWFJdoWR+LGvkyY7NStjN3sYIy614GwnW8hncWDoQ9CQmGZL3LQR36P8yReAWnzI20OJ8gVmVwBEqJc331u5j8FtjROYN2h54lBLb9hHOtHBE12+kaCSZwihZnoBXleIVSLHjlKdc37+LrdBiC6gl9N4nI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=dZbQd+ij; arc=none smtp.client-ip=90.155.92.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=H85665RpHSmm8YnMeG0iOy0Fh6cTP7WSYgj5rk9gesg=; b=dZbQd+ij+qNH4zA+bWMdBwFfh7 mO0+899ZZ760jpctBrtYrGUXVoSQ+Bc1KijC0V5midtp6ijYrK+A7wM46mKPKWC8GYHNMF8DljDrE TUcFc9VVPq+bVnBjJJq9n9ctNnf9LI+aV6XJlzVg4+GhiatD068tTOezKZYOF9lBurwx3ZPgrZCAw O1iZX5FtwnqDS4zrK+EdA9idBM6hJsx0me7h4u+BnDOVvMr3yxyx19xIBipAs1C3tVkZnhnhB6F9i QupLaHyFShCdtY/Yfgf4Gd2jk1q2CSruRKcqQqv6wOUT+I0Hc+2GUD3wviEPX9qr+krd8iOm5IytG XvJCbDoQ==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1sBzfZ-0000000Bjrj-2Psr; Tue, 28 May 2024 16:27:34 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 39C3430058E; Tue, 28 May 2024 18:27:25 +0200 (CEST) Date: Tue, 28 May 2024 18:27:25 +0200 From: Peter Zijlstra To: Ankur Arora Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, torvalds@linux-foundation.org, paulmck@kernel.org, rostedt@goodmis.org, mark.rutland@arm.com, juri.lelli@redhat.com, joel@joelfernandes.org, raghavendra.kt@amd.com, sshegde@linux.ibm.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, Ingo Molnar , Vincent Guittot Subject: Re: [PATCH v2 13/35] sched: allow runtime config for PREEMPT_AUTO Message-ID: <20240528162725.GH26599@noisy.programming.kicks-ass.net> References: <20240528003521.979836-1-ankur.a.arora@oracle.com> <20240528003521.979836-14-ankur.a.arora@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240528003521.979836-14-ankur.a.arora@oracle.com> On Mon, May 27, 2024 at 05:34:59PM -0700, Ankur Arora wrote: > Reuse sched_dynamic_update() and related logic to enable choosing > the preemption model at boot or runtime for PREEMPT_AUTO. > > The interface is identical to PREEMPT_DYNAMIC. Colour me confused, why?!? What are you doing and why aren't just just adding AUTO to the existing DYNAMIC thing?