FreeBSD Bugzilla – Attachment 236885 Details for
Bug 256507
Apparent kernel memory leak in 12-STABLE/13.1-Release
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
possible bug fix
diff (text/plain), 593 bytes, created by
Mark Johnston
on 2022-09-27 18:42:20 UTC
(
hide
)
Description:
possible bug fix
Filename:
MIME Type:
Creator:
Mark Johnston
Created:
2022-09-27 18:42:20 UTC
Size:
593 bytes
patch
obsolete
>diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c >index 6cdde80bdb8b..e25689ff3cd1 100644 >--- a/sys/vm/vm_page.c >+++ b/sys/vm/vm_page.c >@@ -4112,7 +4112,12 @@ vm_page_mvqueue(vm_page_t m, const uint8_t nqueue, const uint16_t nflag) > if (nqueue == PQ_ACTIVE) > new.act_count = max(old.act_count, ACT_INIT); > if (old.queue == nqueue) { >- if (nqueue != PQ_ACTIVE) >+ /* >+ * There is no need to requeue pages already in the >+ * active queue. >+ */ >+ if (nqueue != PQ_ACTIVE || >+ (old.flags & PGA_ENQUEUED) == 0) > new.flags |= nflag; > } else { > new.flags |= nflag;
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 256507
:
225666
|
234961
|
234965
|
234966
|
236137
|
236885
|
236921
|
237639
|
237658
|
237828