Skip to content

Refactor CpuCache locking and drain helpers. - #1285

Draft
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_993776544
Draft

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_993776544

Conversation

@copybara-service

Copy link
Copy Markdown

Refactor CpuCache locking and drain helpers.

Extract DrainLocksHeld from CpuCache::Drain, add ABSL_LOCKS_EXCLUDED
annotations, narrow resize_[cpu].available updates inside resize_[cpu].lock in
ResizeCpuSizeClasses, and remove the unused Parameters::max_per_cpu_cache_size_
declaration.

Extract DrainLocksHeld from CpuCache::Drain, add ABSL_LOCKS_EXCLUDED
annotations, narrow resize_[cpu].available updates inside resize_[cpu].lock in
ResizeCpuSizeClasses, and remove the unused Parameters::max_per_cpu_cache_size_
declaration.

PiperOrigin-RevId: 993776544

This branch has not been deployed

No deployments
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.

1 participant