Skip to content

Fixed problems of compiling with Unikraft v0.12#4

Open
junyang-zh wants to merge 1 commit intounikraft:stagingfrom
junyang-zh:staging
Open

Fixed problems of compiling with Unikraft v0.12#4
junyang-zh wants to merge 1 commit intounikraft:stagingfrom
junyang-zh:staging

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