Skip to content

[kernel] Fix kernel heap item not freed if first on list#2343

Merged
ghaerr merged 2 commits intomasterfrom
heap
Jun 20, 2025
Merged

[kernel] Fix kernel heap item not freed if first on list#2343
ghaerr merged 2 commits intomasterfrom
heap

Conversation

@ghaerr
Copy link
Copy Markdown
Owner

@ghaerr ghaerr commented Jun 20, 2025

Kind of amazing that ELKS kernel heap management code is still buggy in certain circumstances. This case was never found because the first heap allocation, the L1 buffers, is never released. Found and fixed by @Mellvik in Mellvik/TLVC#183.

Also updates bin/net usage internal documentation with default network adaptor names.

Thanks @Mellvik!

@ghaerr ghaerr merged commit deb4742 into master Jun 20, 2025
1 check passed
@ghaerr ghaerr deleted the heap branch June 20, 2025 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant