Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace usage of maxSystemThreads with maxSysmsgThreads. #10431

Merged
merged 1 commit into from May 14, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented May 10, 2024

Replace usage of maxSystemThreads with maxSysmsgThreads.

Systrap will never create more stub-worker threads than
maxSysmsgThreads, so there's no need to allocate memory that
will never be used.

Also change initialization of maxSysmsgThreads to happen at
platform creation time, to account for the fact that gVisor
sets GOMAXPROCS at boot.

@copybara-service copybara-service bot added the exported Issue was exported automatically label May 10, 2024
@copybara-service copybara-service bot force-pushed the test/cl632634413 branch 5 times, most recently from 3fcd309 to 67a4564 Compare May 14, 2024 03:12
Systrap will never create more stub-worker threads than
maxSysmsgThreads, so there's no need to allocate memory that
will never be used.

Also change initialization of maxSysmsgThreads to happen at
platform creation time, to account for the fact that gVisor
sets GOMAXPROCS at boot.

PiperOrigin-RevId: 633420808
@copybara-service copybara-service bot merged commit 211bb0f into master May 14, 2024
@copybara-service copybara-service bot deleted the test/cl632634413 branch May 14, 2024 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant