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: FW: locking timeout error ?


Hi -

joshua.i.stone wrote:

> Actually, I meant to ask you about this.  Is it safe to be waiting so
> long for a lock if the probe is in interrupt context?  If I understand
> it, the lock will wait about MAXTRYLOCK*TRYLOCKDELAY nanoseconds = 100
> microseconds.  That seems like an awfully long time to poll the lock.

The current figures are not meant as definitive.  It may be wise to
wait less if in_interrupt().  Do you have alternate numbers to suggest?


- FChE


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