lkml.org 
[lkml]   [2021]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 5.13-rt1 + KVM = WARNING: at fs/eventfd.c:74 eventfd_signal()
From
Date
On 15/07/21 10:44, He Zhe wrote:
> It was to increase the recursion depth to 2 so that vhost_worker and
> kvm_vcpu_ioctl syscall could work in parallel

The count is per-CPU, so parallel operations cannot cause it to become
2. Your patch might fix calls from ioeventfd to vhost_worker to another
eventfd, but not *parallel* operation of KVM and vhost (except on
PREEMPT_RT).

You should identify the exact callstack that caused the warning for
vDUSE, and document that one in the commit message, so that reviewers
can understand the issue.

Paolo

\
 
 \ /
  Last update: 2021-07-15 11:52    [W:1.277 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site