Attention is currently required from: osmith, Hoernchen, neels, laforge, fixeria, daniel.
pespin has posted comments on this change. (
https://gerrit.osmocom.org/c/libosmocore/+/30934 )
Change subject: Add osmo_io with initial poll backend
......................................................................
Patch Set 4:
(4 comments)
File src/osmo_io.c:
https://gerrit.osmocom.org/c/libosmocore/+/30934/comment/4f24affb_91ab9c56
PS3, Line 50: struct iofd_backend_ops g_iofd_ops;
This should be resolved if we end up introducing a .
[…]
if a map file is introduced, this symbol will still be exported in order to be
used by tests AFAIU. And what we want to avoid is exporting symbols not prefixed with
osmo_ which would collide with other libs.
https://gerrit.osmocom.org/c/libosmocore/+/30934/comment/64a7ffd2_9590d754
PS3, Line 111: talloc_free(msghdr);
For io_uring the msghdr will also be used for read
requests and then the msg might continue to live […]
Better describe it in the code
then.
https://gerrit.osmocom.org/c/libosmocore/+/30934/comment/9cc09570_70a0a0c3
PS3, Line 225: msg_pending = iofd_msgb_alloc(iofd);
This path is chosen if we receive more than one
message. […]
Ack. Better describe this in the code.
https://gerrit.osmocom.org/c/libosmocore/+/30934/comment/3332e966_daeee86f
PS3, Line 228: iofd->pending = msg_pending;
you may want to add OSMO_ASSERT(iofd->pending == NULL) perhaps.
--
To view, visit
https://gerrit.osmocom.org/c/libosmocore/+/30934
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I50d73cf550d6ce8154bf827bf47408131cf5b0a0
Gerrit-Change-Number: 30934
Gerrit-PatchSet: 4
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 25 Jan 2023 16:17:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: daniel <dwillmann(a)sysmocom.de>
Gerrit-MessageType: comment