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

From: Tejun Heo
Date: Mon Dec 12 2022 - 12:27:53 EST


Hello,

On Mon, Dec 12, 2022 at 10:37:50AM +0100, Peter Zijlstra wrote:
> Anyway, I hate all of this. Linus NAK'ed loadable schedulers a number of
> times in the past and this is just that again -- with the extra downside
> of the whole BPF thing on top :/

Yeah, the whole BPF thing is what made this interesting for me and while
there still are frustrating shortcomings, BPF does make iteration and
deployment drastically safer and faster and we can try out ideas which
didn't seem feasible before with relative ease. Given the history, I suppose
some of the decision is upto Linus.

> You look to be exposing a ton of stuff I've so far even refused
> tracepoints for :-(

I tried to keep the exposure limited and am sure it can be much improved. If
you have specific ideas, I'm all ears.

> Anyway, I'm just back from a heavy dose of Covid and still taking it
> easy, but I'll go read through the whole thing, hopefully I'll finish
> before vanishing again for the x-mas break.

Mine wasn't too bad but it still sucked mightily. I wish a quick and full
recovery and thanks for taking a look.

--
tejun