Skip to content

Commit 300af5f

Browse files
committed
🚧 conf-window: Update preempt options for 6.13
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]>
1 parent 525f7de commit 300af5f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/conf-window.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ namespace {
102102
GENERATE_CONST_LOOKUP_OPTION_VALUES(kernel_name, "cachyos", "bore", "rc", "rt", "rt-bore", "eevdf", "bmq")
103103
GENERATE_CONST_LOOKUP_OPTION_VALUES(hz_tick, "1000", "750", "600", "500", "300", "250", "100")
104104
GENERATE_CONST_LOOKUP_OPTION_VALUES(tickless_mode, "full", "idle", "perodic")
105-
GENERATE_CONST_LOOKUP_OPTION_VALUES(preempt_mode, "full", "voluntary", "server")
105+
GENERATE_CONST_LOOKUP_OPTION_VALUES(preempt_mode, "full", "lazy", "voluntary", "none")
106106
GENERATE_CONST_LOOKUP_OPTION_VALUES(lto_mode, "none", "full", "thin")
107107
GENERATE_CONST_LOOKUP_OPTION_VALUES(hugepage_mode, "always", "madvise")
108108
GENERATE_CONST_LOOKUP_OPTION_VALUES(cpu_opt_mode, "manual", "generic", "native_amd", "native_intel", "zen", "zen2", "zen3", "sandybridge", "ivybridge", "haswell", "icelake", "tigerlake", "alderlake")
@@ -511,8 +511,9 @@ ConfWindow::ConfWindow(QWidget* parent)
511511

512512
QStringList preempt_modes;
513513
preempt_modes << "Full"
514+
<< "Lazy"
514515
<< "Voluntary"
515-
<< "Server";
516+
<< "None";
516517
options_page_ui_obj->preempt_combo_box->addItems(preempt_modes);
517518

518519
/* clang-format off */

0 commit comments

Comments
 (0)