Matthew Parkinson
cc6a9775d6
Made checks on client have own macro.
2019-06-12 15:29:25 +01:00
David Chisnall
5c197e4ae4
[NFC] More checks, comments on end of namespace braces.
2019-04-30 09:46:01 +01:00
Matthew Parkinson
47428a096c
Removing some casts and uses of void*
2019-04-29 11:02:47 +01:00
David Chisnall
785766b129
Move constants into the right file.
...
Document them while we're moving them.
2019-04-11 16:57:12 +01:00
rschust
51fbdf3a44
ZeroMem should not be a part of pal_consts.h
2019-04-09 13:56:22 +01:00
rschust
71900ef947
Created pal_consts.h. New exported functions are now prefixed with "snmalloc_".
2019-04-09 13:56:22 +01:00
rschust
f0d18760fe
Exporting the global pagemap and the default memory provider's reserve function in order to support shared allocators
2019-04-09 13:56:22 +01:00
David Chisnall
d6e89b7c60
Fix Matt's code review comments.
2019-02-25 11:27:53 +00:00
David Chisnall
e5d330ec7a
Fix the tests.
2019-02-25 11:27:53 +00:00
David Chisnall
66cec23b23
Initial cut at a lazy decommit strategy.
...
This does not deallocate memory until the OS tells us that we are short
on memory, then tries to decommit all of the cached chunks (except for
the first page, used for the linked lists).
Nowhere near enough testing to commit to master yet!
2019-02-25 11:27:53 +00:00
Matthew Parkinson
18dd15c2c0
Minor restructuring to move static_assert
2019-01-22 11:19:57 +00:00
Matthew Parkinson
4ad12f33cf
Fix spacing from a bad clang format.
2019-01-17 16:47:55 +00:00
Matthew Parkinson
164df40372
Add configuration option for small address spaces
...
This adds a configuration option for 1MiB superslabs with 16KiB slabs.
2019-01-17 14:09:50 +00:00
Matthew Parkinson
4f9d991449
Initial commit of snmalloc
...
History squashed from internal development.
Internal history has commit hash:
e27a0e485c44a5003a802de2661ce3b21e120316
2019-01-15 14:17:55 +00:00