[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110312173626.GC24981@kroah.com>
Date: Sat, 12 Mar 2011 09:36:26 -0800
From: Greg KH <greg@...ah.com>
To: Omar Ramirez Luna <omar.ramirez@...com>
Cc: l-m <linux-kernel@...r.kernel.org>,
Felipe Contreras <felipe.contreras@...ia.com>,
l-o <linux-omap@...r.kernel.org>,
Ohad Ben-Cohen <ohad@...ery.com>,
Fernando Guzman Lugo <fernando.lugo@...com>,
Tuomas Kulve <tuomas@...ve.fi>
Subject: Re: [PATCH] staging: tidspbridge: protect dmm_map properly
On Fri, Mar 11, 2011 at 06:29:06PM -0600, Omar Ramirez Luna wrote:
> Hi Greg,
>
> Please consider to apply this patch in the staging tree, as the
> description says it fixes a crash in tidspbridge driver, this bug
> was already present but it seems to have surfaced by recent tests
> made by Felipe and Tuomas.
>
> It is an urgent fix for 2.6.38.
Heh, it's funny to see such a "urgent" fix take so long to get to me :)
Is it also applicable for .37?
> More on this discussion:
> http://www.gossamer-threads.com/lists/linux/kernel/1351446
>
> Thanks,
> - omar
>
> From: Felipe Contreras <felipe.contreras@...ia.com>
>
> 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@...ve.fi>
> Signed-off-by: Felipe Contreras <felipe.contreras@...ia.com>
> Signed-off-by: Omar Ramirez Luna <omar.ramirez@...com>
How about I send it to Linus for .39 and then add it to the .38-stable
tree when it comes out?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists