Caleb James DeLisle
|
e6160b456b
Make Allocator_free() always synchronous. When async freeing is needed, chain allocators.
|
1 gadu atpakaļ |
Caleb James DeLisle
|
0af9d5a4b8
1. Adopting a root alloc is a no-op
|
2 gadi atpakaļ |
Caleb James DeLisle
|
afa43216ef
Rewrite of allocator.rs, also don't allocate memory if we're freeing
|
2 gadi atpakaļ |
Caleb James DeLisle
|
d26e80a318
Move to Rust Allocator
|
2 gadi atpakaļ |
Caleb James DeLisle
|
e2cfe83c94
1. We cannot re-arm a dead timeout because it keeps blocking the event loop ref count
|
2 gadi atpakaļ |
Caleb James DeLisle
|
b9e41a2521
Make sure to cast uintptr to long before passing it to a printf
|
4 gadi atpakaļ |
Caleb James DeLisle
|
b6a1d3bf2f
Switch from using long to using uintptr_t because on windows, long is not pointer-size
|
4 gadi atpakaļ |
Caleb James DeLisle
|
9ce4bf1062
Fix cjdns tests with new version of libuv, also fix a bug which was exposed in the allocation system wherein allocating memory in an onFreeJob does the wrong thing
|
5 gadi atpakaļ |
Caleb James DeLisle
|
9b963631b5
Wrong type in printf
|
6 gadi atpakaļ |
Caleb James DeLisle
|
db1f135a28
Shuffle around a couple fields in order to hopefully get an aligned structure
|
6 gadi atpakaļ |
Caleb James DeLisle
|
feabb1970f
Ok, never mind, this was a silly thing, it was correct in the beginning
|
7 gadi atpakaļ |
Caleb James DeLisle
|
41efd0c895
Hopefully fixed the allocator failure to account memory properly
|
7 gadi atpakaļ |
Caleb James DeLisle
|
7f55d9bfb7
Apply madafoo's change as-is from long ago which I managed to somehow misunderstood and refused for a really long time :(
|
7 gadi atpakaļ |
Caleb James DeLisle
|
dca6cdcccd
Pulling this commit and making a branch allocator-fix because this turns out to be unravelling a much deeper issue which cannot be fixed so quickly.
|
7 gadi atpakaļ |
Caleb James DeLisle
|
043b6eadd7
Correct probably bad memory handling in allocator
|
7 gadi atpakaļ |
soredake
|
c49cc24869
links update
|
7 gadi atpakaļ |
Caleb James DeLisle
|
660ac4004b
Merge branch 'disconnect-adopted-dry-refactor' of git://github.com/gubatron/cjdns into crashey
|
9 gadi atpakaļ |
gubatron
|
0fd96298b0
rename misleading findAllocator to disconnectAllocator
|
9 gadi atpakaļ |
gubatron
|
35c46a6708
DRY refactor on Allocator::disconnectAdopted
|
9 gadi atpakaļ |
Kubuxu
|
a38e58b1c7
Remove usage of Bits_memcpyConst and Bits_memmoveConst
|
9 gadi atpakaļ |
Caleb James DeLisle
|
0000500588
Give the compiler a little bit more instruction-scheduling leeway in a function which is sometimes hot
|
9 gadi atpakaļ |
Caleb James DeLisle
|
c5bd11ce66
small improvements to the allocator's error catching infra
|
9 gadi atpakaļ |
Caleb James DeLisle
|
24401e7b9a
complain very loudly if the memory allocation logic is leaking in some way
|
9 gadi atpakaļ |
Caleb James DeLisle
|
ab3a0f4452
wip
|
9 gadi atpakaļ |
Caleb James DeLisle
|
f19fe177bb
wip
|
9 gadi atpakaļ |
Caleb James DeLisle
|
a6afb74e25
wip
|
9 gadi atpakaļ |
Caleb James DeLisle
|
44d393d9e7
Merge branch 'crashey' into dead-angel
|
9 gadi atpakaļ |
Caleb James DeLisle
|
07be184ee3
try allowing clang to see Gcc_NORETURN
|
9 gadi atpakaļ |
Caleb James DeLisle
|
2dddd5d6e5
some compilers are a bit slow -- but smart enough not to allow *that*
|
9 gadi atpakaļ |
Caleb James DeLisle
|
27c7f234e3
some compilers are a bit slow
|
9 gadi atpakaļ |