Re: [PATCH] change lock model in aio_put_req

From: mihailov ivan
Date: Thu Jun 07 2012 - 16:30:58 EST


>> From side - never changed, only we will can execute this call in
>> interrupt context. I understood what is works as designed but don't
>> understood why we can't imporve this call, it's 'fairly convention in
>> the kernel'?
>
> Changing this is simply not an improvement, it's just a change with no
> benefit. There's really no point.
>
okay, got it.

> Now, are you going to tell me that you want to call this function from
> interrupt context in some third party driver? What's the real
> motivation for this patch?
You are right, I'm supporting drivers which are calling this function
from interrupt context.
And I'm trying to find proper way to fix it.
It is clear that this patch is pointless in general case and
I'll try to avoid using this call from interrupt context.
Thanks for your help and patience.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/