Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp458831lqr; Wed, 5 Jun 2024 10:45:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKvu3K0yfX6vG5IIiBEcUp7+QvnPn2PaDdsKIO5J3qRNioaJNGGV8J8vkyaAUmrEkxR/mVV6PL7cT+OLeMNt9uoCfoC+yuhAfaftuswg== X-Google-Smtp-Source: AGHT+IGk3iV+7AP99YJRKJyAsfKsfgyESzFRArtRs7fhzMP6MbjCALCyh506BBgltogtRtnQIsn9 X-Received: by 2002:a67:f28c:0:b0:48b:a807:2fe3 with SMTP id ada2fe7eead31-48c04ab6b35mr3650181137.32.1717609548661; Wed, 05 Jun 2024 10:45:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717609548; cv=pass; d=google.com; s=arc-20160816; b=t80KHOlgICH3DD3P2letwoKTyaFqAwgSBWv7YbPC0Y9748Ww92JFO2TPi4rltnIhII +CNTkpBm7R/kY9DXsikT0IIhMaaT2/EjMCgWtSeEVERbD4RcmW3doze4SdLMJIaPKkfq zDTxSmgV7Ds9PL9YWG+HVSLY2mpHS8FOSft1UIcUfhQUJU1ORloBqsDo2X5u9hNDL4Jx GUDPO5qfzPqQ6o8t3St7+UmmfSOquPVs6HdS2Y4sPz7qcFPZolgrpmduWeR+ics1AQCf xgTMwoMZWBLwe0U5jOtp57J+VWc6AMOmNi+ezlpq7q1bLdwtPGjjA4X770uiCNP62qbj 2W/Q== 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=VlzINK+QpsDFxMx2kaj/f/JTkuH3IRx1hsHjKwSce7k=; fh=X8115rPg/GEB7vHQO9ZNUm3sMPBCCLyabiqS+xQuPN0=; b=XfDliYRIaarfr4yiuAR8UTNrl1hONdLWjaWTCXw7hGXfX9Njw1q6wodvX+6p8MYA9L drWw8UFvrG2OSF7Z1cv3fGPazw2b/BKnW7yo4lz71m011fnpj8gne2f0gmCIbbvkbQQT yVGy4mUU6N7eBkgn9Bw0PDErq5qGVmHeLLG4SttnL6NsYaEKXRqt15w2bY7PcfdBU9cS aAS+spIXbJkKAXLmIm3u/joMEzRoCqAs8EWGaA0GI4N12tCXd4ifuYIagUMSkrEXOKjb cZUqhU+eHz8T+MKrE1CY8VEROuBwE+v12hvR+6xdsUlla2aUT1F5TZKPOqd6TyDCCunO 8e9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=R1h7ZkKD; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-202984-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202984-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a1e0cc1a2514c-80b21fcb209si1155314241.149.2024.06.05.10.45.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 10:45:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202984-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=@infradead.org header.s=desiato.20200630 header.b=R1h7ZkKD; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-202984-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202984-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 39B791C217A5 for ; Wed, 5 Jun 2024 17:45:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A44E413AD03; Wed, 5 Jun 2024 17:45:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="R1h7ZkKD" 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 9090213B58F for ; Wed, 5 Jun 2024 17:45:31 +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=1717609533; cv=none; b=GEKPl3ECL4BiedO8Jl1uKC4M/bb+Z3UcgNBj4Be3o6+zPmjjfeN27DgkwQrL9IYkRYMbQS7ZibxGXOpW3UGxI3BAM9+n6rSvBtrqyv9ZgrTG75I5K3wYpvvxmM7Otgy+rAuZe6AU6SFposN6mbTwDig6Wy1SBm0QhAYNEn/CPDM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717609533; c=relaxed/simple; bh=cfDXBiHcAgkf+70g6+M12g81o9le+UulmANraU6DG4E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nHa1pwEVitfSTKy+nYkMRSFaFTeWPxtWe8j/MIgsGMHMYuZXFe6bjUyKsXXpWNsnUmB3HMpwK0RjTD8Vmm9drO+Gt1ypOWD5KzDZjY9LKHxdv++0Ols1S6/oxZRvzW5AUsabsBFsFP/c+bGPf7p1zs9r2NtCF3sJcVjhQ8gAeSc= 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=R1h7ZkKD; 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=VlzINK+QpsDFxMx2kaj/f/JTkuH3IRx1hsHjKwSce7k=; b=R1h7ZkKDgug+lc/Kv/yohIWeYI nSE4lLUK65HkzWDEqLWhPgis7zcpws4cQgcTrACFrsD8vhh7mtrHvOmI+yflu3OtbiXVQd2aMtewv yIbpOmMoW3J8bTRvj5NWuql+Wx5diIm1Ntj47zY6R5/PhsZrdGIKowLRbvRS7XsIYciBaWKKqxCsU jyAowxfHEyjyoGtRm3CMZzel00wjv2uh5pNak/2Gh1LI7dGWrQBo88wY4PAkdHox6sCVrt+5q0ja+ yZTz3rDuwmj8Dt2aco3ik/dNw0M0eT25nxqRi1gMoRV3kQm44UhGIu0a/1TcfUfG/X2eLHTz8lwkA ebQiZCpQ==; 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 1sEuhM-0000000FosK-0Zcu; Wed, 05 Jun 2024 17:45:20 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 7F03E30068B; Wed, 5 Jun 2024 19:45:16 +0200 (CEST) Date: Wed, 5 Jun 2024 19:45:16 +0200 From: Peter Zijlstra To: Sean Christopherson Cc: Ankur Arora , 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 Subject: Re: [PATCH v2 00/35] PREEMPT_AUTO: support lazy rescheduling Message-ID: <20240605174516.GA8774@noisy.programming.kicks-ass.net> References: <20240528003521.979836-1-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: On Wed, Jun 05, 2024 at 08:44:50AM -0700, Sean Christopherson wrote: > On Mon, May 27, 2024, Ankur Arora wrote: > > Patches 1,2 > > "sched/core: Move preempt_model_*() helpers from sched.h to preempt.h" > > "sched/core: Drop spinlocks on contention iff kernel is preemptible" > > condition spin_needbreak() on the dynamic preempt_model_*(). > > ... > > > Not really required but a useful bugfix for PREEMPT_DYNAMIC and PREEMPT_AUTO. > > Sean Christopherson (2): > > sched/core: Move preempt_model_*() helpers from sched.h to preempt.h > > sched/core: Drop spinlocks on contention iff kernel is preemptible > > Peter and/or Thomas, would it be possible to get these applied to tip-tree sooner > than later? They fix a real bug that affects KVM to varying degrees. It so happens I've queued them for sched/core earlier today (see queue/sched/core). If the robot comes back happy, I'll push them into tip. Thanks!