]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid resource deadlocks when one domain has exhausted its memory. Attempt
authormarkj <markj@FreeBSD.org>
Thu, 6 Sep 2018 19:28:52 +0000 (19:28 +0000)
committermarkj <markj@FreeBSD.org>
Thu, 6 Sep 2018 19:28:52 +0000 (19:28 +0000)
commitf193d69fe6ac85a942bdaaa5c76c522e7dddc288
tree357c8c461a1eb6473fd6ee4db017cce80b66f064
parentd53d3cd4824dd59c71fe7ef22956fe7e4b054b67
Avoid resource deadlocks when one domain has exhausted its memory. Attempt
other allowed domains if the requested domain is below the minimum paging
threshold.  Block in fork only if all domains available to the forking
thread are below the severe threshold rather than any.

Submitted by: jeff
Reported by: mjg
Reviewed by: alc, kib, markj
Approved by: re (rgrimes)
Differential Revision: https://reviews.freebsd.org/D16191
sys/sys/vmmeter.h
sys/vm/vm_domainset.c
sys/vm/vm_domainset.h
sys/vm/vm_fault.c
sys/vm/vm_glue.c
sys/vm/vm_page.c
sys/vm/vm_pageout.h