Skip to content

Conversation

@kim
Copy link
Contributor

@kim kim commented Jul 3, 2025

If the system is not configured to pin IRQ handling, or doesn't have
enough cores, reserving those is wasteful. So let the caller choose.

Also:

  • Make fields of TokioCores pub, needed to create an extra runtime
  • Re-export CoreId

Expected complexity level and risk

1

Testing

It is advisable to use the pub CoreReservations::apply to check that the pool
allocations match expectations for the number of cores on the target system.

If the system is not configured to pin IRQ handling, or doesn't have
enough cores, reserving those is wasteful. So let the caller choose.

Also:

- Make fields of `TokioCores` `pub`, needed to create an extra runtime
- Re-export `CoreId`
@kim kim force-pushed the kim/core-pinning/irq-optional branch from 4f6c008 to 03e0289 Compare July 3, 2025 12:50
@kim kim added this pull request to the merge queue Jul 4, 2025
Merged via the queue into master with commit ef0b256 Jul 4, 2025
19 checks passed
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.

3 participants