Am 08.03.23 um 18:39 schrieb alyssa@rosenzweig.io:
You can't ask me for a list of pending jobs (the scheduler knows this, it doesn't make any sense to duplicate that outside)
Silly question: could you add a new exported function to drm_sched to get the list of pending jobs, to be used by the Rust abstraction internally? IDK if that makes any sense.
I was thinking about something similar as well. The problem is that you could only use this function from the scheduler thread itself, e.g. from one of its callback functions.
Christian.