Skip to content

KFunc scx_bpf_destroy_dsq

v6.12

This function destroys a custom DSQ.

Definition

Destroy the custom DSQ identified by dsq_id. Only DSQs created with scx_bpf_create_dsq can be destroyed. The caller must ensure that the DSQ is empty and no further tasks are dispatched to it. Ignored if called on a DSQ which doesn't exist. Can be called from any online scx_ops operations.

Parameters

dsq_id: DSQ to destroy

Signature

void scx_bpf_destroy_dsq(u64 dsq_id)

Usage

Docs could be improved

This part of the docs is incomplete, contributions are very welcome

Program types

The following program types can make use of this kfunc:

Example

Docs could be improved

This part of the docs is incomplete, contributions are very welcome