Re: [LEDE-DEV] [PATCH] ubusd: Use linked list for queued messages (alt.)

2018-05-08 Thread Benjamin Hansmann
Hi, What is the acceptance state of this patch? In patchwork it has the status `superseded'. Does it mean that the issue has been or will be solved by other means? Thanks, Benjamin On Thu, 2018-05-03 at 12:06 +0200, Benjamin Hansmann wrote: > The fixed size array for queuing message

Re: [LEDE-DEV] [PATCH] ubusd: Use linked list for queued messages

2018-05-03 Thread Benjamin Hansmann
2018-05-02 22:55, Benjamin Hansmann wrote: > > The fixed size array for queuing messages led to discarding > > messages > > when it was full, using a linked list instead solves this issue. > > > > Having the list_head link in the ubus_msg_buf itself avoids the > >

[LEDE-DEV] [PATCH] ubusd: Use linked list for queued messages (alt.)

2018-05-03 Thread Benjamin Hansmann
cle when n objects are registered on the bus. Signed-off-by: Benjamin Hansmann --- ubusd.c | 29 + ubusd.h | 10 +++--- ubusd_proto.c | 1 + 3 files changed, 25 insertions(+), 15 deletions(-) diff --git a/ubusd.c b/ubusd.c index ba1ff07..e58624a 100644 ---

[LEDE-DEV] [PATCH] ubusd: Use linked list for queued messages

2018-05-02 Thread Benjamin Hansmann
;ubus list" the function ubusd_proto.c:ubusd_handle_lookup() produces more than n messages in one uloop cycle when n objects are registered on the bus. Signed-off-by: Benjamin Hansmann --- ubusd.c | 19 --- ubusd.h | 6 +++--- ubusd_proto.c | 1 + 3 files c