lkml.org 
[lkml]   [2021]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 2/9] KVM: Introduce kvm_get_kvm_safe()
From
Date
On 25/06/21 17:32, Peter Xu wrote:
> - /* The debugfs files are a reference to the kvm struct which
> - * is still valid when kvm_destroy_vm is called.
> - * To avoid the race between open and the removal of the debugfs
> - * directory we test against the users count.
> - */
> - if (!refcount_inc_not_zero(&stat_data->kvm

Better keep the comment here (but nothing to do on your part).

Paolo

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