From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from m16.mail.126.com (m16.mail.126.com [117.135.210.6]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F03C92EAE5 for ; Wed, 8 Jan 2025 02:39:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=117.135.210.6 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736303982; cv=none; b=DejbIbxsPCKwncGrV079M0iNiaI9cdRZTzugClSA5aTqFhp63D39ofIcAFuOtjMogduFD+UBuEntuL1Meus5/MaG9XLczLVSV6HRzxopoE5ERIENG3KSl6G9C9I6MxxI/UUXqQ1xz+79tjxo/mPMS22vlsplMcuxK7cmwwFBr2I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736303982; c=relaxed/simple; bh=aVYT3PwgsFWZOu2qb1LfqUtq0TGJ0R42zSMQ9hJOvW4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dmAPjmaAsEPTUm9pTlJflPTKecIqkALX52o7hI7IqZ5Mv8ktlKCOGKtZfYVOrww4B/iYAjFXIgJJZkCEg1XxZLTFgYtBWNHz6Xduvd+2XmxCihhLhrNfGPPq6Er9ydPZP2mprMd6cvDhKOxwE0BVm5V1OdnPITIXZnBMTczLudM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=126.com; spf=pass smtp.mailfrom=126.com; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b=G9K/1SIu; arc=none smtp.client-ip=117.135.210.6 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=126.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=126.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b="G9K/1SIu" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Message-ID:Date:MIME-Version:Subject:From: Content-Type; bh=7VnJJXzj8vwC3L2vdWD05LAuwCvbEOy7qXP9Mi7o59I=; b=G9K/1SIu3JL6PZTNUdp13lPZCOtDjwu28cURgsVETrOUreLo5rqmZs//Dcbvsm lwRZ5m8GGlcn4KtnObfhI0m5fjATxrSAETBbar3cuA7w1ZiXmEubSUvZEr7E0d41 a45drKZk/s8hfmD5Fpw9m2ENxHYWKxYWSrYr0LKU15JSE= Received: from [172.24.148.16] (unknown [111.204.182.99]) by gzsmtp3 (Coremail) with SMTP id pykvCgAHblHu2X1nNWQLDg--.49030S2; Wed, 08 Jan 2025 09:50:39 +0800 (CST) Message-ID: <53f2972d-bbec-4fc4-af52-726c17f8c0ee@126.com> Date: Wed, 8 Jan 2025 09:50:38 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] sched_ext: switch class when preempted by higher priority scheduler To: Tejun Heo 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 References: <20250107014605.52403-1-jameshongleiwang@126.com> Content-Language: en-US From: Honglei Wang In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CM-TRANSID:pykvCgAHblHu2X1nNWQLDg--.49030S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUU8529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUwoGQDUUUU X-CM-SenderInfo: 5mdpv2pkrqwzphlzt0bj6rjloofrz/1tbirx7OrWd9ytHpsQAAsL On 2025/1/8 04:34, Tejun Heo wrote: > 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. > OK, will send a update later. Thanks, Honglei