Kernel topics on the radar
Kernel topics on the radar
Posted Aug 3, 2021 5:40 UTC (Tue) by itsmycpu (guest, #139639)Parent article: Kernel topics on the radar
So for task isolation with version 2 of the patch set, if I want to remove as much OS noise as possible, I would do the following on a nohz CPU:
assert( (prctl(PR_ISOL_FEAT, 0, 0, 0, 0) & ISOL_F_QUIESCE) != 0);
int max_silence = prctl(PR_ISOL_FEAT, ISOL_F_QUIESCE, 0, 0, 0);
assert( prctl(PR_ISOL_SET, ISOL_F_QUIESCE, max_silence, 0, 0) >= 0);
assert( prctl(PR_ISOL_CTRL_SET, ISOL_F_QUIESCE, 0, 0, 0) >= 0);
Correct? (Assuming I'm not afraid of regressions..what regressions?)
