lkml.org 
[lkml]   [2006]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: workqueue deadlock
    On Thu, Dec 07, 2006 at 11:47:01AM +0530, Srivatsa Vaddagiri wrote:
    > - Make it rw-sem

    I think rw-sems also were shown to hit deadlocks (recursive read-lock
    attempt deadlocks when a writer comes between the two read attempts by the same
    thread). So below suggestion only seems to makes sense ..

    > - Make it per-cpu mutex, which could be either:
    >
    > http://lkml.org/lkml/2006/11/30/110 - Ingo's suggestion
    > http://lkml.org/lkml/2006/10/26/65 - Gautham's work based on RCU
    >
    > In Ingo's suggestion, I really dont know if the task_struct
    > modifications is a good thing (to support recursive requirements).
    > Gautham's patches avoid modifications to task_struct, is fast but can
    > starve writers (who want to bring down/up a CPU).

    --
    Regards,
    vatsa
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-12-07 07:49    [W:0.025 / U:60.016 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site