[lkml]   [2009]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [tip:core/debug] debug lockups: Improve lockup detection

    * Andrew Morton <> wrote:

    > #ifndef trigger_all_cpu_backtrace
    > +#ifdef CONFIG_SMP
    > +#warning This architecture is missing a trigger_all_cpu_backtrace() implementation
    > +#endif
    > #define trigger_all_cpu_backtrace() do { } while (0)
    > #endif

    I think a better solution will be to make this function return 1 if
    it generated a backtrace.

    That way we can fall back to the generic schedule_work based

    Albeit the best and cleanest solution would be to implement a
    workqueue based trigger_all_cpu_backtrace() __weak variant and throw
    away the workqueue bits from sysrq.c.


     \ /
      Last update: 2009-08-02 22:49    [W:0.021 / U:15.132 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site