This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: FW: locking timeout error ?
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: "Stone, Joshua I" <joshua dot i dot stone at intel dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Fri, 6 Jan 2006 23:18:12 -0500
- Subject: Re: FW: locking timeout error ?
- References: <CBDB88BFD06F7F408399DBCF8776B3DC0606B0CA@scsmsx403.amr.corp.intel.com>
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