This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Begin probes & irqs disabled?


Mike Mason <mmlnx@us.ibm.com> writes:

> Do begin probes always run with irqs disabled?  

Yes, the same way as all other probes.

> Is there any way to run code with irqs *enabled* in a systemtap
> script?  I'm trying to use a function in embedded C that has the
> might_sleep() check.

We haven't explored all the possible implications of allowing probes
to sleep.  It's clear that general kprobes must not be allowed to do
that.  It's not clear whether to relax the others.

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]