[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wijGPPiUH8-kzu2ZyP9_SgBxbGib7afOMAwpusfx-2K+g@mail.gmail.com>
Date: Mon, 20 Jul 2020 13:33:29 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Alex Williamson <alex.williamson@...hat.com>
Cc: "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [GIT PULL] VFIO fix for v5.8-rc7
On Mon, Jul 20, 2020 at 7:34 AM Alex Williamson
<alex.williamson@...hat.com> wrote:
>
> VFIO fixes for v5.8-rc7
>
> - Fix race with eventfd ctx cleared outside of mutex (Zeng Tao)
Why does this take and then re-take the lock immediately? That just
looks insane.
I realize that this isn't likely to be a performance-critical path,
but this is a basic source cleanliness issue. Doing silly things is
silly, and shouldn't be done, even if they don't matter.
Linus
Powered by blists - more mailing lists