lkml.org 
[lkml]   [2011]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@nokia.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@kulve.fi>
    > Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
    > Signed-off-by: Omar Ramirez Luna <omar.ramirez@ti.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


    \
     
     \ /
      Last update: 2011-03-12 18:43    [W:0.044 / U:119.116 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site