[lkml]   [2007]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Question] Hooks for scheduler tracing (CFS)
    Mathieu Desnoyers <> writes:

    > [...]
    > The problem is also in _stp_print_flush, not *only* in relay code:
    > void _stp_print_flush (void)
    > ...
    > spin_lock(&_stp_print_lock);
    > ...
    > spin_unlock(&_stp_print_lock);
    > Those will turn into mutexes with -rt.

    Indeed, plus systemtap-generated locking code uses rwlocks,
    local_irq_save/restore or preempt_disable, in various places. Could
    someone point to a place that spells out what would be more
    appropriate way of ensuring atomicity while being compatible with -rt?

    - FChE
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-07-26 16:51    [W:0.019 / U:8.452 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site