[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] input: avoid malloc for mouse events

From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH] input: avoid malloc for mouse events
Date: Thu, 13 Dec 2018 17:58:12 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Gerd Hoffmann <address@hidden> writes:

> There is no reason to allocate mouse events using malloc, we can
> allcoate them from stack instead, save a few cpu cycles and make the
> code more readable with c99 initializers.
> Suggested-by: FelixYao <address@hidden>
> Signed-off-by: Gerd Hoffmann <address@hidden>

Reviewed-by: Markus Armbruster <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]