lib: add rbtree data structure
This also switches the kmalloc allocator over to the new rbtree structure. As a balanced binary search tree, it is much more efficient than the previous method
This commit is contained in:
parent
d3e9b728dc
commit
4e36cfd90b
6 changed files with 430 additions and 42 deletions
2
Makefile
2
Makefile
|
|
@ -16,7 +16,7 @@ define DEFAULT_VAR =
|
|||
endef
|
||||
|
||||
# User controllable CFLAGS.
|
||||
CFLAGS ?= -g -O2 -pipe -Wall -Wextra
|
||||
CFLAGS ?= -g -O0 -pipe -Wall -Wextra
|
||||
|
||||
# User controllable linker flags. We set none by default.
|
||||
LDFLAGS ?=
|
||||
|
|
|
|||
Loading…
Reference in a new issue