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

Memoryutilization: Improvise and refactor. #18

Open
prataprc opened this issue Jul 20, 2017 · 1 comment
Open

Memoryutilization: Improvise and refactor. #18

prataprc opened this issue Jul 20, 2017 · 1 comment

Comments

@prataprc
Copy link
Member

Package malloc/ has global variable MEMUtilization used for
Blocksize calculation. Once Slab struct is created and
Blocksizes and SuitableSize are localized to Slab, we can
configure MEMUtilization per slab instance instead of keeping
it global.

Package llrb/ has config-parameter called memutilization used
while validation. There is also an API ExpectedUtilization that
makes the config-parameter redundant. This parameter is used while
validating llrb tree. I suppose we can can avoid both the
config-paramter and the API, instead add an argument to Validate
for expected-memory-utilization ratio.

@prataprc
Copy link
Member Author

config-parameter memutilization is removed in 4e4abee.

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

No branches or pull requests

1 participant