Hi Janusz,

On 2025-10-14 at 14:47:37 +0200, Janusz Krzysztofik wrote:
> When running on a Cherryview, or on a Broxton with VTD enabled, pinning of
> a VMA to GGTT is now committed asynchronously to avoid lock inversion
> among reservation_ww and cpu_hotplug locks, the latter acquired from
> stop_machine().  That may defer further processing of resources that
> depend on that VMA.  As a consequence, a 10ms delay in a multithreaded
> migrate test case may occur too short and still incomplete threads may be
> interrupted, and the test case may fail with -ERESTARTSYS or -EINTR error
> code returned by any of those threads.
> 
> Extend the delay to empirically determined 100ms on affected platforms.
> 
> v2: Fix spelling (Sebastian, Krzysztof),
>   - explain why VMA pinning is commited asynchronously on CHV/BXT+VTD
>     (Krzysztof),
>   - use more precise wording in commit description.
> 
> Cc: Krzysztof Karas <[email protected]>
> Reviewed-by: Sebastian Brzezinka <[email protected]>
> Signed-off-by: Janusz Krzysztofik <[email protected]>
> 

Reviewed-by: Krzysztof Karas <[email protected]>

Also, thanks for including that additional bit of information
about CHV and BXT in the last patch :)

-- 
Best Regards,
Krzysztof

Reply via email to