Re: [PATCH] staging:rts_pstor:modify thread synchronization flow

From: wwang
Date: Wed Aug 03 2011 - 21:57:14 EST


On 2011年08月03日 23:39, Greg KH wrote:
> On Wed, Aug 03, 2011 at 04:00:25PM +0800, wei_wang@xxxxxxxxxxxxxx wrote:
>> From: wwang <wei_wang@xxxxxxxxxxxxxx>
>>
>> Using different completion variables to synchronize different kernel threads
>>
>> Signed-off-by: wwang <wei_wang@xxxxxxxxxxxxxx>
> Is this fixing a bug that is seen now, or is this just a nice "cleanup"
> patch that can wait for the 3.2 kernel release?
>
> thanks,
>
> greg k-h
This patch fix a bug that may cause memory leak when driver
disconnected. This is not a very urgent bug. Because with the default
setting, driver disconnectting routine won't be called except when Linux
is shut down. But if the option auto_delink_en is set, a small number of
memory would leak out after memory card unplugged.

Best regards,
wwang
--
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/