drm_sched_entity_kill(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_sched_entity_kill(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual entry for drm_sched_entity_kill β€” yes it's from the Kernel API Manual section, and yes it's giving "small function, big consequences" energy. let's get into it πŸŽ€


✨ NAME ✨

drm_sched_entity_kill β€” kill an entity's pending jobs and remove it πŸ”₯

like, the whole personality of this function is right there in the name. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

void drm_sched_entity_kill (struct drm_sched_entity *entity );

she takes exactly one thing and returns literally nothing. void. iconic minimalism.


🌸 ARGUMENTS 🌸

  • entity β€” the entity to remove. that's it. that's the whole argument list. go off queen πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

Removes the entity from the scheduler's run queue and kills all pending jobs. πŸ’€

so like β€” she's in the run queue, and then she is not. and everything she had pending? gone. not finished, not flushed, just killed. main character energy fr fr.

This function should be used over drm_sched_entity_flush if it is not desired to actually wait for all pending jobs to finish.

okay this is the part you gotta pay attention to, bestie 🌈 β€” drm_sched_entity_kill vs drm_sched_entity_flush is the whole vibe check here. if you genuinely do NOT want to block around and wait for every pending job to wrap up, drm_sched_entity_kill is your girl. if you do want to wait? that's a drm_sched_entity_flush situation and you're in the wrong manpage, iykyk 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

the source file, because reading the actual code is self care:

  • Kernel file ./drivers/gpu/drm/scheduler/sched_entity.c

and her whole friend group πŸ”₯:

like okay, group chat is FULL. every one of them linked in here matters, don't @ me 🧚


and that's the whole page, bestie ✨ this one came from ./drivers/gpu/drm/scheduler, dated October 2026 β€” so go forth, kill those entities, and remember: only reach for her when you truly don't wanna wait. mwah πŸ’…πŸ’œ

drm_sched_entity_kill(9) πŸ“

πŸ“¦ where this page comes from