diff options
| author | Max Zhen <max.zhen@amd.com> | 2026-04-15 10:11:39 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-04-16 08:53:57 -0700 |
| commit | 6771275b4c96942b1b22ddcc9216e8458d206540 (patch) | |
| tree | 1b606238b9a66572afbcb6937a2e769360c8cc7b /include/linux/timerqueue.h | |
| parent | 126c50bc2fb6ddfe5b7718de67bbd7592a1062bb (diff) | |
accel/amdxdna: Add hardware scheduler time quantum support
Add support for configuring the hardware scheduler time quantum to
improve fairness across concurrent contexts.
The scheduler enforces a fixed time slice per context, preventing
long-running workloads from monopolizing the device and allowing
other contexts to make forward progress.
The default time quantum is 30ms and can be configured via the
time_quantum_ms module parameter.
Signed-off-by: Max Zhen <max.zhen@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260415171139.904947-1-lizhi.hou@amd.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
