FreeBSD Bugzilla – Attachment 149752 Details for
Bug 194513
zfs recv hangs in state kmem arena
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
lowmem patch I attempted
lowmem-pat.txt (text/plain), 566 bytes, created by
James Van Artsdalen
on 2014-11-23 19:30:42 UTC
(
hide
)
Description:
lowmem patch I attempted
Filename:
MIME Type:
Creator:
James Van Artsdalen
Created:
2014-11-23 19:30:42 UTC
Size:
566 bytes
patch
obsolete
>Index: kern_malloc.c >=================================================================== >--- kern_malloc.c (revision 274212) >+++ kern_malloc.c (working copy) >@@ -53,6 +53,7 @@ > #include <sys/systm.h> > #include <sys/kdb.h> > #include <sys/kernel.h> >+#include <sys/eventhandler.h> > #include <sys/lock.h> > #include <sys/malloc.h> > #include <sys/mutex.h> >@@ -673,8 +674,12 @@ > static void > kmem_reclaim(vmem_t *vm, int flags) > { >- >+#if 1 >+ EVENTHANDLER_INVOKE(vm_lowmem, 0); >+ uma_reclaim(); >+#else > pagedaemon_wakeup(); >+#endif > } > > CTASSERT(VM_KMEM_SIZE_SCALE >= 1);
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 194513
:
148687
|
149075
| 149752 |
149753
|
163702
|
171704