lkml.org 
[lkml]   [2023]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH 02/19] drivers/vhost: Convert to use vm_account
    On Tue, Jan 24, 2023 at 04:42:31PM +1100, Alistair Popple wrote:

    > @@ -799,9 +803,6 @@ static int vhost_vdpa_map(struct vhost_vdpa *v, struct vhost_iotlb *iotlb,
    > return r;
    > }
    >
    > - if (!vdpa->use_va)
    > - atomic64_add(PFN_DOWN(size), &dev->mm->pinned_vm);

    Mention in the commit message this fixes a "bug" where vhost didn't
    respect the limits

    Jason

    \
     
     \ /
      Last update: 2023-03-26 23:54    [W:4.514 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site