Skip to content

config: use ADVISE for shmem/tmpfs transparent hugepages#875

Merged
ptr1337 merged 1 commit into
masterfrom
tmpfs-hugepage
Jun 14, 2026
Merged

config: use ADVISE for shmem/tmpfs transparent hugepages#875
ptr1337 merged 1 commit into
masterfrom
tmpfs-hugepage

Conversation

@ptr1337

@ptr1337 ptr1337 commented Jun 13, 2026

Copy link
Copy Markdown
Member

Fixes: #874

Signed-off-by: Peter Jung <admin@ptr1337.dev>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates CachyOS kernel configuration defaults for transparent hugepages (THP) on shmem/tmpfs to use the ADVISE mode, aligning with upstream behavior and addressing the reported Steam Overlay choppiness regression (issue #874) introduced by upstream’s “shmem/tmpfs hugepage defaults config choice” change.

Changes:

  • Switch shmem THP default from WITHIN_SIZE to ADVISE across kernel config variants.
  • Switch tmpfs THP default from WITHIN_SIZE (or NEVER in hardened) to ADVISE across kernel config variants.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
linux-cachyos/config Set shmem/tmpfs THP default to *_ADVISE=y instead of *_WITHIN_SIZE=y.
linux-cachyos-server/config Same shmem/tmpfs THP default switch to ADVISE.
linux-cachyos-rt-bore/config Same shmem/tmpfs THP default switch to ADVISE.
linux-cachyos-rc/config Same shmem/tmpfs THP default switch to ADVISE.
linux-cachyos-hardened/config Change shmem/tmpfs THP from NEVER to ADVISE.
linux-cachyos-eevdf/config Same shmem/tmpfs THP default switch to ADVISE.
linux-cachyos-deckify/config Same shmem/tmpfs THP default switch to ADVISE.
linux-cachyos-bore/config Same shmem/tmpfs THP default switch to ADVISE.
linux-cachyos-bmq/config Same shmem/tmpfs THP default switch to ADVISE.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ptr1337 ptr1337 merged commit 3bd5b77 into master Jun 14, 2026
1 check passed
@ptr1337 ptr1337 deleted the tmpfs-hugepage branch June 14, 2026 16:41
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.

[BUG] Steam Overlay very choppy when using kernel built with CachyOS config

2 participants