libosmocore[master]: src/msgb.c: avoid using internal talloc API

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Thu Mar 8 21:07:24 UTC 2018


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/7165/1/src/msgb.c
File src/msgb.c:

Line 90: 	talloc_set_name_const(msg, name);
> does this mean that talloc internally first generates a different name (pos
You're right, I just looked at the source code
of talloc, and yes, this code could cause the
performance problems. I'll update the change.


-- 
To view, visit https://gerrit.osmocom.org/7165
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I1080c9071e997944cc0f9fc3716129e9395437ad
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list