[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wgcXzshPVvVgGDqa9Y9Sde6RsUvj9jvx0htBqPuaTGX4Q@mail.gmail.com>
Date: Sat, 11 Sep 2021 14:56:12 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: KVM list <kvm@...r.kernel.org>,
virtualization@...ts.linux-foundation.org,
Netdev <netdev@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
arseny.krasnov@...persky.com, caihuoqing@...du.com,
elic@...dia.com, Jason Wang <jasowang@...hat.com>,
lingshan.zhu@...el.com, mgurtovoy@...dia.com,
Viresh Kumar <viresh.kumar@...aro.org>,
Will Deacon <will@...nel.org>, Wolfram Sang <wsa@...nel.org>,
xianting.tian@...ux.alibaba.com, xieyongji@...edance.com
Subject: Re: [GIT PULL] virtio,vdpa,vhost: features, fixes
On Thu, Sep 9, 2021 at 6:56 AM Michael S. Tsirkin <mst@...hat.com> wrote:
>
> NB: when merging this with
> b542e383d8c0 ("eventfd: Make signal recursion protection a task bit")
> from Linus' tree, replace eventfd_signal_count with
> eventfd_signal_allowed, and drop the export of eventfd_wake_count from
> ("eventfd: Export eventfd_wake_count to modules").
What? No. That can't be right.
Do you mean "replace eventfd_signal_count with !eventfd_signal_allowed()"?
Because if I read the logic correctly, the issue is that
'vduse_vq_kick()' will call eventfd_signal().
Which it must not do it eventfd_signal_allowed() returns false.
So if eventfd_signal_allowed() is _not_ set, the code needs to defer
it to the workqueue.
No?
Side note: I was _this_ close to just not pulling this. The commits
were all from after the merge window opened, and I got this pull
request in the latter half of the second week of the merge window.
Your "explanations" for this pull are also not any language I
recognize, or even remotely human-readable.
WTF does "vduse driver supporting blk" mean, and how is that supposed
to explain anything at all?
That is NOT how these things are supposed to work. AT ALL.
So you are hereby put on notice: next time I get this kind of
half-arsed garbage pull request, I won't spend the energy on trying to
figure out what is actually going on. I will just throw it in the
trash.
Because honestly, that's where this pull request belonged.
Linus
Powered by blists - more mailing lists