virtio-console: call scheduler when we free unused buffs
authorXianting Tian <xianting.tian@linux.alibaba.com>
Fri, 9 Jun 2023 13:18:16 +0000 (21:18 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 3 Jul 2023 16:15:12 +0000 (12:15 -0400)
commit56b5e65efe0001fb5f95e412ee4167363debfc46
tree9eafe06dffb5dc020629c5018304dfb50b3a6ffc
parent7a5103b81a9628b6b66fc710d9ccdd2f2d27a58c
virtio-console: 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-3-xianting.tian@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/char/virtio_console.c