artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8155e8
)
Do not use wakeup_proc() outside of the sleep machinery. Just use
author
claudio
<claudio@openbsd.org>
Thu, 25 May 2023 07:45:33 +0000
(07:45 +0000)
committer
claudio
<claudio@openbsd.org>
Thu, 25 May 2023 07:45:33 +0000
(07:45 +0000)
wakeup_one().
OK mpi@
sys/kern/vfs_sync.c
patch
|
blob
|
history
diff --git
a/sys/kern/vfs_sync.c
b/sys/kern/vfs_sync.c
index
ff1b072
..
326fe9e
100644
(file)
--- a/
sys/kern/vfs_sync.c
+++ b/
sys/kern/vfs_sync.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: vfs_sync.c,v 1.6
8 2022/08/14 01:58:28 jsg
Exp $ */
+/* $OpenBSD: vfs_sync.c,v 1.6
9 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;