From: claudio Date: Thu, 25 May 2023 07:45:33 +0000 (+0000) Subject: Do not use wakeup_proc() outside of the sleep machinery. Just use X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4f92c6a3f15930d91b3488d8bb79d1e128fa5386;p=openbsd Do not use wakeup_proc() outside of the sleep machinery. Just use wakeup_one(). OK mpi@ --- diff --git a/sys/kern/vfs_sync.c b/sys/kern/vfs_sync.c index ff1b072ee85..326fe9e9f0e 100644 --- a/sys/kern/vfs_sync.c +++ b/sys/kern/vfs_sync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_sync.c,v 1.68 2022/08/14 01:58:28 jsg Exp $ */ +/* $OpenBSD: vfs_sync.c,v 1.69 2023/05/25 07:45:33 claudio Exp $ */ /* * Portions of this code are: @@ -245,7 +245,7 @@ int speedup_syncer(void) { if (syncerproc) - wakeup_proc(syncerproc, &syncer_chan); + wakeup_one(&syncer_chan); if (rushjob < syncdelay / 2) { rushjob += 1; stat_rush_requests += 1;