Skip to content

Commit

Permalink
🚧 conf-window: Update preempt options for 6.13
Browse files Browse the repository at this point in the history
6.13 introduced the lazy preemption model. To incorporate this, the server option was renamed to none and lazy
was added.

Signed-off-by: Eric Naim <[email protected]>
  • Loading branch information
1Naim committed Jan 20, 2025
1 parent 525f7de commit 300af5f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/conf-window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ namespace {
GENERATE_CONST_LOOKUP_OPTION_VALUES(kernel_name, "cachyos", "bore", "rc", "rt", "rt-bore", "eevdf", "bmq")
GENERATE_CONST_LOOKUP_OPTION_VALUES(hz_tick, "1000", "750", "600", "500", "300", "250", "100")
GENERATE_CONST_LOOKUP_OPTION_VALUES(tickless_mode, "full", "idle", "perodic")
GENERATE_CONST_LOOKUP_OPTION_VALUES(preempt_mode, "full", "voluntary", "server")
GENERATE_CONST_LOOKUP_OPTION_VALUES(preempt_mode, "full", "lazy", "voluntary", "none")
GENERATE_CONST_LOOKUP_OPTION_VALUES(lto_mode, "none", "full", "thin")
GENERATE_CONST_LOOKUP_OPTION_VALUES(hugepage_mode, "always", "madvise")
GENERATE_CONST_LOOKUP_OPTION_VALUES(cpu_opt_mode, "manual", "generic", "native_amd", "native_intel", "zen", "zen2", "zen3", "sandybridge", "ivybridge", "haswell", "icelake", "tigerlake", "alderlake")
Expand Down Expand Up @@ -511,8 +511,9 @@ ConfWindow::ConfWindow(QWidget* parent)

QStringList preempt_modes;
preempt_modes << "Full"
<< "Lazy"
<< "Voluntary"
<< "Server";
<< "None";
options_page_ui_obj->preempt_combo_box->addItems(preempt_modes);

/* clang-format off */
Expand Down

0 comments on commit 300af5f

Please sign in to comment.