4 ms·
I don't think Linus is up to date on libgio-2.0 (and the GDBus implementation). It does in fact use a SLAB, based on early kernel versions with per-thread allo
by audidude 11y ago
I don't think Linus is up to date on libgio-2.0 (and the GDBus implementation).
It does in fact use a SLAB, based on early kernel versions with per-thread allocation caching.
As for avoiding utf8 validation, that would require being able to trust the sender/receiver. That, I believe, is a major bullet point of both memfd (sealing) and kdbus.
- pdw 11y agoLinus' trace shows that 12% of the runtime is spent in libc's malloc and free. So yeah, there's a problem there.