Commit Graph

15 Commits

Author SHA1 Message Date
Mathieu Maret
3b97d0307d Style: harmonize formatting
Thanks to: "clang-format -i -style=file **/*.{c,h}"
2020-04-27 00:14:51 +02:00
Mathieu Maret
b2d3cd62ca alloc: fix free in full slab 2020-04-24 23:28:11 +02:00
Mathieu Maret
79c1fda419 Some defintion improvments 2020-04-22 16:54:30 +02:00
Mathieu Maret
ca22696b29 klibc: put printf inside (instead of vga.h) 2019-05-17 09:35:23 +02:00
Mathieu Maret
340ae6a4d0 alloc: fix some naming. alloc up to page_size 2019-04-17 23:46:56 +02:00
Mathieu Maret
06c8562a80 alloc: reduce slabEntry size 2019-04-17 23:13:46 +02:00
Mathieu Maret
b3d38d8c9c alloc: split slab and slabEntry definition 2019-04-17 18:07:19 +02:00
Mathieu Maret
f2b0edc5a3 alloc: fix new slab allocation 2019-04-17 12:48:24 +02:00
Mathieu Maret
f90b9bd3fd alloc: fix indent 2019-04-17 12:06:54 +02:00
Mathieu Maret
3f258485b9 implement free 2019-04-15 23:09:09 +02:00
Mathieu Maret
698490800f Alloc: selfContaining is optionnal 2019-04-15 22:49:10 +02:00
Mathieu Maret
f1b3895473 Alloc: could be initialized in random way
fix ENO usage
2019-04-15 21:35:47 +02:00
Mathieu Maret
6c91272fc2 alloc: slub implemented with list 2019-04-14 15:56:48 +02:00
Mathieu Maret
e03f0c0d78 Add test
Add test for alloc and add asert statement
2019-04-11 23:08:59 +02:00
Mathieu Maret
7def058cf4 Add slab allocator 2019-04-11 22:34:20 +02:00