Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion zephyr/schedule.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
#include <sof/schedule/ll_schedule.h>
#include <rtos/alloc.h>
#include <rtos/symbol.h>
#include <rtos/userspace_helper.h>
#include <sof/lib/cpu.h>
#include <ipc/topology.h>

static struct schedulers *_schedulers[CONFIG_CORE_COUNT];
static APP_SYSUSER_BSS struct schedulers *_schedulers[CONFIG_CORE_COUNT];
Comment on lines +13 to +17
Copy link
Copy Markdown
Collaborator

@lyakh lyakh May 29, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are all schedulers going to run in userspace? E.g. we still have EDF and it's still used by, e.g. kpb. As long as the privileged mode uses this, seems rather risky to me to let userspace overwrite it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lyakh That is the goal. This does leave a gap currently with EDF. Ideally, the SOF schedule.h will only handle audio application logic (how to schedule audio pipelines), while the lower level scheduling is moved to Zephyr. We do have some remaining work to do, especially with EDF used for IPC task.


/**
* Retrieves registered schedulers.
Expand Down
Loading