Added half-fit allocator.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Added generic doubly linked list.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Added lock to half-fit methods.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Cosmetics.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Fixed wrong header guard.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Added SizeOf() for medium sized objects which is important for realloc().

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Finally, add a simple half-fit allocator for medium sized objects.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>