buddies

Crates.iobuddies
lib.rsbuddies
version0.0.3
sourcesrc
created_at2019-05-13 21:04:43.026445
updated_at2019-05-14 15:55:28.435743
descriptionA buddy allocator
homepage
repositoryhttps://github.com/araspik/buddies
max_upload_size
id134085
size9,610
ARaspiK (araspik)

documentation

https://docs.rs/buddies

README

Buddies: A low-level buddy allocator

Buddies provides a low-level and unsafe buddy allocator to work with - however, making it safe is quite simple. All that needs to be done is to store extra information that does the following things:

  1. Ensures that all allocations have shorter lifetimes than the allocator
  2. Ensures that multiple mutable allocations are possible simultaneously
  3. Ensures that allocations are dropped correctly. The primitives are provided to do this - see Buddies::allocate and Buddies::free.

It does not require std, and will remain like this (so that bare-metal kernels and applications can use it easily).

Commit count: 3

cargo fmt