FreeBSD Bugzilla – Attachment 206061 Details for
Bug 239351
panic: spin lock held too long under heavy load (net/wireguard affected, SOLVED: Upgrading BIOS to 1.24)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
VOP_UNSET_TEXT debug patch
diff (text/plain), 1.17 KB, created by
Mark Johnston
on 2019-07-25 16:03:07 UTC
(
hide
)
Description:
VOP_UNSET_TEXT debug patch
Filename:
MIME Type:
Creator:
Mark Johnston
Created:
2019-07-25 16:03:07 UTC
Size:
1.17 KB
patch
obsolete
>diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h >index 92615c781bb0..c30d1edec9ee 100644 >--- a/sys/sys/vnode.h >+++ b/sys/sys/vnode.h >@@ -834,27 +834,30 @@ void vop_rename_fail(struct vop_rename_args *ap); > > #define VOP_LOCK(vp, flags) VOP_LOCK1(vp, flags, __FILE__, __LINE__) > >-#ifdef INVARIANTS >+#ifdef INVARIANTS > #define VOP_ADD_WRITECOUNT_CHECKED(vp, cnt) \ > do { \ > int error_; \ > \ > error_ = VOP_ADD_WRITECOUNT((vp), (cnt)); \ >- MPASS(error_ == 0); \ >+ VNASSERT(error_ == 0, (vp), ("VOP_ADD_WRITECOUNT returned %d", \ >+ error_)); \ > } while (0) > #define VOP_SET_TEXT_CHECKED(vp) \ > do { \ > int error_; \ > \ > error_ = VOP_SET_TEXT((vp)); \ >- MPASS(error_ == 0); \ >+ VNASSERT(error_ == 0, (vp), ("VOP_SET_TEXT returned %d", \ >+ error_)); \ > } while (0) > #define VOP_UNSET_TEXT_CHECKED(vp) \ > do { \ > int error_; \ > \ > error_ = VOP_UNSET_TEXT((vp)); \ >- MPASS(error_ == 0); \ >+ VNASSERT(error_ == 0, (vp), ("VOP_UNSET_TEXT returned %d", \ >+ error_)); \ > } while (0) > #else > #define VOP_ADD_WRITECOUNT_CHECKED(vp, cnt) VOP_ADD_WRITECOUNT((vp), (cnt))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239351
:
205949
|
206031
|
206032
|
206036
|
206043
|
206045
|
206046
|
206050
|
206051
|
206056
| 206061 |
206063