drm_mock_sc...it_scheduled(9)
π drm_mock_sched_job_wait_scheduled
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, we're in the big leagues now π and the star of the show is this little function right here. (The header up top got squished into drm_mock_sc...it_scheduled(9) because terminals are dramatic, but you and me? We know her full name.)
β¨ NAME β¨
drm_mock_sched_job_wait_scheduled β literally just waits until a job is scheduled. that's it. that's the whole vibe. β³
πΈ SYNOPSIS πΈ
bool drm_mock_sched_job_wait_scheduled (struct drm_mock_sched_job *job ,
long timeout );
she returns a bool, no cap. π«Ά
π¦ ARGUMENTS π¦
jobβ the job you're waiting on. your main character, fr fr.timeoutβ how long you're willing to wait, measured in jiffies. yes jiffies, that's a real unit, iykyk β±οΈβ¨
π RETURN π
trueβ she got scheduled inside the timeout you gave her. slay. πfalseβ timeout hit and it's giving nothing. π
π₯ SEE ALSO π₯
bestie this is the whole friend group, go say hi:
- the kernel file
./drivers/gpu/drm/scheduler/tests/sched_tests.hπ struct drm_mock_scheduler(9)struct drm_mock_sched_entity(9)struct drm_mock_sched_job(9)drm_mock_sched_job_submit(9)drm_mock_sched_job_set_duration_us(9)drm_mock_sched_job_is_finished(9)drm_mock_sched_job_wait_finished(9)
ngl the actual source lives at ./drivers/gpu/drm/scheduler/tests, so if you ever get lost, that's the address. πΊοΈ
and that's the page, periodt π
π β huge thank you to the ./drivers/gpu/drm/scheduler/tests crew, dated October 2026, for this absolute icon of a manpage. mwah. ππ§π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms