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

Remove the mmap fallback #25

Merged
merged 2 commits into from
Jul 29, 2020
Merged

Remove the mmap fallback #25

merged 2 commits into from
Jul 29, 2020

Conversation

SeanTAllen
Copy link
Contributor

No description provided.

To see what breaks. There's no intent at the moment to commit this.
@SeanTAllen SeanTAllen marked this pull request as draft July 23, 2020 19:21
@SeanTAllen SeanTAllen marked this pull request as ready for review July 28, 2020 19:40
@@ -67,7 +67,7 @@ void *__expand_heap(size_t *pn)
size_t min = (size_t)PAGE_SIZE << mmap_step/2;
if (n < min) n = min;
void *area = enclave_mmap(0, n, 0, PROT_READ|PROT_WRITE, 1);
if (area == MAP_FAILED) return 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be turned into an mmap call? I think we are now not using malloc before LKL starts (doesn't need to be in this PR)

@SeanTAllen SeanTAllen merged commit 6a51b46 into oe_port Jul 29, 2020
@SeanTAllen SeanTAllen deleted the seantallen/no-mmap-fallback branch July 29, 2020 11:23
@SeanTAllen SeanTAllen restored the seantallen/no-mmap-fallback branch July 30, 2020 11:53
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.

None yet

2 participants