Re: [PATCH for-next] RDMA/core: Flush workqueue before destroy it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2021/4/6 16:45, Leon Romanovsky wrote:
> On Tue, Apr 06, 2021 at 04:34:51PM +0800, Weihang Li wrote:
>> From: Yixian Liu <liuyixian@xxxxxxxxxx>
>>
>> It is safer to flush the workqueue before destroying it.
> Sorry, safer for what?
> 
> destroy_workqueue() flushes workqueue internally. There is no need to do
> it twice.
> 
> Thanks
> 

My bad, thank you for reminding :)

Weihang



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux