[Spice-devel] [PATCH xf86-qxl] Remove image cache

Marc-André Lureau marcandre.lureau at gmail.com
Fri Jan 30 08:18:54 PST 2015


On Fri, Jan 30, 2015 at 5:10 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
>> I am not familiar with this code, I didn't write most of it. But I can
>> read code and see when things are useless. If you pay a few minutes
>> reading,
>
> The point of having an explanation in the log is to save these few
> minutes of people reading and guessing....
> It seems this can be summed up as "The name implies it's a cache of some
> sort, but data is only added to it. The only time data is looked up in
> that cache is when it needs to be destroyed, and this is not done
> correctly and causes leaks. Since the cached data is never used and
> since it's leaky, it's better to remove it altogether".
> Better than having a cryptic log message requiring the use of git show
> every time someone wonders what 'useless' really means.


This sums up to the same conclusion. I am sorry, I prefer shorter
commit log (as well as shorter ML discussions)

I'll add your comment to the commit message, and push it.

-- 
Marc-André Lureau


More information about the Spice-devel mailing list