Hello Akihiko,
On 10/29/25 09:12, Akihiko Odaki wrote:
> Based-on: <20251016-force-v1-1-919a82112498@rsg.ci.i.u-tokyo.ac.jp>
> ("[PATCH] rcu: Unify force quiescent state")
>
> Unmapping a blob changes the memory map, which is protected with RCU.
> RCU is designed to minimize the read-side overhead at the cost of
> reclamation delay. While this design usually makes sense, it is
> problematic when unmapping a blob because the operation blocks all
> virtio-gpu commands and causes perceivable disruption.
>
> Minimize such the disruption with force_rcu(), which minimizes the
> reclamation delay at the cost of a read-side overhead.
>
> Dmitry, can you see if this change makes difference?
Tested this series with venus and native contexts.
The improvement is very noticeable. There are almost no stalls with
venus and much less stalls with native context. The stall now takes
2-10ms at max in oppose to 50ms that was observed previously. No
stability issues spotted, everything works.
Thank you for working on this improvement.
--
Best regards,
Dmitry