lkml.org 
[lkml]   [2008]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: next-20081119: general protection fault: get_next_timer_interrupt()
    On Mon, 24 Nov 2008, Mike Anderson wrote:
    > Thomas Gleixner <tglx@linutronix.de> wrote:
    > > Yeah, block could it be as well. Jens, Mike ?
    >
    > I added a comment to bug 12020 on Thursday about a few other systems that
    > where seeing the signature shown in bug 12020. It appeared from debug that
    > there where a few paths that where adding timers for requests that where
    > not expected.
    >
    > http://bugzilla.kernel.org/show_bug.cgi?id=12020
    >
    > It would be good to know if the debug patch below effects your problem as while.
    >
    > If it does we need to investigated a solution to resolve not adding a
    > timer for these requests.

    Wrong.

    The problem is not a timer which is armed in the first place.

    The problem is an armed timer which is not canceled before the data
    structure which contains it is freed.

    So not arming the timer will probably prevent this particular scan
    problem, but it does not solve the general wreckage of freeing a data
    structure with a possibly armed timer in it.

    You need to fix the code path which frees the data structure which
    contains the timer and cancel the timer _before_ freeing the data
    structure.

    Thanks,

    tglx


    \
     
     \ /
      Last update: 2008-11-24 23:39    [W:7.860 / U:0.224 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site