Attention is currently required from: daniel, jolly, pespin.
laforge has posted comments on this change. (
https://gerrit.osmocom.org/c/libosmocore/+/36062?usp=email )
Change subject: osmo_io: Change struct osmo_io_ops to contain struct, not union
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS1:
I think I already provided my opinion on this
previously, I see no need to change it to struct, but […]
I would say over half of
the problems in this patchset I saw the last few days were related to this being a union.
Now those have been resolved, but I see potential for more of those problems in the
future. So better be safe than to optimize for 4-5 * sizeof(unsigned long). If we really
need to conserve memory, struct osmo_io_fd should simply point to the io_ops, rather than
copying it into each and every osmo_fd.
--
To view, visit
https://gerrit.osmocom.org/c/libosmocore/+/36062?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I9d302df8d00369e7b30437a52deb205f75882be3
Gerrit-Change-Number: 36062
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 23 Feb 2024 17:07:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment