Re: [PATCH 1/2] sched/fair: expose cpu.max.runtime to set bandwidth runtime directly

From: Tejun Heo

Date: Wed May 27 2026 - 15:04:48 EST


On Mon, May 25, 2026 at 09:36:21PM +0200, Fernand Sieber wrote:
> Add a cpu.max.runtime cgroup v2 interface that allows userspace to set
> the CFS bandwidth controller's runtime directly. This enables CPU credit
> injection: an orchestrator writes a runtime budget which the cgroup
> consumes naturally through the existing bandwidth enforcement mechanism.

Can you detail the use case? What problem is it solving how?

Thanks.

--
tejun