[dpdk-stable] [PATCH 1/3] lib/eal: fix vfio unmap that fails unexpectedly
Burakov, Anatoly
anatoly.burakov at intel.com
Wed Aug 21 15:20:27 CEST 2019
On 21-Aug-19 2:02 PM, Chaitanya Babu Talluri wrote:
> Unmap of multiple pages fails after a sequence of partial map/unmaps.
> The scenario is that multiple maps are created in user_mem_maps,
> after multiple map/unmap/remap sequences.
>
> For an example,
> Steps:
> 1. Map 3 pages together
> 2. Un-map page1
> 3. Re-map page 1
> 4. Un-map page 2
> 5. Re-map page 2
> 6. Un-map page 3
> 7. Re-map page 3
> 8. Un-map all pages
I don't think this description is correct in relation to what is being
fixed here. The code attempts to prevent overlaps, but there are no
overlaps in the above example - none of the above operations would
trigger the added code.
--
Thanks,
Anatoly
More information about the stable
mailing list