Skip to content
Closed
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions drivers/cpuidle/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ config CPU_IDLE_GOV_HALTPOLL

Some virtualized workloads benefit from using it.

config CPU_IDLE_GOV_EXT
bool "bpf cpuidle ext governor"
depends on BPF_SYSCALL && BPF_JIT && DEBUG_INFO_BTF
default y
help
This governor implements a simple cpuidle ext governor,
which can be customized by a BPF program without modifying
kernel code.

Some scenarios benefit where CPUidle policy needs
to be customized based on user-space requirements.

config DT_IDLE_STATES
bool

Expand Down
1 change: 1 addition & 0 deletions drivers/cpuidle/governors/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ obj-$(CONFIG_CPU_IDLE_GOV_LADDER) += ladder.o
obj-$(CONFIG_CPU_IDLE_GOV_MENU) += menu.o
obj-$(CONFIG_CPU_IDLE_GOV_TEO) += teo.o
obj-$(CONFIG_CPU_IDLE_GOV_HALTPOLL) += haltpoll.o
obj-$(CONFIG_CPU_IDLE_GOV_EXT) += ext.o
Loading
Loading