Skip to content

Anyone knows why Mayastor io-engine is using magic number 512 to check if there are enough huge pages? #3762

Discussion options

You must be logged in to vote

Probably not the clearest piece of code.
1page of 1GiB pages is equivalent to 512 pages of 2MiB pages

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cmontemuino
Comment options

Answer selected by cmontemuino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants