Here's my series to drop "buffer" from "struct commit" in favor of a slab, and then add in a length field. It's a lot of commits, but I tried to break it down into readable chunks. [01/15]: alloc: include any-object allocations in alloc_report [02/15]: commit: push commit_index update into alloc_commit_node [03/15]: do not create "struct commit" with xcalloc [04/15]: logmsg_reencode: return const buffer [05/15]: sequencer: use logmsg_reencode in get_message [06/15]: provide a helper to free commit buffer [07/15]: provide a helper to set the commit buffer [08/15]: provide helpers to access the commit buffer [09/15]: use get_cached_commit_buffer where appropriate [10/15]: use get_commit_buffer to avoid duplicate code [11/15]: convert logmsg_reencode to get_commit_buffer [12/15]: use get_commit_buffer everywhere [13/15]: commit-slab: provide a static initializer [14/15]: commit: convert commit->buffer to a slab [15/15]: commit: record buffer length in cache -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html