]> sourceware.org Git - systemtap.git/commit
PR11575: lengthen TRYLOCKDELAY
authorFrank Ch. Eigler <fche@elastic.org>
Thu, 6 May 2010 17:04:11 +0000 (13:04 -0400)
committerFrank Ch. Eigler <fche@elastic.org>
Thu, 6 May 2010 17:04:11 +0000 (13:04 -0400)
commit26f62be4d9b2cfc975a07b96b988da2a62c30b71
tree0f60c6e736aea48e15b62bfc05a91c7f22fe4408
parent89bc1a6a568a40ea18f7b3325a2dbd96b0da400c
PR11575: lengthen TRYLOCKDELAY

Change default timeout for global variable locks to apprx. 1 ms,
in 10us chunks.  TRYLOCKDELAY now measures microseconds.

* translate.cxx (translate_pass): Change TRYLOCKDELAY and
  MAXTRYLOCK default values.
* runtime/probe_lock.h (stp_lock_probe): Use udelay() rather than
  ndelay().
* runtime/time.c (STP_TIMELOCK*): New macros just for time seqlock
  timeout purposes.  Expected contention is negligible here.
runtime/probe_lock.h
runtime/time.c
translate.cxx
This page took 0.028666 seconds and 5 git commands to generate.