virtio-crypto: call scheduler when we free unused buffs
authorXianting Tian <tianxianting.txt@alibaba-inc.com>
Fri, 9 Jun 2023 13:18:15 +0000 (21:18 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 Jul 2023 16:15:12 +0000 (12:15 -0400)
commit7a5103b81a9628b6b66fc710d9ccdd2f2d27a58c
treee4e3bad52a988401b68648d635f96b826e2ed746
parent4cf8b6d051d955ff044ae61552ab0f7f91aad6b9
virtio-crypto: call scheduler when we free unused buffs

For virtio-net we were getting CPU stall warnings, and fixed it by
calling the scheduler: see f8bb51043945 ("virtio_net: suppress cpu stall
when free_unused_bufs").

This driver is similar so theoretically the same logic applies.

Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
Message-Id: <20230609131817.712867-2-xianting.tian@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/crypto/virtio/virtio_crypto_core.c