[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200527112032.GB12093@a-barsegyan>
Date: Wed, 27 May 2020 14:20:32 +0300
From: Artur Barsegyan <a.barsegyan96@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipc/msg.c: wake up senders until there is a queue empty
capacity
About your case:
The new receiver puts at the end of the receivers list.
pipelined_send() starts from the beginning of the list and iterates until the end.
If our queue is always full, each receiver should get a message because new receivers appends at the end.
In my vision: we waste some time in that loop but in general should increase the throughout. But it should be tested.
Yes, I'm gonna implement it and make a benchmark. But maybe it should be done in another patch thread?
Powered by blists - more mailing lists