From mboxrd@z Thu Jan 1 00:00:00 1970 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 0066F1D958E for ; Tue, 7 Jan 2025 20:34:17 +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=1736282058; cv=none; b=frrpmUGMAvwV1HP7kyIvP+ZuvGyhcdPMJ36T6cj556KP4ENLku5vMzn1NVhRESAIEz+LYt8Q4ul7JtEKsJr51vSyHSdI9KHu/R8L4PzE7XSpPhHjoc2bFB5S6WkBturBS5i0YjfC238gaZN+tc1DL2bB+l6M4y9trbtWdiRunII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736282058; c=relaxed/simple; bh=bWJaKTlCOZI5AdhhY9aqKRj4vrpsnfQUeKpvXhdI9R8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jXysXFubq7O2TIWZH5cDVfrNrGSDsfbY1lTJJjzSJOfOdxrOxrfBnf/1DOYQkzThO+B9U/fHUvsUXCH+z9wqMlhqiJwazQhR8Unm4iG5xkjHfg4akDtGk0U2Z6TQssyeFuKUigqzdii0+TfektPtMjs4uvSZW6wE2y9COyA6JLY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XaQQeDpl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XaQQeDpl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7539EC4CED6; Tue, 7 Jan 2025 20:34:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736282057; bh=bWJaKTlCOZI5AdhhY9aqKRj4vrpsnfQUeKpvXhdI9R8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XaQQeDpllRb1dgdaM9xTjiPL+kGXLvI9HqAhYNIfIManQSUqZHTiLdzmRxIPtrfwC zcmdnlhc7kszgh1orvDBHX54mVZzWWG7uUKb6b0zeClERE009VpKLf6aL/iyx6EQ31 GNgHyx93vNDmrMB10Me3zhkA1SikNtmQICc1lDXb/61uNhizRU9fBvL3jOUOTkO4Zr oNNI2IPPn0e2wLZYxJQsBy8BMWC93q+vQ4egH2TfwRD+OQriwzcFi1Xj8FXgUoncof qU3RSSLE3EdJHF+DVi3/9bMkGk+wXQRjfMR1LLdT3KTFAi+M2wqpnKb/8bMqcQ4UJe flCXS45wHianQ== Date: Tue, 7 Jan 2025 10:34:16 -1000 From: Tejun Heo To: Honglei Wang Cc: void@manifault.com, arighi@nvidia.com, changwoo@igalia.com, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, vschneid@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sched_ext: switch class when preempted by higher priority scheduler Message-ID: References: <20250107014605.52403-1-jameshongleiwang@126.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: <20250107014605.52403-1-jameshongleiwang@126.com> Hello, Honglei. On Tue, Jan 07, 2025 at 09:46:05AM +0800, Honglei Wang wrote: > It might be helpful to give BPF Scheduler a chance to invoke > cpu_release() function, if defined, when preempted by a higher > priority scheduler class task. > > Signed-off-by: Honglei Wang Can you update the patch description indicating that this is a bug fix? ops.cpu_release() must be invoked in this case but is being skipped. Thanks. -- tejun