From 4f92c6a3f15930d91b3488d8bb79d1e128fa5386 Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 25 May 2023 07:45:33 +0000 Subject: [PATCH] Do not use wakeup_proc() outside of the sleep machinery. Just use wakeup_one(). OK mpi@ --- sys/kern/vfs_sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1