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 150BA1FF618 for ; Wed, 8 Jan 2025 16:46:49 +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=1736354810; cv=none; b=IfEzb84xrP3GIgh6nsbCSUWj74u/jEpH8rQtRSuOrsvV1lz0wK/x+dDESqb2L3eWOH95MFgdeq0MObgVIzzpA0nruaP/p7thZXZ9N6PSqfKnyGUArqjn08VkyE+2ZC389/ETKeHH/OGtuRxL4J0R1IXrOhPxGvB/iLdHD3CCabU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736354810; c=relaxed/simple; bh=HdBldQC04AQy5FbvbJSIYyhzXGQ1l1n51Ds3ogXw0zU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jycoBAQRUGGAEPlvrDJeZNb39psJ8ytLgIkUwUTDP6YrKf9LVoxtbP1bZRUDpGs+xjhCC7MwLYOLdq/32zjCMrjY+aeQpobXkBuHVmS0ymCawFqMbA3HujkpwVBKRoXfTZXJQrAFE/LFwu8Mb2/tENwgEoZQVaFWj4diu+gSy9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q0IOIEbv; 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="Q0IOIEbv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84688C4CEE4; Wed, 8 Jan 2025 16:46:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736354809; bh=HdBldQC04AQy5FbvbJSIYyhzXGQ1l1n51Ds3ogXw0zU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q0IOIEbvwlX3UExenaoeVZAf6hLck6PxtxfDNub17j1tx+1uIYYsvOnd8E1zJ13Gz try/PdGgeq/78T0B2RPhugOh9e/qmKftDhulR06QLe4FQCne4/ZdGusi9xvhG9gppx kgsRmYPBnVxQvNPptvCD+u/xq5P9zcg5cIc4Jn1HvTRJH7N3ZiTVhejiY/ilC7QlCN dhkx6PDMlL5z4uH0XkBkDFLIRj1ew4z8EnzYaaJoURZBZgV2pKXflgHqaZRUqQd0TK Hhr+ghF66LzhRUIwzUlf4qw7kubUkk99syWWu4du9d3FDj65u9VPYNsjjDLwMyTfVP dEA7Up9KEgXPw== Date: Wed, 8 Jan 2025 06:46:48 -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 v2] sched_ext: switch class when preempted by higher priority scheduler Message-ID: References: <20250108023328.37675-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: <20250108023328.37675-1-jameshongleiwang@126.com> On Wed, Jan 08, 2025 at 10:33:28AM +0800, Honglei Wang wrote: > ops.cpu_release() function, if defined, must be invoked when preempted by > a higher priority scheduler class task. This scenario was skipped in > commit f422316d7466 ("sched_ext: Remove switch_class_scx()"). Let's fix > it. > > Fixes: f422316d7466 ("sched_ext: Remove switch_class_scx()") > Signed-off-by: Honglei Wang Applied to sched_ext/for-6.13-fixes. Thanks. -- tejun