Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > muc.lists.freebsd.current > #70181
| From | Dag-Erling Smørgrav <des@FreeBSD.org> |
|---|---|
| Newsgroups | muc.lists.freebsd.current |
| Subject | Re: rms_rlock with non-sleepable locks held |
| Date | 2026-05-16 16:13 +0200 |
| Organization | Newsgate at muc.de e.V. |
| Message-ID | <861pfbe93h.fsf@ltc.des.dev> (permalink) |
| References | <> |
Dag-Erling Smørgrav <des@FreeBSD.org> writes:
> Konstantin Belousov <kostikbel@gmail.com> writes:
> > --- a/sys/kern/vfs_subr.c
> > +++ b/sys/kern/vfs_subr.c
> > @@ -6509,7 +6509,7 @@ vop_read_post(void *ap, int rc)
> > struct vop_read_args *a = ap;
> >
> > if (!rc) {
> > - VFS_KNOTE_LOCKED(a->a_vp, NOTE_READ);
> > + VN_KNOTE_LOCKED(a->a_vp, NOTE_READ);
> Did you mean to use VN_KNOTE_UNLOCKED() here...
Probably not, as that resulted in a panic...
DES
--
Dag-Erling Smørgrav - des@FreeBSD.org
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Back to muc.lists.freebsd.current | Previous | Next | Find similar
Re: rms_rlock with non-sleepable locks held Dag-Erling Smørgrav <des@FreeBSD.org> - 2026-05-16 16:13 +0200
csiph-web