FreeBSD Bugzilla – Attachment 18111 Details for
Bug 32659
[vm] [patch] vm and vnode leak with vm.swap_idle_enabled=1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 701 bytes, created by
gemini
on 2001-12-10 00:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
gemini
Created:
2001-12-10 00:20:00 UTC
Size:
701 bytes
patch
obsolete
>--- vm_glue.c.orig Wed Nov 21 02:43:57 2001 >+++ vm_glue.c Fri Dec 7 16:42:09 2001 >@@ -482,17 +482,14 @@ > } > vm_map_unlock(&vm->vm_map); > /* >- * If the process has been asleep for awhile and had >- * most of its pages taken away already, swap it out. >+ * All possibilities of sparing the process its >+ * grim fate have been exhausted above, so bow >+ * to the inevitable now and swap it out. > */ >- if ((action & VM_SWAP_NORMAL) || >- ((action & VM_SWAP_IDLE) && >- (p->p_slptime > swap_idle_threshold2))) { >- swapout(p); >- vmspace_free(vm); >- didswap++; >- goto retry; >- } >+ swapout(p); >+ vmspace_free(vm); >+ didswap++; >+ goto retry; > } > } > /*
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 32659
: 18111