Skip to content

25.3.5 Backport of #79147: Remove guard pages from fibers and alternative stack for signals in threads - #893

Merged
Enmk merged 3 commits into
releases/25.3.5from
backports/25.3.5/79147
Jul 11, 2025
Merged

25.3.5 Backport of #79147: Remove guard pages from fibers and alternative stack for signals in threads#893
Enmk merged 3 commits into
releases/25.3.5from
backports/25.3.5/79147

Conversation

@zvonand

@zvonand zvonand commented Jul 10, 2025

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Remove guard pages for threads and async_socket_for_remote/use_hedge_requests. Change the allocation method in FiberStack from mmap to aligned_alloc. Since this splits VMAs and under heavy load vm.max_map_count can be reached. (ClickHouse#78423 by @azat, ClickHouse#79147 and ClickHouse#79533 by @CheSema)

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

azat and others added 3 commits July 10, 2025 14:36
Better guard pages with MADV_GUARD_INSTALL/MADV_GUARD_REMOVE (linux 6.13+)
…ack-protection

stack allocation in Fiber and alternative stack for signals
@zvonand zvonand added 25.3 25.3.5 Altinity Stable 25.3.5 labels Jul 10, 2025
@Enmk
Enmk merged commit dca3980 into releases/25.3.5 Jul 11, 2025
728 of 763 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

25.3 25.3.5 Altinity Stable 25.3.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants