Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1292746lql; Tue, 12 Mar 2024 12:40:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+PiKipprexag5LTOyavMXwKDircN+d4u810cn8WvEij+o5FJ/FYTJWazgwNkOvvu023+1gOFf5aGb9vO1aEuuSA1jhN+botOdGqNEeQ== X-Google-Smtp-Source: AGHT+IHk9Seq5gAEHes1gewDitqdpLQcvNM+ZwDTkFJYDQXADfZWFgKDg4/RwZ58vt3uEUdpLXpZ X-Received: by 2002:a17:902:7403:b0:1dc:518e:45b7 with SMTP id g3-20020a170902740300b001dc518e45b7mr9963984pll.49.1710272412605; Tue, 12 Mar 2024 12:40:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710272412; cv=pass; d=google.com; s=arc-20160816; b=vyHdFWRhAh3Wt2h0fZWeyOdaTk+U4rQCYjLsVJYDuo/A3o4liMKlib4KsP6zoVHWUU IQ1fBEc9Yo2r0TQDJ2GNSqj61i5JCWsJLYviXfDfiILENSbhCr++Q6By7625KF6mZhNL UFnKaOO3EvyCjEeRzGodLLYf6eXbm607QFJpYZpPOhQiaG6KNuMp9raADZ87/lxFkfyg y3gXNbCDwQCdpxUBZTYFqsDjgKtrSTqHDxY56OPDmBxu6gu58xI1rHZ+E/mrKApKeJpt Z7dgKYXyxvU482jSu6FYUKDw7sPdMZWL4fdcpEIpaatMtFIMWqq20u2LrPErcVc2g3lA T3Zg== 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:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=DVeQCvxr8qIzgMG25jiLSrdSpy5RqmsQpuqfnYLQbkw=; fh=oAu2oy/PuUZE8VhMeChUEKcTnNg5+mZw/y2kTENSc3s=; b=k8CIzbfQj6MJjJxfS0ZKYh6okvoDcZs3bJtrXIfKXIXCNW2f9uicHW78jixjckO+xa 1VB7/NbXxmF5oAh4MJlJBy4NGIDaVQ9FcLUyodKkcnV7/+00m7XA0bJQLrtkChfEKi8G P91X5QS9pkKHpKcdKY9+2qeKHUPthhyrsg57Cp5RY8HRNj86oOe0PVD15N307MgoFTzc cm+QVCM5A25a0FfKAaSyPp9RAlg5LcFd1EE6j2uoFiiCShO6G3vBXOZMe81oeh8Sz8VO E7lMZ1a4CS8nYy8CHBMOS5xIJFXaRZNHt8Z0DVKZHKV14+0ZiKDEqzIwxIlgII7I1nXY U1Tg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="SYOo/XDG"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100718-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lm3-20020a170903298300b001d8e974ed24si7454915plb.626.2024.03.12.12.40.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 12:40:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100718-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="SYOo/XDG"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-100718-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 4C442281607 for ; Tue, 12 Mar 2024 19:40:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B47B614264F; Tue, 12 Mar 2024 19:40:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SYOo/XDG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 ACF26139580 for ; Tue, 12 Mar 2024 19:40:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710272406; cv=none; b=jI5NO9NcMcid/nyZNHQzVaWESUoOrQwf/TerTlQpfees06zlENfsu053YfbnUPH/ob6d0k8PkytdA9EROBRpDoXH6742xzhevK/9UGful4PTM96UyWCED3yb/gTVChAeOubn22AtGieeMAQ12/55/Sn/82n1j5uKHbipfPB7n04= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710272406; c=relaxed/simple; bh=okjnyuV3qRyIwA1q+mq9Bab3HPTae2KkQUI3a1rLtss=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KTabsiQF7DMt/kNjDLWKoWZtgLQhdYxZ2JE9O6HithBuAf/KHokpDJeNglPFyCe281JOXp6AjWZdTvRsbMMerp3GUpu71tTn9qbFOMhUPR3Xz9Tn/rkL2XadY6gBFVgWCg3TOE/zgKihP+TMgrwOc9AFjOX2WUI5r11gWjc6jig= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SYOo/XDG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 239BFC433C7; Tue, 12 Mar 2024 19:40:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710272406; bh=okjnyuV3qRyIwA1q+mq9Bab3HPTae2KkQUI3a1rLtss=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=SYOo/XDGLPRGLSiEAXvXdVCwEiynDyywJQi0gtFmxp9yTMzEQRGoS1fplrXbbBM7W BCpEG3hibPB1UgJjJzG7sAhAEio8zi5vQNBPhY6E47ECyI/+kh6BlJgPzD/Fd4RxSI 5V6VGw8Mmmnh78Ker3frH944PXBiWeqJWjhub9YPL51viy3y8kKr4xvFOU4I4ZEJ4T B3cvXzQqp1kMPHSi2tIGJqHHy3JVB2o/COMuNFEv6+1lgcPz2DjeqMb4Vha5oT4ViV 4L+6Bks0FBpapXEqbqCZ1pwfFA/fn7or2yFvBQKeXL8TYsml9BLCAmCUzjjK+h57ft EyMNo2pXETjDw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B36E4CE0C4C; Tue, 12 Mar 2024 12:40:05 -0700 (PDT) Date: Tue, 12 Mar 2024 12:40:05 -0700 From: "Paul E. McKenney" To: Thomas Gleixner Cc: Linus Torvalds , 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 Message-ID: Reply-To: paulmck@kernel.org References: <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> <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; charset=us-ascii Content-Disposition: inline In-Reply-To: <874jdbpryq.ffs@tglx> On Tue, Mar 12, 2024 at 01:14:37PM +0100, Thomas Gleixner wrote: > 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. Precisely! ;-) Thanx, Paul