diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-01-15 14:20:33 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-01-15 14:20:33 +0000 |
| commit | bf07c922ac244da15e418b92ffedebc04f9a8ce6 (patch) | |
| tree | 53b9237bb122b82247c7eaa659712fe6c98aa7d1 /sys/kern | |
| parent | 6a29486b530582ec45718eb70abc35318fbd8377 (diff) | |
Notes
Diffstat (limited to 'sys/kern')
| -rw-r--r-- | sys/kern/kern_mutex.c | 4 | ||||
| -rw-r--r-- | sys/kern/subr_turnstile.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index 2c5217b8136d..6167185d0025 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -433,9 +433,9 @@ _mtx_lock_spin(struct mtx *m, int opts, const char *file, int line) /* Give interrupts a chance while we spin. */ critical_exit(); while (m->mtx_lock != MTX_UNOWNED) { - if (i++ < 1000000) + if (i++ < 10000000) continue; - if (i++ < 6000000) + if (i++ < 60000000) DELAY(1); #ifdef DDB else if (!db_active) diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c index 2c5217b8136d..6167185d0025 100644 --- a/sys/kern/subr_turnstile.c +++ b/sys/kern/subr_turnstile.c @@ -433,9 +433,9 @@ _mtx_lock_spin(struct mtx *m, int opts, const char *file, int line) /* Give interrupts a chance while we spin. */ critical_exit(); while (m->mtx_lock != MTX_UNOWNED) { - if (i++ < 1000000) + if (i++ < 10000000) continue; - if (i++ < 6000000) + if (i++ < 60000000) DELAY(1); #ifdef DDB else if (!db_active) |
