FreeBSD Bugzilla – Attachment 231174 Details for
Bug 261338
[PATCH] kernel panic "bad pte" under heavy CPU load on 12.2 and 12.3 (i386)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (i386 & amd64)
mp_x86.c.i386_amd64.patch (text/plain), 578 bytes, created by
Dmitry K.
on 2022-01-20 11:58:50 UTC
(
hide
)
Description:
Proposed patch (i386 & amd64)
Filename:
MIME Type:
Creator:
Dmitry K.
Created:
2022-01-20 11:58:50 UTC
Size:
578 bytes
patch
obsolete
>--- mp_x86.c 2022-01-20 18:48:29.163349000 +0700 >+++ mp_x86.c 2022-01-20 18:51:14.654156000 +0700 >@@ -1669,14 +1669,19 @@ > uint32_t generation; > int cpu; > >+#ifdef __i386__ >+ sched_pin(); >+#endif >+#ifdef __amd64__ >+ KASSERT(curthread->td_pinned > 0, ("curthread not pinned")); >+#endif >+ > /* > * It is not necessary to signal other CPUs while booting or > * when in the debugger. > */ > if (kdb_active || panicstr != NULL || !smp_started) > goto local_cb; >- >- KASSERT(curthread->td_pinned > 0, ("curthread not pinned")); > > /* > * Check for other cpus. Return if none.
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 261338
:
231160
|
231161
|
231173
| 231174 |
231245