NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/47114 CVS commit: src
The following reply was made to PR kern/47114; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/47114 CVS commit: src
Date: Wed, 12 Apr 2023 06:35:41 +0000
Module Name: src
Committed By: riastradh
Date: Wed Apr 12 06:35:41 UTC 2023
Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: spa.c
src/sys/kern: kern_mutex.c
src/sys/rump/librump/rumpkern: locks.c locks_up.c
src/sys/sys: mutex.h
Log Message:
kern: Nix mutex_owner.
There is no valid reason to use this except in assertions of the form
KASSERT(mutex_owner(lock) == curlwp),
which is more obviously spelled as
KASSERT(mutex_owned(lock)).
Exception: There's one horrible kludge in zfs that abuses this, which
should be eliminated.
XXX kernel revbump -- deleting symbol
PR kern/47114
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/spa.c
cvs rdiff -u -r1.104 -r1.105 src/sys/kern/kern_mutex.c
cvs rdiff -u -r1.83 -r1.84 src/sys/rump/librump/rumpkern/locks.c
cvs rdiff -u -r1.11 -r1.12 src/sys/rump/librump/rumpkern/locks_up.c
cvs rdiff -u -r1.26 -r1.27 src/sys/sys/mutex.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index