Re: [PATCH v3 0/3] uio: fix potential crash bug

From: Hamish Martin
Date: Thu Jul 05 2018 - 23:31:48 EST


Hi Xiubo,

Thanks for your patch that addresses the regression found with my
earlier commit.

I will take your code and run it in our scenario that showed the bug
that led to my commit. Unfortunately I won't be able to get that done
until mid-next week. I intend to report back to you by July 13th.

Thanks,
Hamish M

On 07/06/2018 02:57 PM, xiubli@xxxxxxxxxx wrote:
> From: Xiubo Li <xiubli@xxxxxxxxxx>
>
> The V2 patch set maybe not post successfully, so post it again
> with one new updation.
>
> V2:
> - resend it with some small fix
>
> V3:
> - switch to use request_threaded_irq
>
>
> Xiubo Li (3):
> uio: use request_threaded_irq instead
> uio: change to use the mutex lock instead of the spin lock
> uio: fix crash after the device is unregistered
>
> drivers/uio/uio.c | 151 ++++++++++++++++++++++++++++++++++-----------
> include/linux/uio_driver.h | 2 +-
> 2 files changed, 115 insertions(+), 38 deletions(-)
>