From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 1A82F2DC76A for ; Wed, 19 Aug 2026 12:58:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787144300; cv=none; b=KK33R6kruDYztc3+7CZ3gy3m6FKqxV8BSGMvH7EwnseLTtLnWUJbyVzjer8riUcH8ZAVrEtsFi8aHhfBwWJFOWXzP3/rvk2bPGDHujftBw/Cz12z0SoaSdzWIT8Vnh0mfzKTLMzF7Q5I2As7FiXqYJ5YlcqsdFBzGPJ2ME9ZovQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787144300; c=relaxed/simple; bh=oBTUA454HNpUx7m5HyKZMra3gyAhQ5XEpzcJ3TOjozc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cpN7nTRj4cvDf6SFnG9oAhIDMMDelO16uHtl2onoTu5Sfv1nBNt8SUaEKeUnLkMRTZq25bo7OV9Kf/7VbbufhXhVsuJm/jIEpIsVcz/QAcj3jptophU0QGMkeUwkLJ73zuTRIPXV5cLrM+0nhLGhL1xQpe8Bk8Bu7ZsAVCha2lA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=eUizSEaH; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="eUizSEaH" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=sDw/u0DONLaLWdqYX6l7qmFHt1Lvk03vDTyr9wltp7o=; b=eUizSEaHfOYGjn8+2DNHR5mu5I xptZKJ1vu+Txh/Ve5ucfo7UEu89ZaXqbPA8g7mVwix73Fy1+1a73BWTFFg05qijtuwbEdjKL+SuXu nR7hQjLmGf9+MOVh5/0d0A0FgUU2Rh0aZp5YFPb9GcmXGTMqFjEKuODqvSfoom8f5fEVT2QBQjVoZ NXGGuzlXUvUAg75wBYKInC/q61VFBd5DT4I7AKrZETVt/C6ZhmLrte18Q4qUkarp1gIROFszt3GMc SmJjqzM/oPlmKBx4ltJ16qc+qQHBltk6jiEfdz9tWjjcK5ijnRUvMNLljgvJjl/VjRTLUAKZ0S601 FlCC8UCw==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1wwfrt-0000000DlGW-2pbh; Wed, 19 Aug 2026 12:58:09 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 7741830030F; Wed, 19 Aug 2026 14:58:08 +0200 (CEST) Date: Wed, 19 Aug 2026 14:58:08 +0200 From: Peter Zijlstra To: Shrikanth Hegde Cc: Hongyan Xia , Jiazi Li , "linux-kernel@vger.kernel.org" , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Valentin Schneider , K Prateek Nayak , Mark Rutland Subject: Re: [PATCH RESEND] sched: Move some scheduler fields to new static branch API Message-ID: <20260819125808.GR776954@noisy.programming.kicks-ass.net> References: <20260819080932.11564-1-hongyan.xia@transsion.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, Aug 19, 2026 at 05:49:48PM +0530, Shrikanth Hegde wrote: > Hi Hongyan. > > On 8/19/26 1:39 PM, Hongyan Xia wrote: > > From: Hongyan Xia > > > > __cfs_bandwidth_used uses struct static_key directly which is > > deprecated. Fix. > > A bit of context on why it is deprecated would help. > > > > > sk_dynamic_* uses static_key_{enable/disable}(), which aren't really > > deprecated, but take the opportunity to move to the new static_branch_* > > APIs to be consistent. > > > > Mark had a series to remove a few of them completely. IIRC only lazy > check will remain. Yeah, I have those pending. I'll smash everything together and see where the pieces fall post -rc1.