From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) (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 D79F9370D72 for ; Fri, 15 May 2026 14:33:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778855599; cv=none; b=m+XRppFqIxEYMt050+ZBjVr8lQo3n9m3glziG2fCpW7JQKheLAnv2gELv1ZEcLWKWSscE0/7YLjSTx2plCKLR8clhpdtAZbvfaFB/hY+8tNabyJKtupsyTMM3DnnwqhOhetVRBr+FceJXT6BPwQQAlhhoI4yhrkJK3LLyW2BiVI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778855599; c=relaxed/simple; bh=byMR0J1OKISS8jbtK5FOWa6gaCSDvSVjVRcGuvTK/nE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Iw8nngfl+nHxHLRXdcnQnPCe/BYzkOsvxhDCFRUBu8zNiVqJP91v5F4c1fetaT/muBw8cp9eXMj8TYXrmfw3yAFfjODnGpT/4DtR70S/v8Kdlh0NVJFks38F2kzbYWQN6BOEsJ3xOv5bGac4yBDlrOzJ3Fx5IEkfZbv0zSTTa7A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org; spf=pass smtp.mailfrom=goodmis.org; arc=none smtp.client-ip=216.40.44.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=goodmis.org Received: from omf11.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay02.hostedemail.com (Postfix) with ESMTP id D8482120124; Fri, 15 May 2026 14:33:09 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: rostedt@goodmis.org) by omf11.hostedemail.com (Postfix) with ESMTPA id 976E52002A; Fri, 15 May 2026 14:33:07 +0000 (UTC) Date: Fri, 15 May 2026 10:33:15 -0400 From: Steven Rostedt To: LKML Cc: Peter Zijlstra , Tejun Heo , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman , Valentin Schneider , K Prateek Nayak , Kyle McMartin Subject: Re: [PATCH] sched/rt: Have RT_PUSH_IPI be default off for non PREEMPT_RT Message-ID: <20260515103315.508a8a7e@gandalf.local.home> In-Reply-To: <20260515103110.51a598dc@gandalf.local.home> References: <20260515103110.51a598dc@gandalf.local.home> X-Mailer: Claws Mail 3.20.0git84 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 976E52002A X-Stat-Signature: fctd5etsfk4sfe5kys7bwbeeca4tegy5 X-Rspamd-Server: rspamout01 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Session-ID: U2FsdGVkX19dRdNI82amGylJMV9ye71Axm6oPZZ6j3Q= X-HE-Tag: 1778855587-458247 X-HE-Meta: U2FsdGVkX1/WUSL3F9eJ4BUeP09Bgj08OOe9Cxxutt2iVeO729q5k4woJcVM+lGNyeQuv88oHSffffgRBjteEYjnQwqcflIoFlR8NMEeIxOWkYRFs8NUdOQ9DZ5MXhVoDu80Ruzjq8RuzbBHNua5aZySieP3nq4hGdQIQHqSC+MbefHNH5dmb0WyzfAwi7htSWwUScjz9YUczDxC1lvi/3RaNDREbqquuvxFmgv1fDcHjNnqj0bhPFAHk3EyIPWveMjr/fAZW3vOmCyXAt2TTjC4opbj40nme6NxOm5X5KzV4VCQUFD0mkTP/dhgfCb0iwK3uqfSg521IcWIFhd2OnZ75JgnH2cr50dC68r+7HB6WtrZpsgjrewKVlLnjlum On Fri, 15 May 2026 10:31:10 -0400 Steven Rostedt wrote: > diff --git a/kernel/sched/features.h b/kernel/sched/features.h > index 84c4fe3abd74..cce6d4159284 100644 > --- a/kernel/sched/features.h > +++ b/kernel/sched/features.h > @@ -110,8 +110,16 @@ SCHED_FEAT(WARN_DOUBLE_CLOCK, false) > * rq lock and possibly create a large contention, sending an > * IPI to that CPU and let that CPU push the RT task to where > * it should go may be a better scenario. > + * > + * This is best for PREEMPT_RT, but for non-RT it can cause issues > + * when preemption is disabled for long periods of time. Have > + * it only default enabled for PREEMPT_RT. > */ > +# ifdef CONFIG_PREEMPT_RT > SCHED_FEAT(RT_PUSH_IPI, true) > +#else > +SCHED_FEAT(RT_PUSH_IPI, false) > +#endif I just noticed that the #endif should be: # endif to match the indentation of the # ifdef. I'll send a v2. -- Steve > #endif