886dd92eee
From now, there are no auxiliary pointers stored in the free slab nodes. This led to strange debugging problems if use-after-free happened in slab-allocated structures, especially if the structure's first member is a next pointer. This also reduces the memory needed by 1 pointer per allocated object. OTOH, we now rely on pages being aligned to their size's multiple, which is quite common anyway.
8 lines
205 B
Makefile
8 lines
205 B
Makefile
src := alloc.c io.c krt.c log.c main.c random.c
|
|
obj := $(src-o-files)
|
|
$(all-daemon)
|
|
$(cf-local)
|
|
$(conf-y-targets): $(s)krt.Y
|
|
|
|
src := $(filter-out main.c, $(src))
|
|
tests_objs := $(tests_objs) $(src-o-files)
|