Skip to content

Conversation

@phil-opp
Copy link
Member

phil-opp added 3 commits May 17, 2016 16:09
The new code guarantees that the front padding is at least HoleList::min_size() if it's needed. The important line is:

```
let aligned_addr = align_up(hole.addr + HoleList::min_size(), required_align)
```
@phil-opp phil-opp changed the title Increase front_padding to min_size instead of skipping the whole hole if front_padding is too small Increase front_padding to min_size instead of skipping the whole hole May 17, 2016
@phil-opp phil-opp merged commit a71d6cb into master May 17, 2016
@phil-opp phil-opp deleted the fix-too-small-holes branch May 17, 2016 15:17
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.

2 participants