Thread (24 messages) 24 messages, 9 authors, 2007-07-26

Re: [Question] Hooks for scheduler tracing (CFS)

From: Arnaldo Carvalho de Melo <hidden>
Date: 2007-07-26 15:18:07
Also in: lkml

Frank Ch. Eigler wrote:
Mathieu Desnoyers [off-list ref] writes:

  
quoted
[...]
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?
  
https://ols2006.108.redhat.com/2007/Reprints/rostedt-Reprint.pdf

And his slides too, haven't checked if they are already only at the OLS site.

- Arnaldo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help