Re: [PATCH v2] vhost: fix madvise IOTLB entries pages overlap check

2023-03-16 Thread Maxime Coquelin
On 3/15/23 12:40, Maxime Coquelin wrote: At removal time, when testing whether the IOTLB entry has shared pages with the previous and next entries in the cache, it checks whether the start address of the entry to be removed is on the same page as the start address of the next entry in the cach

Re: [PATCH v2] vhost: fix madvise IOTLB entries pages overlap check

2023-03-16 Thread Maxime Coquelin
On 3/16/23 09:52, David Marchand wrote: On Thu, Mar 16, 2023 at 9:38 AM Maxime Coquelin wrote: On 3/16/23 09:13, David Marchand wrote: On Wed, Mar 15, 2023 at 12:40 PM Maxime Coquelin wrote: At removal time, when testing whether the IOTLB entry has shared pages with the previous and next

Re: [PATCH v2] vhost: fix madvise IOTLB entries pages overlap check

2023-03-16 Thread David Marchand
On Thu, Mar 16, 2023 at 9:38 AM Maxime Coquelin wrote: > On 3/16/23 09:13, David Marchand wrote: > > On Wed, Mar 15, 2023 at 12:40 PM Maxime Coquelin > > wrote: > >> > >> At removal time, when testing whether the IOTLB entry has > >> shared pages with the previous and next entries in the > >> cac

Re: [PATCH v2] vhost: fix madvise IOTLB entries pages overlap check

2023-03-16 Thread Maxime Coquelin
On 3/16/23 09:13, David Marchand wrote: Hello Maxime, On Wed, Mar 15, 2023 at 12:40 PM Maxime Coquelin wrote: At removal time, when testing whether the IOTLB entry has shared pages with the previous and next entries in the cache, it checks whether the start address of the entry to be remov

Re: [PATCH v2] vhost: fix madvise IOTLB entries pages overlap check

2023-03-16 Thread David Marchand
Hello Maxime, On Wed, Mar 15, 2023 at 12:40 PM Maxime Coquelin wrote: > > At removal time, when testing whether the IOTLB entry has > shared pages with the previous and next entries in the > cache, it checks whether the start address of the entry to > be removed is on the same page as the start a

RE: [PATCH v2] vhost: fix madvise IOTLB entries pages overlap check

2023-03-15 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, March 15, 2023 7:40 PM > To: dev@dpdk.org; m...@redhat.com; Xia, Chenbo ; > david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH v2] vhost: fix madvise IOTLB entries pages overlap check > > At removal time, when