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