Re: [PATCH 4/6] loop: improve loop_process_work
From: Christoph Hellwig <hch@lst.de>
Date: 2021-07-06 05:54:52
From: Christoph Hellwig <hch@lst.de>
Date: 2021-07-06 05:54:52
On Mon, Jul 05, 2021 at 06:26:05PM +0800, Ming Lei wrote:
Avoid to acquire the spinlock for handling every loop command, and hold lock once for taking all commands.
I think the proper answer is to stop using this badly reimplement workqueue that can't even get basic things right.