diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-11-01 15:39:29 -0500 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-11-01 15:39:29 -0500 |
| commit | 9ff37ba139dceb722af3502816ed228c43fbecfd (patch) | |
| tree | 7bca7bf7a98858a9f4bad4b3d8f0d3febf50fe4c /source/memory.c | |
| parent | 9a61168aec3373be702bdbf252043ce3605f2b5b (diff) | |
inc and dec priority with io uring submit
Diffstat (limited to 'source/memory.c')
| -rw-r--r-- | source/memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/memory.c b/source/memory.c index a9c3321..d8b2585 100644 --- a/source/memory.c +++ b/source/memory.c @@ -103,6 +103,7 @@ void *kpl_memory_allocator_allocate(kpl_memory_allocator *memory_allocator, int3 kpl_object *object = kpl_object_queue_dequeue(&slab_group->object_pool); if (!object) object = kpl_memory_allocator_slab_allocate(slab_group, thread_id); + object->object_flags = KPL_OBJECT_FLAGS_EMPTY; return object; } |
