-
Notifications
You must be signed in to change notification settings - Fork 124
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
[runtime] Enhancement: Add id map to I/O queue table #1498
base: dev
Are you sure you want to change the base?
Conversation
closes #1497 |
libos = catpowder
|
libos = catnip
|
libos = catnap
|
// Don't need to pre-allocate, the overhead is a 6ns on the scheduler insert benchmark. | ||
_phantom: PhantomData, | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment can be removed.
// Constants | ||
//====================================================================================================================== | ||
|
||
// Value that we use to offset direct mapping for 32 bit ids. This number is chosen ran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly incomplete comment?
This PR adds an id map to the I/O queue table, instead of our previous implementation that just started at 500. We retain the behavior for direct mapping by having the id map start allocating at 500.