mem: fix bug with slab_create
before this would overwrite into the next region, which would cause an error at `buddy_alloc_helper` as the region overridden was the `len` field of a `struct buddy_free_list`
This commit is contained in:
parent
4db95954a3
commit
addf96aae7
3 changed files with 17 additions and 15 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