Skip to content

Fixed problems of compiling with Unikraft v0.12 #4

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

Open
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

junyang-zh
Copy link

I am trying to use mimalloc with Unikraft v0.12.0 (current stable version), and the mimalloc library doesn't compile. It seems that the uk_thread struct is modified after the original porting of mimalloc. Thus I made it work according to the context given.

I only tested this fix on app-redis and app-helloworld with QEMU 4.2.1. It worked well for any memory sizes above 256M. :)

See the diff for details, it's simple. Forgive me if I did anything wrong.

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