Skip to content

fix: keep ly session launcher out of idle scheduler - #597

Merged
Aarrayy merged 1 commit into
CachyOS:masterfrom
alexsmolya:fix/ly-session-launcher
Aug 22, 2026
Merged

Aarrayy merged 1 commit into
CachyOS:masterfrom
alexsmolya:fix/ly-session-launcher

Conversation

@alexsmolya

Copy link
Copy Markdown

Fixes #596

BG_CPUIO assigns ly-dm the SCHED_IDLE policy, which is inherited by descendants of the session launcher. Later rules that adjust nice or I/O priority do not necessarily reset the inherited scheduler policy.

Use the established Launcher type instead: it retains the intended background nice/IO behavior while explicitly restoring the normal scheduler policy. This follows the accepted #586/#587 session-manager precedent.

The change is intentionally limited to ly-dm; lxdm and gdm entries were not changed because this issue did not empirically establish the same runtime topology for them. Validation included rule parsing/dump resolution, inheritance checks, and git diff --check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ly-dm as BG_CPUIO puts the whole desktop session in SCHED_IDLE

2 participants