Module Name: src
Committed By: riastradh
Date: Sat Nov 6 23:29:04 UTC 2021
Modified Files:
src/share/man/man9: pslist.9
Log Message:
pslist(9): No need to serialize pserialize_perform any more.
So take it out of the mutex section.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man9/pslist.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/pslist.9
diff -u src/share/man/man9/pslist.9:1.18 src/share/man/man9/pslist.9:1.19
--- src/share/man/man9/pslist.9:1.18 Mon Jul 3 21:28:48 2017
+++ src/share/man/man9/pslist.9 Sat Nov 6 23:29:03 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: pslist.9,v 1.18 2017/07/03 21:28:48 wiz Exp $
+.\" $NetBSD: pslist.9,v 1.19 2021/11/06 23:29:03 riastradh Exp $
.\"
.\" Copyright (c) 2016 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -400,9 +400,10 @@ the memory allocated for it:
mutex_enter(&frobnitzem.lock);
PSLIST_WRITER_REMOVE(f, f_entry);
- pserialize_perform(&frobnitzem.psz);
mutex_exit(&frobnitzem.lock);
+ pserialize_perform(&frobnitzem.psz);
+
PSLIST_ENTRY_DESTROY(f, f_entry);
pool_put(&frobnitzem.pool, f);
.Ed