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

Thomas Gleixner
2024-06-21T10:46:05Z

Tejun!

On Thu, Jun 20 2024 at 09:35, Tejun Heo wrote:
> On Thu, Jun 20, 2024 at 04:35:08AM +0200, Thomas Gleixner wrote:
>> When I sat there in Richmond with the sched_ext people I gave them very
>> deep technical feedback especially on the way how they integrate it:
>>
>> Sprinkle hooks and callbacks all over the place until it works by some
>> definition of works.
>
> I would characterize that part of the discussion more nebulous than deep.
> You cited a really high number for where SCX is hooking into the scheduler
> core and then made wide-ranging suggestions including refactoring all the
> schedulers, which seemed vague and out of scope. I tried to probe and we
> didn't get anywhere concrete, which is fine. It's difficult to hash out
> details in such settings.

It's not that nebulous. And fine if you tried and got nowhere, but did
you give feedback to those failed attempts or started a discussion with
anyone on the scheduler side? No.

>> That's perfectly fine for a PoC, but not for something which gets merged
>> into the core of an OS. I clearly asked them to refactor the existing
>> code so that these warts go away and everything is contained into the
>> scheduler classes and at the very end sched_ext falls into place. That's
>> a basic engineering principle as far as I know.
>>
>> They nodded, ignored my feedback and just continued to pursue their way.
>
> However, this is not true. During the discussion, I asked you multiple times
> to review the patches and point out the parts that are problematic so that
> they can be addressed and the discussion can become more concrete. You
> promised you would but didn't.

Yes, I said I will do two things:

- Talk to Peter
- Review the stuff again

I talked to Peter to come up with a proper plan in order to give
feedback. It was unfortunate that Peter vanished from the planet at that
time due to his shoulder incident.

As I said to Linus, I'm sorry that I afterwards dropped the ball
because I got dragged into other things and ran out of cycles.

I also asked you to reach out to the scheduler folks and work with them
to get things moving again. Are you really claiming that you couldn't do
that without me holding your hands?

> When we attempted to follow up with you afterwards, we got no responses.

I just checked and found three private mails from you which ended up in
the wrong filter dated Feb 1, Feb 9, Feb 16. My bad that I dropped
them, but definitely not because of desinterest or malice.

You can of course say you tried and I ignored you, but seriously?

If you really wanted to get my attention then you exactly know how to
get it like everyone else who is working with me for decades.

Thanks,

tglx