Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1015250lql; Tue, 12 Mar 2024 05:14:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUz8ZTO/Yl2c56An5bBA7E1YSvTpn4kfKM92Rkzv8CwNuWJAmFGYkDAWV3F3k7U7ZjqEX2VJPafQXF71g/B7oLwfM9Cd0ryp+biPy5H5A== X-Google-Smtp-Source: AGHT+IGackfzFDCbBa5QJsNY6JLhO5GzLNDD+DCQnLFF+2sslOG8Cg7xcO/OkQA9Rhpvr9u2vNig X-Received: by 2002:a05:622a:1ba2:b0:42e:d4d3:1e2 with SMTP id bp34-20020a05622a1ba200b0042ed4d301e2mr15280274qtb.12.1710245686906; Tue, 12 Mar 2024 05:14:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710245686; cv=pass; d=google.com; s=arc-20160816; b=eda641D/SKYKP3FBEkfDaen1mIdly4MwzOMhOFM1GOjT+sCa7rI+EgUhrTOwEsE8Am MS/EbOOC5d47PkQ59Wm/49hT0gLEi5z/qW4tTXU5JlsF3Em+2+S/ozVL4jT06lwb8bVn em3AOQ9ogz4+BiFQG4xdZXUJjzm2SWGI9Lph9m1gS9m68NFq7PlbJfdYXZwk2/rKKaFu 0ePDcVkGtQ6mMd3IMKJOj9DY8SsglQ4wk/HZPpioB3/negQLVRGGm/yTgTh+pmpDa9E/ IbHvLyw1n9QlS3FdkH8IllHUtYlCR5PdqUoEVJ9cCh03k1NrfAL41UgC+Q+28LMBSCsv 5lXg== 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=y18eeX/Yx/yH4J1aJ3VViEIStJc/tQ3iaE0+3J4JX7g=; fh=l14PFhabhioYdMUC2R7ikXew4rphoe32olPRmq5tm+U=; b=OzKUa9XMlTGaPX9x/Sg5YU95xdRkmPoOQ7R8uEL6y7QdtH/pb9YZhUszH3o5gcl1dg t5bVlrop00cFolpPdzC/3IoiVeA8sMPYmCpa7qAbIs19bNzFL9RhxLJYMJvxePW1MmMW hVrwN8HuILKyG2Mo+YOFBqr0moi+HJSPUQ5XZjXahkS6oCsB8xdkpfbZnsuUWMTtP5Ev y+YKol3Ed1KkB+d19poY/K8Q0JUzx4EbdMhLMpeZ7KhaT9XrApAiaOdHx3Kh7idFtery 3A4Rh0EZfndivGyej5upln4u57Kw5kgm/eflXCYq4mSZS8XCHwnfKF7F9qDIeU6ZVSLI H9fA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=xRhgamOS; 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-100239-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100239-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 e13-20020ac8598d000000b0042ed8f4ae31si7311024qte.515.2024.03.12.05.14.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 05:14:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100239-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=xRhgamOS; 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-100239-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100239-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 A0C1E1C21882 for ; Tue, 12 Mar 2024 12:14:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E2C179DDF; Tue, 12 Mar 2024 12:14:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="xRhgamOS"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="SQWs82/o" 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 6B8E456471 for ; Tue, 12 Mar 2024 12:14:40 +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=1710245681; cv=none; b=e/DP7sK5duoOtfbqsdO2EoDF9kZWiVJXfUD2Ez4hFyskTjDr6XXZwGhYQb3Ucl/kb0B/ae/4bqBACdMtNTYd5Sg3JqgAWAqx0SSIRY234nR4t0C+3Ln/C/qX1PWODzfQf+MBo1eKI0s+GQtZd5HDmts0l3VsI9AtJLd1HhvLYpc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710245681; c=relaxed/simple; bh=bUrvALHjXh34etszRkPzF7BVGeHVSzCgLsjg21KCRPE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=IxcdRufuZ+tDqS4RF3itpoKS7+XCkpSE9mDuRyXt7VMT5CUKrn04N6WugqVFvEJJ75wYDLI2x4ZKiVQvOPUWzdmAg2xG9y5lA/E+TT30cvKyApKLQr8GuBoG8jH5MJFZmEEEH/kbnLn4rcqgz/rCIjksmnQHE9+gjQKKPl24tkc= 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=xRhgamOS; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=SQWs82/o; 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=1710245678; 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=y18eeX/Yx/yH4J1aJ3VViEIStJc/tQ3iaE0+3J4JX7g=; b=xRhgamOSDmcrpxbtk/VqIciRgKWBPzFtwjMcBdywFnWCvM9pk4eLv9F+r92obZ6PleJBVb I31tNry3LMbmtU56J+YOwg5wN2o3t59GyF/ew02ZQIijnEI7n8UQj2Fi5Ol5cg+X/bbID4 /iNhJVBh29KTzZK/iMRPglpmcb+TF95nNAoFnHWVrclSq0hLjWA3Jtu7JntecLmeEo4Ir1 eLqw752oyt02hO8CX74J1Jj5ef20zLN1RVgU23394pP581s765jL5skrAtBV/qYtk05DCE v6ze5O90JT3hiK5p1PQ5juT2N3uQIhMbP1ImqpjoXAM9+EizFFVUEUP1lvKb5w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710245678; 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=y18eeX/Yx/yH4J1aJ3VViEIStJc/tQ3iaE0+3J4JX7g=; b=SQWs82/onNtgNVF1BtyBWyjMp129gVAsojbwlusAoFjEbxPbk0m8R9JJdNk7PeZIEkgzT9 mO2OB1ZuLOHqMgAA== To: paulmck@kernel.org, Linus Torvalds Cc: Ankur Arora , Joel Fernandes , linux-kernel@vger.kernel.org, peterz@infradead.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 Subject: Re: [PATCH 26/30] sched: handle preempt=voluntary under PREEMPT_AUTO In-Reply-To: <85cba8bd-5d2f-4da2-b4f9-93ae7c6a2a45@paulmck-laptop> References: <12a20651-5429-43df-88d7-9d01ff6212c6@joelfernandes.org> <63380f0a-329c-43df-8e6c-4818de5eb371@paulmck-laptop> <6054a8e0-eb95-45a3-9901-fe2a31b6fe4e@paulmck-laptop> <87plw5pd2x.fsf@oracle.com> <87wmq9mkx2.fsf@oracle.com> <36eef8c5-8ecd-4c90-8851-1c2ab342e2bb@paulmck-laptop> <87cys0il7x.fsf@oracle.com> <85cba8bd-5d2f-4da2-b4f9-93ae7c6a2a45@paulmck-laptop> Date: Tue, 12 Mar 2024 13:14:37 +0100 Message-ID: <874jdbpryq.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 Mon, Mar 11 2024 at 17:03, Paul E. McKenney wrote: > On Mon, Mar 11, 2024 at 01:23:09PM -0700, Linus Torvalds wrote: >> Because any potential future case is *not* going to be the same >> cond_resched() that the current case is anyway. It is going to have >> some very different cause. > > Fair enough, and that approach just means that we will be reaching out > to Ankur and Thomas sooner rather than later if something goes sideways > latency-wise. ;-) You can't make an omelette without breaking eggs.