Re: [PATCH] um: read multiple msg from virtio slave request fd

2022-06-01 Thread Johannes Berg
On Wed, 2022-06-01 at 15:37 +, Benjamin Beichler wrote: > If VHOST_USER_PROTOCOL_F_INBAND_NOTIFICATIONS is activated, the user mode > linux virtio irq handler only read one msg from the corresponding socket. > This creates issues, when the device emulation creates multiple call > requests (e.g.

[PATCH] um: read multiple msg from virtio slave request fd

2022-06-01 Thread Benjamin Beichler
If VHOST_USER_PROTOCOL_F_INBAND_NOTIFICATIONS is activated, the user mode linux virtio irq handler only read one msg from the corresponding socket. This creates issues, when the device emulation creates multiple call requests (e.g. for multiple virtqueues), as the socket buffer tend to fill up and

RE: [PATCH 1/2] x86/lib: Optimize memchr()

2022-06-01 Thread David Laight
From: Yu-Jen Chang > Sent: 01 June 2022 06:59 > > David Laight 於 2022年5月30日 週一 下午4:10寫道: > > > > From: Yu-Jen Chang > > > Sent: 28 May 2022 09:13 > > > > > > The original assembly version of memchr() is implemented with > > > the byte-wise comparing technique, which does not fully > > > use 64-bi

[PATCH] um: remove unused variable

2022-06-01 Thread Haowen Bai
The variable dead is initialized but never used otherwise. Signed-off-by: Haowen Bai --- arch/um/os-Linux/umid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/um/os-Linux/umid.c b/arch/um/os-Linux/umid.c index a3dd61521d24..7a1abb829930 100644 --- a/arch/um/os-Linux/