-
Notifications
You must be signed in to change notification settings - Fork 2.1k
pkg/tlsf: add documentation. #8994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /** | ||
| * @defgroup pkg_tlsf Two-Level Segregated Fit memory allocator | ||
| * @ingroup pkg | ||
| * @brief TLSF is a general purpose dynamic memory allocator specifically | ||
| * designed to meet real-time requirements: | ||
| * @see http://www.gii.upv.es/tlsf/ | ||
| * @see https://github.com/mattconte/tlsf | ||
| * | ||
| * TLSF provides an implementation of malloc/realloc/free/etc with the following | ||
| * characteristics: | ||
| * | ||
| * - O(1) Performance | ||
| * - Works on a user supplied block of memory instead of a global heap. | ||
| * - Efficient both in terms of memory overhead and processor time. | ||
| * - Low fragmentation. | ||
| * | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As far as I know, this implementation/adoption doesn't support 16-bit platforms and maybe should be pointed out here. @OlegHahm can you confirm this?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's not building for 16 bit, see #4612 |
||
| */ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,8 @@ | |
| * | ||
| * @note You should prefer statically allocated memory whenever possible. | ||
| * | ||
| * @see pkg_tlsf | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| * | ||
| * @{ | ||
| * @file | ||
| * | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Colon in the end. Should be dot.