- Jul 04, 2018
-
-
Tommie Levy authored
-
- Jun 30, 2018
-
-
Tommie Levy authored
Reserve enough mem that you have enough left over for the next reserve Disable memtrim, because it breaks the assumption that reserve will not change the exsting vector contents. Tests are still hanging on linux. I think our mutex impl may be broken when under contention.
-
- Jun 24, 2018
-
-
Tom Almeida authored
Make sure all tests and benches actually use ralloc as their global allocator See merge request !63
-
- Jun 23, 2018
-
-
Tom Almeida authored
-
- Jun 22, 2018
-
-
Jeremy Soller authored
Master Closes #45 See merge request !62
-
Tom Almeida authored
Fixed occasional failing of 'partial_realloc'. This is because our bookkeeper's vec gets too cramped and should (theoretically) need resizing
-
Tom Almeida authored
-
Tom Almeida authored
-
Tom Almeida authored
-
- Jun 21, 2018
-
-
Tom Almeida authored
-
Tom Almeida authored
-
Tom Almeida authored
-
Tom Almeida authored
-
- Jun 12, 2018
-
-
Jeremy Soller authored
-
- May 20, 2018
-
-
Jeremy Soller authored
Fix sbrk to actually return the *old* break.
-
Valentin Lorentz authored
-
- Mar 04, 2018
-
-
Jeremy Soller authored
-
- Nov 08, 2017
-
-
Jeremy Soller authored
Use new allocator API, and otherwise update for new Rust
-
Ian Douglas Scott authored
-
Ian Douglas Scott authored
- New allocator API - Remove the "allocator" feature, which should be unnecessary due to how the new allocator API works - NonZero no longer implements Deref (https://github.com/rust-lang/rust/pull/41064) - NonZero::new() returns an Option; use NonZero::new_unchecked() - Thread locals are no longer 'static (https://github.com/rust-lang/rust/pull/43746) - Changes to feature flags - Use unsafe to access extern static (https://github.com/rust-lang/rust/issues/36247)
-
- Sep 24, 2017
-
-
Jeremy Soller authored
MacOSX is not supported anymore
-
Jeremy Soller authored
Grammar fix
-
- Jul 22, 2017
-
-
Ivan Enderlin authored
-
- Jun 17, 2017
-
-
Luca Barbato authored
it is missing some needed syscalls.
-
- Mar 06, 2017
-
-
Oliver Schneider authored
fixes #37
-
- Jan 23, 2017
-
-
Edwin Amsler authored
-
- Jan 17, 2017
-
-
Jorge Aparicio authored
by switching from the syscall crate to the sc crate. The sc crate is a fork of the syscall crate that adds supports for several other platforms.
-
- Jan 12, 2017
-
-
Jorge Aparicio authored
* fix the build the `unborrow!` macro is need in the block and bookkeeper modules * cfg(tls) away impl LocalAllocator as the struct LocalAllocator is not available when the tls feature is disabled
-
- Dec 15, 2016
- Oct 23, 2016
-
-
This feature is now in Rust stable, so adding !#[feature(question_mark)] is now useless and causes a warning.
-
- Oct 04, 2016
-
-
ticki authored
-
- Aug 23, 2016
-
-
ticki authored
We make the `Leak` trait unsafe and consituting an invariant. Secondly, we implement `Leak` for all `Copy` types.
-
- Aug 21, 2016
- Aug 19, 2016
-
-
ticki authored
Various issues (like premature checks) were present in the byte count beforehand. We fix these. - Fix invalid byte counts. - Add a `LOCAL_MEMTRIM_STOP` constant to `shim`, which serves for the minimum memtrimmed allocator (i.e. it will stop when the byte count is below this value). - Add more logs. - Add assertions about libc interference with SBRK. There is still some problem when running
-
- Aug 16, 2016
-
-
ticki authored
-
ticki authored
This commit is a complete revision of `shim`. Anything which is configurable of nature is now moved to `shim` allowing complete customizability of `ralloc`. But it doesn't end there! The logs got quite messy before due to the classical TMI problem. We solve this by adding multiple "log levels" each describing a different class of importance. - Add multi-level logging. - Move each component of shim into distinct modules. - Add allocator canonicalization to `shim`. - Add adjustable constant to `shim`. - Add default OOM handler to `shim`. - Add logging to everything. - Remove the `libc_write` module and add it to `log` instead. - Add colourful OOM message. - Tweak the allocator canonicalization strategy. - Rename the `log!` macro to `bk_log!`, and use the old name for the generalized logging macro. - Remove the `unsafe_no_brk_lock` feature, due to being unsafe in multithreaded environment (and in singlethreaded ones, `unsafe_no_mutex_lock` is sufficient). - Remove the `sys` module in favor of direct `shim` imports.
-
- Aug 15, 2016
-
-
ticki authored
This commit introduces OS/BRK memtrimming, in which the memory from the global allocator is freed to the OS when a certain limit is reached. This avoids long-running processes from acquiring too much memory from the system and never releasing it again. - Implement safe BRK releasing.
-