Re: [PATCHSET v6] sched: Implement BPF extensible scheduler class

Tejun Heo
2024-05-02T19:20:18Z

Hello, Peter.

On Thu, May 02, 2024 at 10:48:00AM +0200, Peter Zijlstra wrote:
> Can you please put your efforts and the touted Google collaboration in
> fixing the existing cgroup mess?

I suppose you're referring to Rik's flattened hierarchy patchset.

https://lore.kernel.org/all/20190822021740.15554-1-riel@surriel.com

Rik spent a lot of time and energy on it and IIRC one of the reasons why it
didn't get pushed further was the lack of any enthusiasm or support from the
upstream community.

We can resurrect the discussion on that patchset but how is that connected
to sched_ext? One of the example schedulers, scx_flatcg, does employ the
same approach with a twist (instead of flattening completely, it builds
two-level hierarchy so that a leaf cgroup can be treated as a single entity)
to demonstrate the idea but the two projects don't really have much in
common otherwise. Are you saying that Meta and Google working on the
flattened hierarchy is a prerequisite for landing sched_ext?

Thanks.

--
tejun