Re: [PATCH v2] vhost-vdpa: skip unmapped gap in vhost_vdpa_va_map()
From: Fang Xieyan
Date: Tue Dec 01 2026 - 04:41:31 EST
Hi Jiaming,
> Weimin already sent the rollback fix in July [1]. I've asked him for a
> rebased v2, vma_lookup() can go on top of that.
Done, in that order: patch 1 is Weimin's July change rebased onto
v7.4-rc5 with his authorship and Eugenio's Acked-by kept, patch 2 is
your line, with Suggested-by on it. The gap-skipping is gone.
> vma_lookup() just makes it easier to hit.
Right, and that is what puts patch 1 in front: with patch 2 alone, the
request that fails on a gap takes every mapping of the address space
with it. The four-state numbers are in the notes of patch 1.
> Are you planning a v3? If not I'm happy to pick it up and keep you
> credited.
Posted just before this reply, as its own thread so that the cover
carries the defect:
https://lore.kernel.org/all/20261201091722.46805-1-fangxy@xxxxxxxxxxxx/
Nothing to pick up, thanks - Weimin has the choice to resend patch 1
himself, which I offered him in the cover. Patch 1 deliberately
carries no Cc stable, for the reason in its notes; patch 2 does.
Thanks again for the pointer and the repro.
Fang Xieyan
[1] https://lore.kernel.org/all/20260716030238.124368-1-xiongwm2026@xxxxxxx/