Skip to content

Conversation

joshlf
Copy link
Collaborator

@joshlf joshlf commented Feb 26, 2018

  • Make many internal methods return Option<T> rather than T and return None on OOM
  • Remove CoarseAllocator::backing_memory and replace it with page_size (which was all the former method was ever being used for)

This PR is a subset of PR #159 because that PR is giving me issues, so I figured breaking it into smaller PRs would make it easier to debug.

- Make many internal methods return Option<T> rather than T and
  return None on OOM
- Remove CoarseAllocator::backing_memory and replace it with
  page_size (which was all the former method was ever being used
  for)
@joshlf joshlf force-pushed the elfmalloc-fallible-methods branch from b35d69e to ed36a35 Compare February 26, 2018 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant