Re: [PATCH v3 2/3] uio: change to use the mutex lock instead of the spin lock

2018-07-05 Thread Hamish Martin
Looks ok to me. Reviewed-by: Hamish Martin On 07/06/2018 02:57 PM, xiu...@redhat.com wrote: > From: Xiubo Li > > We are hitting a regression with the following commit: > > commit a93e7b331568227500186a465fee3c2cb5dffd1f > Author: Hamish Martin > Date: Mon May 14 13:32:23 2018 +1200 > >

[PATCH v3 2/3] uio: change to use the mutex lock instead of the spin lock

2018-07-05 Thread xiubli
From: Xiubo Li We are hitting a regression with the following commit: commit a93e7b331568227500186a465fee3c2cb5dffd1f Author: Hamish Martin Date: Mon May 14 13:32:23 2018 +1200 uio: Prevent device destruction while fds are open The problem is the addition of spin_lock_irqsave in uio_wri