Re: [RESEND PATCH] staging: tidspbridge: protect dmm_map properly
From: Felipe Contreras
Date: Fri Mar 11 2011 - 12:39:12 EST
On Fri, Mar 11, 2011 at 7:30 PM, Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:
> We need to protect not only the dmm_map list, but the individual
> map_obj's, otherwise, we might be building the scatter-gather list with
> garbage. So, use the existing proc_lock for that.
>
> I observed race conditions which caused kernel panics while running
> stress tests, also, Tuomas Kulve found it happening quite often in
> Gumstix Over. This patch fixes those.
>
> Cc: Tuomas Kulve <tuomas@xxxxxxxx>
> Signed-off-by: Felipe Contreras <felipe.contreras@xxxxxxxxx>
Omar, 2.6.38 is imminent, if this patch has any chance of getting in,
I think you would need to push it soon.
Cheers.
--
Felipe Contreras
--
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/