lkml.org 
[lkml]   [2021]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC v2 PATCH 13/13] KVM: Enable memfd based page invalidation/fallocate
From
On 11/19/21 14:47, Chao Peng wrote:
> + list_for_each_entry(kvm, &vm_list, vm_list) {
> + if (kvm == vm)
> + return false;
> + }
> +
> + return true;

This would have to take the kvm_lock, but see my reply to patch 1.

Paolo

\
 
 \ /
  Last update: 2021-11-23 09:53    [W:0.223 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site