Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1217166rdb; Mon, 19 Feb 2024 07:55:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWMIiS6SOBFk/40DSg4rxviy4StOY3yGLzrIDjuU/fsWl9Lz8vjvdsbu1vjIA+LYSrd5v49rdkOBaGcTNnAz72evDxKxTxPe9Nwnrgnkg== X-Google-Smtp-Source: AGHT+IFWz9cXb2eq8aywQ/d4ZJ5ewt+OGFfVJOcInj/uL9Ruh3r/JGYxrHRywNEzLx+H2T/Wnr/e X-Received: by 2002:a05:622a:1901:b0:42d:f838:e9b5 with SMTP id w1-20020a05622a190100b0042df838e9b5mr8437845qtc.18.1708358154906; Mon, 19 Feb 2024 07:55:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708358154; cv=pass; d=google.com; s=arc-20160816; b=FYTcOHgD3maqnuMziwgmjHF/TPJdmfOX+n6tZS/+BYqrwMGeW/fbguz3zbc4hc7GXw JgGt4fpWT8T5/urC6gaFvErhI4uTeqYsCCwxJyC0oJUpqRQRcE63JQ5YDETpEIIM6hKp 7mkqEQsKfrN42VwGGrfCtAqQNWwJZQcN4fPQPEufQQwF30cvvoZdHGrd/prms1GJq3v4 Htj72Rg1Ej8D7UDL958BqgXa34994H1ghsiXfyzjXlGXH3mVgOlpp/adyEywX+DBoc32 jQ1smmLBlbFpS+YO+et1Fm++/61rLU/mgHdi1jlNZGszR3YG2tZxPla8H0PsvHfjmqWM 43zg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=bEnlqSRlwvlrLkErx0rL1ZZTMmCapG/UfDxG/X7ObI4=; fh=Z44qi5zzdje67VzrYPiE3xDkGEh0paLnIFFFj+L9fz0=; b=VAmpyl8Tav8X2JxQ9NI2IE5CgbDOMOCDgwQR4IvGe3zrIaJXsd29RoA0TZeWy+gn95 00oxG9cci2nPYUZJS/56+PFLvrG2jJw6+FUvQ6lvq7oEikr5oliqw7TqugK9wh8YWkEF A0Z+IhgDXZ7swytkTXQ+cDIaOojDS/knUU8Q/hbzJvSjZvTCczuNzB8Lmaq/1N2UYTqw 1R1jIkE/IkOhd2vuoRhDuxor3SA+yRGl/m1ArnHM77VDKahWO9/SITR/rS5oyZg621YY dwDjbSsdRa0kZAoaF5iy9Ez7YFPMJecB9ez/WejcgtWs9H2egBnytya6U3s5eeNMPwK7 Y9mA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=SFxFmXSp; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-71622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71622-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d9-20020a05622a05c900b0042c513c8cc8si6845842qtb.68.2024.02.19.07.55.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 07:55:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=SFxFmXSp; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-71622-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71622-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 288F31C22EBB for ; Mon, 19 Feb 2024 15:55:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A93333D0A3; Mon, 19 Feb 2024 15:55:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="SFxFmXSp"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bXGHXZOZ" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 694EA3B7A9 for ; Mon, 19 Feb 2024 15:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708358101; cv=none; b=qlMfRdL1jj0udBMtfTjeM681JRVJJvGIYZx7nFEJnOC1lE0uyjYg5qkJzquo4VhIOSuSAOZCBWJEQZkl/ndPmBJ9PPqWL4iRcej7f0i9ymCuOKdI0VjC/ERy0lAC8fhwH6eGihTq6XVDXTGqMHrIybXUEmeyTgOt2CvbgZXaDyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708358101; c=relaxed/simple; bh=sDhgfWqSwRQP0W/gjqhUOncvH89HLXRCOuR9itr/o1o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=HxddxVPKLnsN7RC5xtv1M/4287h74aMxkiBFH8AbGv5Su37t/w+wxsVyBq6mGYxFgDQKMls2xcQUxrLA9xIufHEPAJJPNolTAcMMc985jfQe/2UvqVgEmjxzT1jiXLhpJ1o5XfsaeU4j/P+BV9PRA74MaJnYBXsrqhYn+Hlv1+k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=SFxFmXSp; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=bXGHXZOZ; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708358098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bEnlqSRlwvlrLkErx0rL1ZZTMmCapG/UfDxG/X7ObI4=; b=SFxFmXSpEl7aQTZMNvceDZ7h7/vZS5CR8TSXhAu661r9tggYc97Sq1q87htzcKOGbo6wBo NM7SMp/jQVVJYvrraxTbZOgbbgBvvUl0/b9VeVd2O5bc0f7eiZFxY03iNIzDHBIve+WNy7 yIGS0q6QSEZYKwCv6RK1in+2DT1CmzVqbFym0uPebA60Rz2VODvbYGudBz0lrFL/igoesV aDoqVvIt0q4veJ7f7U/ZFyztgd1MEQbwoIpukEWcxtD3HZMbh4Evd85MlsuKL9dKFw2aAy QW5t339aBcfqzmtR+7g8NhfCYmLYeBiX11ppqTRofqgI9UUXuFewAdzvLT+47A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708358098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bEnlqSRlwvlrLkErx0rL1ZZTMmCapG/UfDxG/X7ObI4=; b=bXGHXZOZwMwVLUqWEUub/FScytsjczBSpZbgvf303K4doHWeBvHmjrd5id/6AnyonDbq0l hpHsA3qZZ3vL+eDA== To: Ankur Arora , linux-kernel@vger.kernel.org Cc: peterz@infradead.org, torvalds@linux-foundation.org, paulmck@kernel.org, akpm@linux-foundation.org, luto@kernel.org, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, willy@infradead.org, mgorman@suse.de, jpoimboe@kernel.org, mark.rutland@arm.com, jgross@suse.com, andrew.cooper3@citrix.com, bristot@kernel.org, mathieu.desnoyers@efficios.com, geert@linux-m68k.org, glaubitz@physik.fu-berlin.de, anton.ivanov@cambridgegreys.com, mattst88@gmail.com, krypton@ulrich-teichert.org, rostedt@goodmis.org, David.Laight@ACULAB.COM, richard@nod.at, mjguzik@gmail.com, jon.grimm@amd.com, bharata@amd.com, raghavendra.kt@amd.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, Ankur Arora Subject: Re: [PATCH 00/30] PREEMPT_AUTO: support lazy rescheduling In-Reply-To: References: Date: Mon, 19 Feb 2024 16:54:58 +0100 Message-ID: <87msrw8n59.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Tue, Feb 13 2024 at 20:27, Thomas Gleixner wrote: > On Mon, Feb 12 2024 at 21:55, Ankur Arora wrote: > >> Hi, >> >> This series adds a new scheduling model PREEMPT_AUTO, which like >> PREEMPT_DYNAMIC allows dynamic switching between a none/voluntary/full >> preemption model. However, unlike PREEMPT_DYNAMIC, it doesn't depend >> on explicit preemption points for the voluntary models. >> >> The series is based on Thomas' original proposal which he outlined >> in [1], [2] and in his PoC [3]. >> >> An earlier RFC version is at [4]. Aside of the nitpicks from me and Mark this really looks promising! Thanks for working through this. tglx