Questions on span_used
#351
Unanswered
peter-jerry-ye
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm learning this excellent malloc library. I had a few questions when I read through the code. I wonder if you might help me out?
I see that in the
develop
branch, there's thespan_used
linked list for heap, but I think non of the members are turned back tospan_partial
duringrpfree
. Is this intentional? Also I think inspan_deallocate_block
, if a page were aPAGE_HUGE
, the memory would get unmapped. Wouldn't that cause thespan_used
linked list to corrupt from the middle?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions