RE: [RFC 03/27] vhost: fix IOTLB entries overlap check with previous entry

2023-04-23 Thread Xia, Chenbo
.@redhat.com; > amore...@redhat.com > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [RFC 03/27] vhost: fix IOTLB entries overlap check with previous > entry > > Commit 22b6d0ac691a ("vhost: fix madvise IOTLB entries pages overlap > check") > fixed the check to ens

Re: [RFC 03/27] vhost: fix IOTLB entries overlap check with previous entry

2023-04-17 Thread Mike Pattrick
On Fri, Mar 31, 2023 at 11:43 AM Maxime Coquelin wrote: > > Commit 22b6d0ac691a ("vhost: fix madvise IOTLB entries pages overlap check") > fixed the check to ensure the entry to be removed does not > overlap with the next one in the IOTLB cache before marking > it as DONTDUMP with madvise(). This

[RFC 03/27] vhost: fix IOTLB entries overlap check with previous entry

2023-03-31 Thread Maxime Coquelin
Commit 22b6d0ac691a ("vhost: fix madvise IOTLB entries pages overlap check") fixed the check to ensure the entry to be removed does not overlap with the next one in the IOTLB cache before marking it as DONTDUMP with madvise(). This is not enough, because the same issue is present when comparing wit