This is the mail archive of the systemtap@sources.redhat.com 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: Experiences with cvs runtime


Hi -

hunt wrote:

> [...]
> > - many runtime (and one relayfs) files use smp_processor_id() without
> > disabling preemption
> 
> [...]
> We should probably disable preemption during all probes. 

Yes, quite possibly, but I don't understand all the implications of
putting a preempt_disable/enable() into strategic places within the
kprobes layer or into the generated code.


> Unless the script compiler can guarantee that scripts won't call
> something that tries to reschedule during a probe.  [...]

The translator would certainly not emit any code directly that intends
to reschedule.  Probes are supposed to never block.


- FChE

Attachment: pgp00000.pgp
Description: PGP signature


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