Re: [PATCH] padata: upgrade smp_mb__after_atomic to smp_mb in padata_do_serial

2020-06-18 Thread Herbert Xu
On Mon, Jun 08, 2020 at 05:26:52PM -0400, Daniel Jordan wrote: > 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 re

[PATCH] padata: upgrade smp_mb__after_atomic to smp_mb in padata_do_serial

2020-06-08 Thread Daniel Jordan
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 pad