Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
padata: upgrade smp_mb__after_atomic to smp_mb in padata_do_serial
A 5.7 kernel hangs during a tcrypt test of padata that waits for an AEAD request to finish. This is only seen on large machines running many concurrent requests. The issue is that padata never serializes the request. The removal of the reorder_objects atomic missed that the memory barrier in padata_do_serial() depends on it. Upgrade the barrier from smp_mb__after_atomic to smp_mb to get correct ordering again. Fixes: 3facced ("padata: remove reorder_objects") Signed-off-by: Daniel Jordan <[email protected]> Cc: Steffen Klassert <[email protected]> Cc: [email protected] Cc: <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
- Loading branch information