[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <71669997-fda1-6b97-9599-4b8118a20fb7@users.sourceforge.net>
Date: Wed, 19 Oct 2016 16:05:59 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: David Härdeman <david@...deman.nu>,
linux-media@...r.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
Sean Young <sean@...s.org>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [media] winbond-cir: Move a variable assignment in wbcir_tx()
>> * How do you think about to avoid a variable assignment in case
>> that this memory allocation failed anyhow?
>
> There is no memory allocation that can fail at this point.
Do you really know the failure probability for a call of the
function "kmalloc" (within the function "wbcir_tx") under all
possible run time situations?
>> * Do you care for data access locality?
>
> Not unless you can show measurable performance improvements?
Did any software developer (before me) dare anything in this direction?
Regards,
Markus
Powered by blists - more mailing lists