Skip to content

Conversation

@mysterymath
Copy link
Contributor

This was on request from other maintainers, given that I've been de-facto acting as maintainer of the baremetal allocator stuff.

Let me know if this is too fine-grained to track.

@llvmbot
Copy link
Member

llvmbot commented Apr 10, 2025

@llvm/pr-subscribers-libc

Author: Daniel Thornburgh (mysterymath)

Changes

This was on request from other maintainers, given that I've been de-facto acting as maintainer of the baremetal allocator stuff.

Let me know if this is too fine-grained to track.


Full diff: https://github.com/llvm/llvm-project/pull/135203.diff

1 Files Affected:

  • (modified) libc/Maintainers.rst (+5)
diff --git a/libc/Maintainers.rst b/libc/Maintainers.rst
index 8f3c251a0edb1..3f6f8076f379e 100644
--- a/libc/Maintainers.rst
+++ b/libc/Maintainers.rst
@@ -22,6 +22,11 @@ Baremetal
 | Petr Hosek
 | phosek\@google.com (email), `petrhosek <https://github.com/petrhosek>`_ (github)
 
+Allocator (Baremetal)
+---------
+| Daniel Thornburgh
+| dthorn\@google.com (email), `mysterymath <https://github.com/mysterymath>`_ (github)
+
 Fixed Point
 -----------
 | Leonard Chan

This was on request from other maintainers, given that I've been
de-facto acting as maintainer of the baremetal allocator stuff.

Let me know if this is too fine-grained to track.
| Petr Hosek
| phosek\@google.com (email), `petrhosek <https://github.com/petrhosek>`_ (github)
Baremetal (Allocator)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We talked about making the allocator usable in non-baremetal environments as well (ideally we'd have a CMake option to select between system, libc and Scudo alllocator) so I wonder if this should say just "Allocator"?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either is fine with me. Whatever you're up for claiming.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've talked about this off and on, and IIRC there was a loose consensus that some other allocator should be the default for hosted OS-es. (Probably SCUDO.) It's just that it should be automatically configured if you don't ask for something different. The libc allocator will always be terrible in basically any non-embedded context, so I'm comfortable calling it a baremetal allocator (at least until something changes).

Copy link
Contributor

@michaelrj-google michaelrj-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved to join as a maintainer, I'd say leave this open for comments for a bit in case there are any comments but if not feel free to merge.

| Petr Hosek
| phosek\@google.com (email), `petrhosek <https://github.com/petrhosek>`_ (github)
Baremetal (Allocator)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either is fine with me. Whatever you're up for claiming.

| phosek\@google.com (email), `petrhosek <https://github.com/petrhosek>`_ (github)
Baremetal (Allocator)
---------
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: needs to match the length of the line above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@mysterymath mysterymath merged commit 1e54bca into llvm:main Apr 11, 2025
16 checks passed
@mysterymath mysterymath deleted the libc/maintainers branch April 11, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants