Rusty Russell
|
d77d7e32db
alloc: fix return of void.
|
14 years ago |
Rusty Russell
|
74257cee33
various: add LICENSE comments.
|
14 years ago |
Rusty Russell
|
e5d378237f
alloc: dont clash with libc's fls, avoid void pointer arithmetic
|
15 years ago |
Rusty Russell
|
414da16fc2
alloc: avoid arithmetic on void pointers.
|
15 years ago |
Brad Hards
|
fbc7877063
alloc: remove unused variable
|
15 years ago |
Rusty Russell
|
1c005e1223
compiler: shorten names of attributes, add UNUSED
|
15 years ago |
Rusty Russell
|
32ed68de4a
alloc: fix 64-bit
|
15 years ago |
Rusty Russell
|
c4c5fed020
compiler: use everywhere.
|
15 years ago |
Rusty Russell
|
9f43b2f8b5
alloc: fix case where poolsize is not a power of 2.
|
15 years ago |
Rusty Russell
|
e58a81a861
alloc: fix uninitialized entry (thanks valgrind!)
|
15 years ago |
Rusty Russell
|
27ae4a224e
alloc: remove unused debugging function.
|
15 years ago |
Rusty Russell
|
bbd7380019
alloc: reduce number of large pages to 256.
|
15 years ago |
Rusty Russell
|
fbd94d9909
alloc: implement huge allocations
|
15 years ago |
Rusty Russell
|
d60ebe6786
alloc: fix typo which can cause false assertion
|
15 years ago |
Rusty Russell
|
7f9d956574
alloc: first cut of tiny allocator (down to 2 bytes!)
|
15 years ago |
Rusty Russell
|
5282308f19
alloc: reduce page header further, go down to 64k minimum.
|
16 years ago |
Rusty Russell
|
3b5761d41b
alloc: make small_page_bits() function rather than large_page_bits()
|
16 years ago |
Rusty Russell
|
99d6764c1e
alloc: use page numbers in lists to reduce overhead.
|
16 years ago |
Rusty Russell
|
a7f635002e
alloc: implement alloc_visualize().
|
16 years ago |
Rusty Russell
|
f6d21b50ff
alloc: fix page header size calculation bug, increase type safety.
|
16 years ago |
Rusty Russell
|
ce71acceee
alloc: first cut of new Tridge-inspired allocator
|
16 years ago |
Rusty Russell
|
aec5e6e9b1
Various fixes and debugging help: particularly don't use random().
|
17 years ago |
Rusty Russell
|
a8b248ea9d
Simplify -I lines: change includes to ccan/
|
17 years ago |
Rusty Russell
|
a1adc2a353
Fix 64-bit compile warning.
|
17 years ago |
Rusty Russell
|
1d7e593d22
Add alloc_size(): every allocator has to be able to answer this, since
|
17 years ago |
Rusty Russell
|
650c775ff0
Move modules to ccan/ tools to tools/
|
18 years ago |