Attention is currently required from: fixeria, msuraev.
Patch set 2:Code-Review -1
1 comment:
Patchset:
I think the main point of a realloc API is to avoid allocating a new chunk and having to copy over all the memory in the old chunk unless it's really unneeded.
So I think msgb_copy() should be kept as it was, and msgb_realloc in any case implemented with "man realloc" API.
The API you are proposing there is more actually "msgb_copy_new_length()" or something similar, not a realloc function.
To view, visit change 29761. To unsubscribe, or for help writing mail filters, visit settings.